Results 1 to 4 of 4
So let me start by saying i'm what many would call a linux noob. I've played with ubuntu for quite some time as a alternative to windows since it runs ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 04-12-2011 #1Just Joined!
- Join Date
- Apr 2011
- Posts
- 2
Openbox - Not reading/updating off of .xml files?
So let me start by saying i'm what many would call a linux noob. I've played with ubuntu for quite some time as a alternative to windows since it runs everything I need (eve, openoffice, gimp blah blah blah) I never really got into the command line or anything "linuxy"
I recently decided to take the plunge to arch (and lxde as my DE) - with the hope that I might actually learn something (to which I have...alot) and love it! the only problem i've really encountered is that with openbox.
basically, my issue is this - I can update my menu.xml but it doesn't seem to have any effect to...well...anything. OBmenu won't change anything and nothing seems to stick.
all I really want to edit is the root menu (or I think it's the root menu/right click=root menu from what i've read, yes?)
i'll post my menu.xml possibly I have it in the wrong area?
most of it was the default that came with my install of lxde...the only thing I edited wasCode:<openbox_menu xmlns=""> <menu id="apps-accessories-menu" label="Accessories"> <menu id="rawr-stuff-menu"/> <item label="Calculator"> <action name="Execute"> <command> gnome-calculator </command> <startupnotify> <enabled> yes </enabled> </startupnotify> </action> </item> <item label="Character Map"> <action name="Execute"> <command> gnome-character-map </command> <startupnotify> <enabled> yes </enabled> </startupnotify> </action> </item> <item label="Ark File Archiver"> <action name="Execute"> <command> ark </command> <startupnotify> <enabled> yes </enabled> </startupnotify> </action> </item> </menu> <menu id="apps-editors-menu" label="Editors"> <item label="GVim"> <action name="Execute"> <command> gvim </command> <startupnotify> <enabled> yes </enabled> <wmclass> GVim </wmclass> </startupnotify> </action> </item> <item label="Emacs"> <action name="Execute"> <command> emacs </command> <startupnotify> <enabled> yes </enabled> <wmclass> Emacs </wmclass> </startupnotify> </action> </item> <item label="GEdit"> <action name="Execute"> <command> gedit </command> <startupnotify> <enabled> yes </enabled> </startupnotify> </action> </item> <item label="Kate"> <action name="Execute"> <command> kate </command> <startupnotify> <enabled> yes </enabled> </startupnotify> </action> </item> <item label="Kwrite"> <action name="Execute"> <command> kwrite </command> <startupnotify> <enabled> yes </enabled> </startupnotify> </action> </item> </menu> <menu id="apps-term-menu" label="Terminals"> <item label="LXterminal"> <action name="Execute"> <command> lxterminal </command> </action> </item> <item label="Gnome Terminal"> <action name="Execute"> <command> gnome-terminal </command> <startupnotify> <enabled> yes </enabled> </startupnotify> </action> </item> <item label="Xfce Terminal"> <action name="Execute"> <command> xfce4-terminal </command> <startupnotify> <enabled> yes </enabled> </startupnotify> </action> </item> <item label="Konsole"> <action name="Execute"> <command> konsole </command> <startupnotify> <enabled> yes </enabled> </startupnotify> </action> </item> <item label="Xterm"> <action name="Execute"> <command> xterm </command> </action> </item> </menu> <menu id="apps-net-menu" label="Internet"> <item label="chromium"> <action name="Execute"> <command> chromium </command> <startupnotify> <enabled> yes </enabled> <wmclass> Firefox </wmclass> </startupnotify> </action> </item> <item label="Opera"> <action name="Execute"> <command> opera </command> <startupnotify> <enabled> yes </enabled> <wmclass> Opera </wmclass> </startupnotify> </action> </item> <item label="Konqueror"> <action name="Execute"> <command> konqueror </command> <startupnotify> <enabled> yes </enabled> </startupnotify> </action> </item> <item label="Epiphany"> <action name="Execute"> <command> epiphany </command> <startupnotify> <enabled> yes </enabled> </startupnotify> </action> </item> <item label="Pidgin Instant Messenger"> <action name="Execute"> <command> pidgin </command> <startupnotify> <enabled> yes </enabled> </startupnotify> </action> </item> <item label="Kopete Instant Messenger"> <action name="Execute"> <command> kopete </command> <startupnotify> <enabled> yes </enabled> </startupnotify> </action> </item> <item label="XChat"> <action name="Execute"> <command> xchat </command> <startupnotify> <enabled> yes </enabled> </startupnotify> </action> </item> </menu> <menu id="apps-office-menu" label="Office"> <item label="OpenOffice Base"> <action name="Execute"> <command> ooffice -base </command> </action> </item> <item label="OpenOffice Calc"> <action name="Execute"> <command> ooffice -calc </command> </action> </item> <item label="OpenOffice Draw"> <action name="Execute"> <command> ooffice -draw </command> </action> </item> <item label="OpenOffice Impress"> <action name="Execute"> <command> ooffice -impress </command> </action> </item> <item label="OpenOffice Math"> <action name="Execute"> <command> ooffice -math </command> </action> </item> <item label="OpenOffice Printer Administration"> <action name="Execute"> <command> ooffice-printeradmin </command> </action> </item> <item label="OpenOffice Writer"> <action name="Execute"> <command> ooffice -writer </command> </action> </item> </menu> <menu id="apps-multimedia-menu" label="Multimedia"> <item label="Amarok"> <action name="Execute"> <command> amarok </command> <startupnotify> <enabled> yes </enabled> </startupnotify> </action> </item> <item label="Rhythmbox"> <action name="Execute"> <command> rhythmbox </command> <startupnotify> <enabled> yes </enabled> </startupnotify> </action> </item> <item label="K3b"> <action name="Execute"> <command> k3b </command> <startupnotify> <enabled> yes </enabled> </startupnotify> </action> </item> <item label="MPlayer"> <action name="Execute"> <command> gmplayer </command> <startupnotify> <enabled> yes </enabled> <wmclass> MPlayer </wmclass> </startupnotify> </action> </item> <item label="Totem"> <action name="Execute"> <command> totem </command> <startupnotify> <enabled> yes </enabled> </startupnotify> </action> </item> </menu> <menu id="apps-fileman-menu" label="File Managers"> <item label="Nautilus"> <action name="Execute"> <command> nautilus --no-desktop --browser </command> <startupnotify> <enabled> yes </enabled> </startupnotify> </action> </item> <item label="Thunar"> <action name="Execute"> <command> Thunar </command> <startupnotify> <enabled> yes </enabled> </startupnotify> </action> </item> <item label="KDE File Manager"> <action name="Execute"> <command> kfmclient openURL ~ </command> <startupnotify> <enabled> yes </enabled> </startupnotify> </action> </item> <item label="Rox"> <action name="Execute"> <command> rox </command> <startupnotify> <enabled> yes </enabled> <wmclass> ROX-Filer </wmclass> </startupnotify> </action> </item> <item label="PCMan File Manager"> <action name="Execute"> <command> pcmanfm </command> <startupnotify> <enabled> yes </enabled> </startupnotify> </action> </item> </menu> <menu id="apps-graphics-menu" label="Graphics"> <item label="Gimp"> <action name="Execute"> <command> gimp </command> <startupnotify> <enabled> yes </enabled> </startupnotify> </action> </item> <item label="Gwenview"> <action name="Execute"> <command> gwenview </command> <startupnotify> <enabled> yes </enabled> </startupnotify> </action> </item> <item label="Dia Diagram Editor"> <action name="Execute"> <command> dia </command> <startupnotify> <enabled> yes </enabled> </startupnotify> </action> </item> <item label="Inkscape"> <action name="Execute"> <command> inkscape </command> <startupnotify> <enabled> yes </enabled> </startupnotify> </action> </item> </menu> <menu id="system-menu" label="System"> <item label="Openbox Configuration Manager"> <action name="Execute"> <command> obconf </command> <startupnotify> <enabled> yes </enabled> </startupnotify> </action> </item> <item label="Gnome Control Center"> <action name="Execute"> <command> gnome-control-center </command> <startupnotify> <enabled> yes </enabled> </startupnotify> </action> </item> <item label="KDE Control Center"> <action name="Execute"> <command> kcontrol </command> <startupnotify> <enabled> yes </enabled> </startupnotify> </action> </item> <item label="Xfce Settings"> <action name="Execute"> <command> xfce-setting-show </command> <startupnotify> <enabled> yes </enabled> </startupnotify> </action> </item> <item label="Manage Cups Printers"> <action name="Execute"> <command> xdg-open http : / /localhost : 631 / </command> <startupnotify> <enabled> no </enabled> <icon> cups </icon> </startupnotify> </action> </item> <separator/> <item label="Reconfigure Openbox"> <action name="Reconfigure"/> </item> </menu> <menu id="root-menu" label="Openbox 3"> <separator label="Openbox"/> <item label="Chromium"> <action name="Execute"> <execute> chromium </execute> </action> </item> <item label="LXterminal"> <action name="Execute"> <execute> lxterminal </execute> </action> </item> <item label="Leafpad"> <action name="Execute"> <execute> leafpad </execute> </action> </item> </menu> </openbox_menu>
most of the stuff I don't even need but honestly am afraid to edit it out because I don't want to break it, lol.
can you tell me what I did wrong? and possible solutions.Code:<menu id="root-menu" label="Openbox 3"> <separator label="Openbox"/> <item label="Chromium"> <action name="Execute"> <execute> chromium </execute> </action> </item> <item label="LXterminal"> <action name="Execute"> <execute> lxterminal </execute> </action> </item> <item label="Leafpad"> <action name="Execute"> <execute> leafpad </execute> </action> </item> </menu>
p.s.
I had to edit out or put spaces on the URL's in the code segments...apparently I needed 15 post XDLast edited by omgoakley; 04-12-2011 at 04:45 AM. Reason: removed some repeat code
- 04-13-2011 #2
Are you running this after your changes?
Code:openbox --reconfigure
- 04-14-2011 #3Just Joined!
- Join Date
- Apr 2011
- Posts
- 2
- 04-14-2011 #4
Can you back up your menu.xml file, install menu maker and run that, then see if you can make changes?
Code:mv ~/.config/openbox/menu.xml ~/.config/openbox/menu.xml.bak su -c 'pacman -S menumaker' mmaker -v OpenBox3


Reply With Quote

