Modificare il menu di Fluxbox automaticamente
Andando a leggere il file README.Debian in /usr/share/doc/fluxbox ho finalmente trovato la soluzione al problema:
fluxbox for Debian
——————————–Fluxbox is a window manager, that forked from “blackbox” after a long
period of blackbox inactivity.Currently, fluxbox supports the debian menu system, -however-, to use
user-menus, you need to alter the ~/.fluxbox/init file.For using debian-menu You should set in Your ~/.fluxbox/init the
session.menuFile option into value:session.menuFile: ~/.fluxbox/fluxbox-menu
- if You want to manage the menu by starting update-menus by usersession.menuFile: /etc/X11/fluxbox/fluxbox-menu
- if You want to see the menu that is refreshed automatically as
soon as programs are installed/deleted.You may also copy the file /etc/X11/fluxbox/fluxbox.menu-user
into Your directory ~/.fluxbox and edit it additionally.
Anche se non è più disponibile fluxbox-generate_menu possiamo utilizzare adesso update-menus. La cosa da fare è semplice. Dapprima modifichiamo ~/.fluxbox/init e modifichiamo session.menuFile:
session.menuFile: ~/.fluxbox/fluxbox-menu
Fatto ciò diamo il comando:
$ update-menus
poi basta copiare ~/.fluxbox/fluxbox-menu in ~/.fluxbox/menu per editarlo con il comando fluxmenu.
Poi dobbiamo ripristinare ~/.fluxbox/init per impostare
session.menuFile: ~/.fluxbox/menu
Ogni volta che vogliamo modificare automaticamente il menu basterà dare il comando update-menus e poi andare a modificare menu.













Tags:
Categorie: 






