lunes, 27 de septiembre de 2010

Quitar el último panel de Gnome - Remove the last Gnome Panel

Introducción
Fuente: http://www.glx-dock.org/ww_page.php?p=Remove%20the%20last%20Gnome%20Panel&lang=en

http://uppix.net/9/1/b/363ce8c1f531d2083a7734dd42b02tt.jpg

No estoy seguro de que si se dio cuenta, pero hoy en día El Cairo-Dock puede hacer casi cualquier cosa (vista del panel, todo tipo de applets, etc ..) por lo que ya no necesita las barras de Gnome!El único problema es: Gnome por alguna razón no le permitirá deshacerse de la barra de herramientas anterior. ¿Por qué? No estoy seguro ...Así que después de dock principal a su gusto con el fin de colocar el panel "viejo Gnome, que suelen terminar con algo como lo siguiente:
http://uppix.net/e/e/1/893b0dea4a10a1d9353a13edf3ba7t.jpg


2 solutions available:
      1. Do not launch the Gnome-panel at startup : that's the most radical ... However you can then forget about the nice shortcuts such as ALT+F2 ... (still the Gmenu applet with its middle-click can easily replace that shortcut )
      2. Hide the last Gnome-panel in order to maintain the shortcuts.


METHOD 1 : Do not launch the Gnome-panel at startup

This is very easy to achieve :
- Type ALT+F2 (Enjoy this is probably the last time you can do it )
- Type : gconf-editor
- Go to the key "/desktop/gnome/session" and edit the key "required_components_list" :
http://uppix.net/c/0/8/b8f3c7b954766ca9f0e7568b3b349tt.jpg

- Remove "panel" from the list:
http://uppix.net/b/a/0/39ecb339e4064349d771d092e1cfett.jpg

- Logout from your session and login again and that's it: No more gnome panel ... no ALT+F2 either

METHOD 2 : Hide the last Gnome-panel

- Make sure you only have one panel ( Right click the bottom panel and select Delete this panel)
- Edit the last panel's properties (Right Click + 'Properties')
- In the tab 'General', reduce the size to its minimum (the value will depend on your resolution)
- Tick the option 'AutoHide' :
http://uppix.net/6/a/6/ff81f61703a24362c26424978d22e.png

- In the tab 'Background', select 'Solid Color' and set the cursor to 'Transparent':
http://uppix.net/b/5/0/4ec86ee3db19d78356cca43ffc363.png


At this stage you should have something like that:
http://uppix.net/1/7/a/3ed96749476dabd5c7c15bd0f5feftt.jpg


If you are, like me, using Compiz you will have to get rid of the shadow under the panel:
- Launch the Compiz Configuration Manager (ALT+F2 and type ccsm) ... If it is not installed click here: apt://compizconfig-settings-manager
- In 'Windows Decoration'/'Windows Shadow???', replace 'any' with 'any & !(name=gnome-panel)':
http://uppix.net/c/6/1/50218d444852a553cb297ab6a7224tt.jpg

- Click on 'Back' and 'Close'

The shadow has gone! ... The last thing to do is to visit gconf-editor to definitely hide the panel:

- ALT+F2 and type gconf-editor
- Go to the key '/apps/panel/toplevels', you should see and entry named top_panel_screen0 or panel_0 (the '0' may change depending on your configuration)
- Modify the 'auto_hide_size' value to 1: this is the size of the br once folded (hidden).
- Modify the 'hide_delay' value to 0 (default is 300): that is the time before the panel will hide.
- Modify the 'unhide_delay' value to 100000 (= 100 seconds) : this is the time before the panel will unhide.

http://uppix.net/6/f/1/94a4a864d1134edc67fd46e734244tt.jpg


Et voila! : Bye bye gnome-panel !! You can now enjoy you new Desktop (with all the keyboard shortcuts active) :

http://uppix.net/a/0/7/e7301d0efa217fc7bfe4601f43fc5tt.jpg


.