Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I use ubuntu 12.10 on a touchscreen with a digitizer pen to take notes and while I'm doing this I would rather to have all my desktop for this purpose. On the other hand while doing other stuff I would switch a lot between apps. So I want to make a shortcut on my keyboard to toggle the status of unity panel. I've tried the commands suggested here: Shortcut to change Launcher 'Hide' setting

gconftool-2 --type int --set "/apps/compiz-1/plugins/unityshell/screen0/options/launcher_hide_mode" 2

but it seems like the commands do not work. I installed the gconf-editor and changed the value of the variable manually, but that also doesn't help. The commands change the value in the gconf-editor though, but the panel is still not hidden. Is there something that I am missing?

I also changed the variable type to string and boolean, but still no success.

PS: I couldn't leave a comment there, so I had to ask it in a new question.

EDIT:

same result for the command

dconf write /org/gnome/gnome-panel/layout/toplevels/bottom-panel/auto-hide true

from How do I hide the panels in fallback mode using the command line?

share|improve this question
    
Maybe a reason: Ubuntu has switched (or better: is switching) from gconf to dconf. IF it is still a usable setting install dconf-editor and see if it is in there (gsettings is used for dconf) –  Rinzwind Mar 27 '13 at 18:39
    
I also tried gsetting, but the only useful command I found was this: 'gsettings set com.canonical.Unity2d.Launcher hide-mode 1', which tells me it doesn't recognize com.canonical. –  Keivan Mar 27 '13 at 18:46
add comment

1 Answer

up vote 6 down vote accepted

For 12.10

As Rinzwind mentioned in the comments, Ubuntu has migrated its settings from gconf to gsettings. The commands in the question you linked is valid for 12.04 and earlier, but not for 12.10 onwards.

The updated commands for hiding the Unity launcher would be:

gsettings set org.compiz.unityshell:/org/compiz/profiles/unity/plugins/unityshell/ launcher-hide-mode 1

And for unhiding the Unity launcher:

gsettings set org.compiz.unityshell:/org/compiz/profiles/unity/plugins/unityshell/ launcher-hide-mode 0
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.