samedi 21 février 2015

Changing themes and hot-corner settings from command-line [on hold]

I want to change the theme and hot-corner settings on my Elementary Luna (built on Ubuntu 12.04 "Precise") from the commandline.


With what command can I do this? I know how to make the changes from the GUI. Is there a way to capture settings made that way to feed into the commandline command?


There is a partial answer here. The following can be an answer to my own question, once the question is put off hold/reopened*:


The command to use is 'gsettings` and the actual settings to use you can find by using:



dconf watch /


in the terminal, while you adjust the settings. You get a bunch of statements like this:



/org/gnome/desktop/wm/preferences/theme
'elementary'

/org/pantheon/desktop/gala/behavior/hotcorner-bottomleft
'custom-command'

/org/pantheon/desktop/gala/behavior/hotcorner-bottomright
'none'

/org/pantheon/desktop/gala/behavior/hotcorner-custom-command
'xset dpms force off'


You want to reformat these lines into commands like this:



gsettings set org.gnome.desktop.wm.preferences theme 'elementary'
gsettings set org.pantheon.desktop.gala.behavior hotcorner-custom-command 'xset dpms force off'
gsettings set org.pantheon.desktop.gala.behavior hotcorner-bottomleft 'custom-command'

Aucun commentaire:

Enregistrer un commentaire