old:linux:openbox
Debian-Menu
Zusätzliche Einträge ins Opebbox-Debian-Menu machen
Verzeichnis ~/.menu anlegen und dort alle neuen Programme als einzele files anlegen.
Bsp.free42, hp67, Maxima, Firefox
free42 cd .menu vi hp42s ?package(local.free42dec): \ needs="X11" \ section="Applications/Science/Mathematics" \ title="HP 42s" \ command="/usr/local/bin/free42dec"
hp67 cd .menu vi hp67 ?package(local.hp67): \ needs="x11" \ section="Applications/Science/Mathematics" \ title="HP 67" \ command="xterm -g 80x22 -fn '*-fixed-*-*-*-20-*' -T 'HP 67' -e /usr/local/bin/hp67"
Maxima cd .menu vi maxima ?package(maxima): \ needs="text" \ section="Applications/Science/Mathematics" \ title="Maxima" \ command="/usr/bin/maxima"
Firefox cd .menu vi firefox ?package(firefox): \ needs="X11" \ section="Applications/Network/Web Browsing" \ title="Firefox" \ command="/usr/bin/firefox"
Nach jeder Änderung in den Menu-Files muss als user eine update-menus ausgeführt werden.
Nach jedem update-menus wird ein neues File ~/.config/openbox/debian-menu.xml erzeugt.
Im File ~/.config/openbox/rc.xml muss jetzt noch die Zeile
<file>/var/lib/openbox/debian-menu.xml</file>
durch
<file>/home/ms/.config/openbox/debian-menu.xml</file>
ersetz werden und Openbox neu getartet werden damit das Menu aktiv wird.
old/linux/openbox.txt · Last modified: 2023/01/11 20:29 by 127.0.0.1