Gnome

GSettings

List schemas. Add seconds in the calendar clock. Change desktop background.

gsettings list-recursively | grep clock
gsettings list-recursively org.gnome.desktop.interface

gsettings get org.gnome.desktop.interface clock-show-seconds
gsettings set org.gnome.desktop.interface clock-show-seconds true

gsettings get org.gnome.desktop.background picture-uri
gsettings set org.gnome.desktop.background picture-uri 'file:///home/guillaume/Pictures/futurama.jpg'

Desktop menu

Application example

Create file /usr/local/bin/example.sh.

#!/bin/bash

typeset DATE=$(date +%x)
choosen_date=$(zenity --calendar --text "Pick a day" --title "Choose a date")
[[ "${choosen_date}" != "${DATE}" ]] && DATE="${choosen_date}"
zenity --info --text="You chose ${DATE}"

Desktop file

Create desktop file ~/.local/share/applications/myapp.desktop.

[Desktop Entry]
Type=Application
Encoding=UTF-8
Name=My App
Comment=My wonderful application
Exec=/usr/local/bin/example.sh
Icon=/usr/share/icons/gnome/48x48/actions/system-run.png
Terminal=false
StartupNotify=true
Categories=GNOME;GTK;Utility;

Note

To be available by all users, use /usr/share/applications/ directory.

Screenshot

../_images/guisam_menu400.png

Gnome sub-menu with applications launcher