u-ryo's blog

various information for coding...

Category: Unity

Controlling Unity on Ubuntu Through CLI

| Comments

Clock on the menu bar

1
2
3
4
$ dconf write /com/canonical/indicator/datetime/show-date "true"
$ dconf write /com/canonical/indicator/datetime/show-day "true"
$ dconf write /com/canonical/indicator/datetime/show-seconds "true"
$ dconf write /com/canonical/indicator/datetime/show-year "true"

battery on the menu bar

1
2
$ dconf write /com/canonical/indicator/power/show-time "true"
$ dconf write /com/canonical/indicator/power/show-percentage "true"

"En" on the menu bar(default language selection)

1
$ dconf write /org/gnome/desktop/input-sources/current "uint32 1"

Wallpaper

1
$ dconf write /org/gnome/desktop/background/picture-uri "'file:///usr/share/backgrounds/wallpaper_univcoop.jpg'"

The way to suppress other icons on the launcher

1
2
$ dconf write /com/canonical/unity/launcher/favorites "['application://firefox.desktop']"
$ dconf read /com/canonical/unity/launcher/favorites

forbidden hud

1
$ dconf write /org/compiz/integrated/show-hud "['disabled']"

To suppress remote content search

1
$ dconf write /com/canonical/unity/lenses/remote-content-search "'none'"

Supress auto-mount

1
2
$ dconf write /org/gnome/desktop/media-handling/automount "'false'"
$ dconf write /org/gnome/desktop/media-handling/automount-open "'false'"