2

Background :

I developed a python desktop application which is run on the top of Ubuntu 12.04 and it is running in full screen mode. I used gnome-fallback as a Ubuntu Desktop.

Question :

My problem is delete top and bottom Gnome panels permanently and I know how to do it from gui itself (ALT + Right Click). But I need to do it from the commands.

Anyone have an idea about that.

Thanks in advance.

Janith Chinthana
  • 393
  • 1
  • 7
  • 23

4 Answers4

4

Install dconf-tools:

sudo apt-get install dconf-tools

Backup your panel configuration:

dconf dump /org/gnome/gnome-panel/ > /some/location/backup.xml  

Now remove the panels:

gsettings set org.gnome.gnome-panel.layout toplevel-id-list [""]

If you want to restore them later use:

cat /some/location/backup.xml | dconf load /org/gnome/gnome-panel/

NOTE: This doesn't seem to hold after a reboot. Further research shows this is because several dconf schemas are still in place. I have yet to figure out how to remove these.

Seth
  • 59,332
1

The settings are stored in dconf: you should use dconf-editor (from dconf-tools) to find them and the GSettings API to edit them from your script/software.

Good programming and comment under here if you have more questions or problems. ;-D

0

Instead you can make your own session without gnome bars. I made my own session with awn, I login to my session without gnome panel. There is a tutorial in below link about how to do it. I must warn you about hidden .desktop extension files in "/usr/share/xsessions/" Nautilus blind to such extension due to a bug, There would be "~" ended backup files that confuses you. I stuck in login screen once due to picking up wrong file. I advise you to use command line ls to list folder entries. You are warned. Link

kenn
  • 5,232
0

install dconf-tools

sudo apt-get install dconf-tools

open the program by

dconf-editor

go to Desktop-->Unity-->Panel

if you want to add a prgram add that

,'program name'

and this program make you edit in gnome