Resizing openbox menus

Calling any openbox experts, I have a couple of questions... Firstly whats the point of gtk-theme-switch2 or chtheme when obmenu actually finds openbox theme packs and changes them properly, I have no idea what the other ones do, they just seem to make up their own themes.
Secondly, and maybe these questions are linked; how do you change the font size and general size of custom theme menus and title bars? For example I have the Airborne theme pack and running at 1280x1024 the theme size is way too small.

If you have openbox-svn you should use obconf2. In openbox you can just edit theme's themerc and add something like this:
"window.active.label.text.font:                  AvantGarde LT Medium:pixelsize=12
menu.title.text.font:                           AvantGarde LT Medium:pixelsize=12
menu.items.font:                                AvantGarde LT Medium:pixelsize=12"

Similar Messages

  • Fluxbox menu to Openbox menu

    Do you now some program to transform fluxboxmenu config to openboxmenu config?:|

    I don't think there is such a thing, but there are menu generators, just search around in the repos.
    Although I would recommend you make your own menu. You can use obmenu, it's a nice GUI tool for making openbox menus.
    pacman -Sy obmenu

  • Dolphin emulator taking control of window manager

    I'm using awesome wm but I have a weird issue. Whenever I have dolphin-emu (a qt based gamecube emulator) open, I cannot right click on my desktop or click on anything in the awesome panel. I can still use keyboard shortcuts to switch between tags, but I can't do anything with the mouse except click on things in the dolphin window.
    This occurs even when dolphin isn't maximized or fullscreen. It occurs even when dolphin is minimized. Pretty much as long as dolphin is running. I can still see the awesome panel and my wallpaper, but it's completely unresponsive to mouse actions.
    This only occurs with dolphin. No other QT or GTK apps cause this issue. Any advice?
    edit: I suspect this may be a bug in Dolphin. I tried running it with openbox and have the same issues. Can't access openbox menus.
    Last edited by Exershio (2015-04-15 05:24:52)

    This is definitely a bug in Dolphin. I downgraded to 4.0.2 (the latest stable version, over a year old) and the problem went away. I have reported the issue on the bug tracker.
    Link if anyone is curious or having the same problems:
    https://code.google.com/p/dolphin-emu/i … il?id=8469

  • Errors Burning DL DVD

    I've read as many posts as I can on this topic. Here's my deal:
    Creating a DVD that's 6.3GBs. After reading many posts finally got the disc to
    burn with no problem. I'm using some Photoshop layered menus created by the client and trying to make a web link that will work with PCs as well as Macs.
    Menus looked "crunchy" but I may have solved that problem by resizing and I was followed the instuctions for my intellidisc trial to make the web link work. After adding a dummy track of black (3sec) and resizing the menus I can no longer burn the disk. Now I get this error message:
    "Formatting was not successful. The image exceeds the maximum allowed size for a dual-layer configuration."
    Which makes no sense since when I look at the VIDEO_TS folder it still says about 6.3GBs.
    I've changed the switch point twice and am currnetly trying a burn with automatic set for the location.
    Any help would be greatly appreciated

    Warning: The file 'DVD_51407.layout' found in the VIDEO_TS or HVDVD_TS will not be included in the final disc
    Warning: the files 'VOB_DATA.LAY' found in the VIDEO_TS or HVDVD_TS will not be included in the final disc
    Are normal messages ignore them
    Build warning: complied project is 354.7MB too large for currently selected disc media
    You will need to re-reencode the video and/or make the audio AC3 if you have not done so. If the audio is aif just make it AC3 and you should be okay with no need to re-encode video
    http://dvdstepbystep.com/faqs_7.php
    FWIW another thread with more info/links if needed
    http://discussions.apple.com/thread.jspa?messageID=5127726
    Not sure if you got the break point yet (sounds lik eyou did?)
    Some threads with answers and also links to other threads all discussing how to set breaks
    http://discussions.apple.com/thread.jspa?messageID=4916558
    http://discussions.apple.com/thread.jspa?messageID=4609543

  • "Useful" Bug In Dzen2 But Not In SVN Version

    I was playing around with dzen yesterday, and when I tried it on a system with Gnome + Openbox installed, I noticed that if:
    - the dzen box was set to only one line
    - or the dzen box was more than one line but was initially collapsed with a '-e' collapse action
    the default left-click nor right-click action functioned as it should. Instead, when right-clicking the dzen box, the Openbox menu appeared. Also, middle-clicking produced the Openbox desktop selection menu. Of course, normally the Openbox menus do not work with the Gnome desktop.
    Just for grins, I created a start-up script that placed a 24x24 pixel dzen box overlayed on my pypanel which could be used to access the OpenBox menu. Knowing that this was unintended behavior, I took a screenshot before upgrading to the SVN version of dzen. Sure enough, the SVN version removes this "functionality".
    Somehow, the dzen boxes are "drilling" through the Gnome desktop under certain specific circumstances and allowing the Openbox menus to work. Maybe someone could isolate the code and produce a piece of software that allowed a user to create Openbox menu zones on their Gnome desktop while co-existing with the Gnome functionality (maybe something like this already exists).
    Anyway, I'm easily amused sometimes, and I thought this was interesting.

    The portal really doesn't store any business data. If you transported all the portal content to production (ess iviews, roles, etc) and it is displaying, odds are in this case that there is a missing transport on the ECC side.
    The problem with managing an ESS portal is that anytime there is an issue, functional team members will say it showing in SAP GUI ok, but its wrong on the portal.
    The best way to deal with this issue, although it may be painfull is to externally debug this portal application.
         1. Set up an ST05 trace for the portal user in the ECC system, only trace RFC.
         2. Run the Team Calendar or iview that is causing you the problem in the portal with that same user.
        3. Stop the trace and see what ABAP RFCs its using.
        4. Get an ABAP resoruce to put an external break point on that RFC for that user, if you don't know how to do it yourself.
        5. Log in as the portal user and run that iview, the ABAP program will stop right at that exeternal break point an you can debug it to see what it is returning to the portal.
        6. Chances are, its returning the wrong data and some configure or ABAP code was not transported.
      It sounds like alot, but getting this process down is a sure way to handle this issue that will arise again and again. Trust me.
      From what you have said so far, it does not sound like you have to re-install the Production portal. In fact, I don't think this will help your issue.
    Good Luck / Regards,
    Tom

  • [solved] chromium lost its panel icon

    I'm running latest arch and slim+openbox+tint2; after updating to chromium-43.0.2357.65-1-x86_64 I find that tint shows a generic icon and not the expected blue and white chrome thing. Checked by downgrading to chromium-42.0.2311.135-1-x86_64 and that does show the icon. There is an icon=chromium in /usr/share/applications/chromium.desktop and it seems to be identical to earlier version. The icon does appear in my openbox menus. All the icon files appear to be present in the filesystem.
    Edit: fixed in 43.0.2357.81-1
    Last edited by replabrobin (2015-05-26 22:10:29)

    KDE5 still showing the icon for me. There is a similar thread about the same version of google chrome, so it's probably related.

  • I'm having problems (1)selecting onscreen text, (2) having problems resizing menu boxes and selecting menues with the cursor. I'm not able to select menus and move them. I'm not sure how to correct this.

    I'm having problems (1) selecting onscreen text, (2) resizing menu boxes and selecting menues with the cursor. I'm not able to select menus and move them. I'm not sure how to correct this.

    1) This is because of software version 1.1. See this
    thread for some options as to how to go back to 1.0,
    which will correct the problem...
    http://discussions.apple.com/thread.jspa?threadID=3754
    59&tstart=0
    2) This tends to happen after videos. Give the iPod a
    minute or two to readjust. It should now be more
    accurate.
    3) This?
    iPod shows a folder icon with exclamation
    point
    4) Restore the iPod
    5) Try these...
    iPod Only Shows An Apple Logo and Will Not Start
    Up
    iPod Only Shows An Apple Logo
    I think 3,4, and 5 are related. Try the options I
    posted for each one.
    btabz
    I just noticed that one of the restore methods you posted was to put it into Disk Mode First rather than just use the resstore straight off, I Have tried that and seems to have solved the problem, If it has thank you. previously I have only tried just restoring it skipping this extra step. Hope my iPod stays healthy, if it doesnt its a warrenty job me thinks any way thanks again

  • Openbox noob question on menus.

    I really do apologize about this insanely noob question but this is driving me up a wall.
    I've read several several different resources on openbox (particularly trying to find information on the root menu)
    i'm either looking in the wrong place - or I totally saw it and didn't put 2 and 2 together. *shrugs*
    so, here is the dealio -
    I'm trying to edit the root menu (or as I like to call it right clicky drop down thingy)
    I'm running LXDE and from everything I've gathered over the last couple of days trying to tackle this
    with lxde you edit the lxde-rc.xml instead of the menu or rc.xml
    although after reading through it a plethora of times I noticed that it pulls off of the menu.xml as well...
    *basically*
    Which file do I actually edit to add stuff to the root menu?
    and i've seen dozens of actual templates for editing the menu.xml and lxde-rc.xml but whenever *I* try to follow that I get a syntax error on openbox --reconfigure
    and insight or even a swift kick in the ass that will land me on a site that has info that actually works would be ever so appreciated (even if its a search term - I think my problem now is that i've spent so much time looking for this one thing that I might actually be insanely over complicating this and not picking out the right information   )

    stlarch wrote:An easy way is to install obmenu
    I can agree with that even though I'm not sure how to use that program very well. I'd rather learn how to manually edit the stuff, and not have to rely on another program
    the main reason I got away from ubuntu was to be semi/forced to learn everything.
    JackH79 wrote:Have you read this here as well?
    I did glance at that but didn't think that was referring to the root menus...I can decifer through the xml those menu files to some extent...the stuff on freedesktop is straight crypic to me atm...but at least now I know I need to take a much closer look hehe.

  • Having issues with pipe-menus in openbox

    by issues, i just can't get it to work.
    "Invalid output from pipe-menu 'openbox-menu'"
    if i just run openbox-menu, it just gives me the error "File /etc/xdg/menus/applications.menu doesn't exist. Can't create menu"
    i can't, for the life of me, figure out how to create that file.

    Hi,
    Sorry you're having problems.
    How To get Help Quickly
    http://forums.adobe.com/thread/470404
    Post a URL to your test page so we can *SEE* what you see.
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    www.alt-web.com/
    www.twitter.com/altweb
    www.alt-web.blogspot.com

  • [Solved] Default application right-click menus (Openbox)

    Hi, I am wondering how to edit the look of the default "right-click" menu for applications so that it matches my openbox root menu.  I want to do simple things, like take the icons out, and change the highlight color.  I've been doing a lot of digging (rc.xml, themerc, obtheme, google, etc)  and am just getting nowhere, but I'm wasting a ton of time looking, and feel like the answer is right under my nose. It seems like it's a "per app" sort of thing, where apps are unaffected by the ob theme.
    Any help is appreciated.
    Last edited by oktorok (2014-07-06 23:41:03)

    The openbox themes only affect elements that are controlled by the window manager.  Popup menus that come up in some applications when your right click are not controlled by the window manager - they are a component of a widget toolkit.  This would most likely be gtk or qt.  If it is gtk, you can edit your gtkrc or use a tool like lxappearance.

  • Openbox: autostarted conky cannot auto resize

    My conkyrc has something like $if ... $endif, thus will resize when these conditions changed, such as ${if_up wlan0}.
    but the instance autostarted by openbox from autostart.sh, cannot autoresize in this case, so some informations goes hidden.
    then I killed conky, restarted it, and things are fine. also, when I started a standalone metacity with conky launched from .xinitrc, the autoresize goes pretty fine.
    Here's my autostart.sh for openbox, beginning with those strange lines that comes with openbox:
    # This shell script is run before Openbox launches.
    # Environment variables set here are passed to the Openbox session.
    # Set a background color
    BG=""
    if which hsetroot >/dev/null 2>&1; then
    BG=hsetroot
    else
    if which esetroot >/dev/null 2>&1; then
    BG=esetroot
    else
    if which xsetroot >/dev/null 2>&1; then
    BG=xsetroot
    fi
    fi
    fi
    test -z $BG || $BG -solid "#303030"
    # D-bus
    if which dbus-launch >/dev/null 2>&1 && test -z "$DBUS_SESSION_BUS_ADDRESS"; then
    eval `dbus-launch --sh-syntax --exit-with-session`
    fi
    # Make GTK apps look and behave how they were set up in the gnome config tools
    if test -x /usr/libexec/gnome-settings-daemon >/dev/null; then
    /usr/libexec/gnome-settings-daemon &
    elif which gnome-settings-daemon >/dev/null 2>&1; then
    gnome-settings-daemon &
    # Make GTK apps look and behave how they were set up in the XFCE config tools
    elif which xfce-mcs-manager >/dev/null 2>&1; then
    xfce-mcs-manager n &
    fi
    # Preload stuff for KDE apps
    if which start_kdeinit >/dev/null 2>&1; then
    LD_BIND_NOW=true start_kdeinit --new-startup +kcminit_startup &
    fi
    # Run XDG autostart things. By default don't run anything desktop-specific
    # See xdg-autostart --help more info
    DESKTOP_ENV="OPENBOX"
    if which /usr/lib/openbox/xdg-autostart >/dev/null 2>&1; then
    /usr/lib/openbox/xdg-autostart $DESKTOP_ENV
    fi
    #well, now my autostarts...
    xmodmap ~/.xmodmaps &
    xcompmgr -c &
    sleep 3
    gvolwheel &
    batti &
    fcitx -d
    devmon &
    conky
    pgrep emacs || emacs --daemon &
    ~/.fehbg &
    tint2 &
    pinot-dbus-daemon &
    xscreensaver &

    My conkyrc has something like $if ... $endif, thus will resize when these conditions changed, such as ${if_up wlan0}.
    but the instance autostarted by openbox from autostart.sh, cannot autoresize in this case, so some informations goes hidden.
    then I killed conky, restarted it, and things are fine. also, when I started a standalone metacity with conky launched from .xinitrc, the autoresize goes pretty fine.
    Here's my autostart.sh for openbox, beginning with those strange lines that comes with openbox:
    # This shell script is run before Openbox launches.
    # Environment variables set here are passed to the Openbox session.
    # Set a background color
    BG=""
    if which hsetroot >/dev/null 2>&1; then
    BG=hsetroot
    else
    if which esetroot >/dev/null 2>&1; then
    BG=esetroot
    else
    if which xsetroot >/dev/null 2>&1; then
    BG=xsetroot
    fi
    fi
    fi
    test -z $BG || $BG -solid "#303030"
    # D-bus
    if which dbus-launch >/dev/null 2>&1 && test -z "$DBUS_SESSION_BUS_ADDRESS"; then
    eval `dbus-launch --sh-syntax --exit-with-session`
    fi
    # Make GTK apps look and behave how they were set up in the gnome config tools
    if test -x /usr/libexec/gnome-settings-daemon >/dev/null; then
    /usr/libexec/gnome-settings-daemon &
    elif which gnome-settings-daemon >/dev/null 2>&1; then
    gnome-settings-daemon &
    # Make GTK apps look and behave how they were set up in the XFCE config tools
    elif which xfce-mcs-manager >/dev/null 2>&1; then
    xfce-mcs-manager n &
    fi
    # Preload stuff for KDE apps
    if which start_kdeinit >/dev/null 2>&1; then
    LD_BIND_NOW=true start_kdeinit --new-startup +kcminit_startup &
    fi
    # Run XDG autostart things. By default don't run anything desktop-specific
    # See xdg-autostart --help more info
    DESKTOP_ENV="OPENBOX"
    if which /usr/lib/openbox/xdg-autostart >/dev/null 2>&1; then
    /usr/lib/openbox/xdg-autostart $DESKTOP_ENV
    fi
    #well, now my autostarts...
    xmodmap ~/.xmodmaps &
    xcompmgr -c &
    sleep 3
    gvolwheel &
    batti &
    fcitx -d
    devmon &
    conky
    pgrep emacs || emacs --daemon &
    ~/.fehbg &
    tint2 &
    pinot-dbus-daemon &
    xscreensaver &

  • Openbox: Resize Window According To Resolution

    Is it possible to use to resize windows according to the resolution of your screen in OpenBox3? What I want to do is make windows half the screen width with a shortcut. I can do this like this in rc.xml:
    <keybind key="S-Right">
    <action name="UnmaximizeFull"/>
    <action name="MaximizeVert"/>
    <action name ="MoveResizeTo">
    <x> 720 </x>
    <y> 0 </y>
    <width> 720 </width>
    </action>
    </keybind>
    But I would like to make it more flexible and to set it to this without knowing how much half of my (1440x900) screen is (720).  Unfortunately resizing after setting MaximizeVert doesn't work which would be a step in the right direction.
    Is there a way to resize a maximised window? Is there another way of doing this?

    Seems there is no way to do this yet although it should be possible since openbox knows what size to "maximise" your windows to.
    Another question: is it possible to perform an action after pressing PART of a keychain? I.E. keybind an action to C-r say and then followed by another key to complete a keychain to perform a different action:
    <keybind key"C-r">
    <action name="action 1"/> <!-- action when C-r is pressed -->
    <keybind key="e">
    <action name ="action 2"/> <!-- action when C-r then "e" is pressed -->
    </keybind>
    </keybind>

  • [Solved] Openbox Ignoring Titlebars, Odd Resizing Problems

    Alright, so I'm trying to set up my Openbox to have some manual window tiling support similar to Subtle's implementation.
    My screen is 1600x900.  I have 1 pixel margins all around except for a 41 pixel margin on the East side of the screen.
    Here are some of the appropriate parts to my rc.xml:
    <keybind key="W-KP_3">
    <action name="MoveResizeTo">
    <x>-0</x>
    <y>-0</y>
    <width>458</width>
    <height>449</height>
    </action>
    </keybind>
    <keybind key="W-KP_9">
    <action name="MoveResizeTo">
    <x>-0</x>
    <y>+0</y>
    <width>458</width>
    <height>449</height>
    </action>
    </keybind>
    So, if my screen is 900 pixels tall, with 1 pixel margins on top and bottom, that should mean that I have 898 pixels to work with vertically.  898/2=449, so by setting the window the be resized to a height of 449 pixels should mean that the window will take up exactly half of my screen vertically.  Unfortunately, it seems that Openbox does not include the titlebar in all of this so when I have two terminal windows.  This means that when I have a window set to W-KP_3 and another at W-KP_9 (bottom right and top right), the windows will overlap. 
    Is there any way to fix this without undecorating my windows?
    EDIT: Here's a screenshot of it so you can see the problem.  http://i.imgur.com/NYhyj.jpg
    Last edited by iimblack (2011-04-10 20:56:56)

    It's just a wee bit of math and a couple of test runs to correct this.  Your title bars plus windows borders appear to be 14 to 20 pixels in height.  So change your desired height from 449 to 433 (16 pixels difference), test it, and adjust the value up or down from there.
    If you are using xterm, the window will not necessarily be the full height you specify.  On my display, where I normally don't use window decorations, xterm won't allow a window to include a fraction of a line height.  You might want to run your height tests with a different app.
    Here's an old shot of my tiling.  I deliberately leave a gap between tiles.
    Last edited by thisoldman (2011-04-10 19:53:42)

  • [SOLVED][Openbox] Sub-menus do not appear

    Just switched over to Openbox and was configuring my Menu. The only thing that doesn't want to work are my sub-menus. Using obmenu, I created a link inside an existing menu, with the proper ID of the menu I wanted to be a sub-menu. Saved menu.xml, reconfigured (and even tried restarting) Openbox, but no joy, everything shows but the sub-menus.
    I have 3 sub-menus: apps-office-libreoffice (linked in apps-office-menu), apps-development-qt (linked in apps-development-menu), and apps-games-doom (linked in apps-games-menu)
    I'm pretty confused as to why they wont show up, and google'ing around turned up absolutely no results, so I was hoping someone here could lend a hand. Here's my menu.xml:
    <?xml version="1.0" encoding="utf-8"?>
    <openbox_menu xmlns="http://openbox.org/3.4/menu">
    <menu id="apps-accessories-menu" label="Accessories">
    <item icon="speedcrunch.png" label="SpeedCrunch">
    <action name="Execute">
    <command>speedcrunch</command>
    <startupnotify>
    <enabled>yes</enabled>
    </startupnotify>
    </action>
    </item>
    <item label="Character Map">
    <action name="Execute">
    <command>gucharmap</command>
    <startupnotify>
    <enabled>yes</enabled>
    </startupnotify>
    </action>
    </item>
    <item label="Thunar - Bulk Rename">
    <action name="Execute">
    <execute>/usr/lib/ThunarBulkRename</execute>
    </action>
    </item>
    <item label="PeaZip Archive Manger">
    <action name="Execute">
    <command>ark</command>
    <startupnotify>
    <enabled>yes</enabled>
    </startupnotify>
    </action>
    </item>
    <item label="Xfce Notes">
    <action name="Execute">
    <execute>xfce-notes</execute>
    </action>
    </item>
    </menu>
    <menu id="apps-development-menu" label="Development">
    <item label="GVim">
    <action name="Execute">
    <command>gvim</command>
    <startupnotify>
    <enabled>yes</enabled>
    <wmclass>GVim</wmclass>
    </startupnotify>
    </action>
    </item>
    <separator/>
    <item label="CMake">
    <action name="Execute">
    <execute>cmake-gui</execute>
    </action>
    </item>
    <item label="Meld">
    <action name="Execute">
    <execute>meld</execute>
    </action>
    </item>
    <item label="Kodos">
    <action name="Execute">
    <execute>kodos</execute>
    </action>
    </item>
    <menu id="apps-development-qt"/>
    </menu>
    <menu id="app-games-menu" label="Games">
    <item label="Battle for Wesnoth">
    <action name="Execute">
    <execute>wesnoth</execute>
    </action>
    </item>
    <menu id="apps-games-doom"/>
    <item label="Dwarf Fortress">
    <action name="Execute">
    <execute>dwarffortress</execute>
    </action>
    </item>
    <item label="Minecraft">
    <action name="Execute">
    <execute>minecraft</execute>
    </action>
    </item>
    <item label="Minetest">
    <action name="Execute">
    <execute>minetest</execute>
    </action>
    </item>
    <item label="OpenArena">
    <action name="Execute">
    <execute>openarena</execute>
    </action>
    </item>
    <item label="Skyrim">
    <action name="Execute">
    <execute>wine /games/Skyrim/skse_loader.exe</execute>
    </action>
    </item>
    </menu>
    <menu id="apps-term-menu" label="Terminals">
    <item label="Rxvt Unicode">
    <action name="Execute">
    <command>urxvt</command>
    </action>
    </item>
    <item label="Xfce Terminal">
    <action name="Execute">
    <command>xfce4-terminal</command>
    <startupnotify>
    <enabled>yes</enabled>
    </startupnotify>
    </action>
    </item>
    <item label="TMux">
    <action name="Execute">
    <execute>tmux</execute>
    </action>
    </item>
    </menu>
    <menu id="apps-office-menu" label="Office">
    <menu id="apps-office-libreoffice"/>
    <separator/>
    <item label="Dictionary">
    <action name="Execute">
    <execute>xfce4-dict</execute>
    </action>
    </item>
    <item label="Foxit Reader">
    <action name="Execute">
    <execute>foxitreader</execute>
    </action>
    </item>
    <item label="GNU Cash">
    <action name="Execute">
    <execute>gnucash</execute>
    </action>
    </item>
    <item label="Task Coach">
    <action name="Execute">
    <execute>taskcoach.py</execute>
    </action>
    </item>
    </menu>
    <menu id="apps-net-menu" label="Internet">
    <item label="Firefox">
    <action name="Execute">
    <command>firefox</command>
    <startupnotify>
    <enabled>yes</enabled>
    <wmclass>Firefox</wmclass>
    </startupnotify>
    </action>
    </item>
    <item label="Thunderbird">
    <action name="Execute">
    <execute>thunderbird</execute>
    </action>
    </item>
    <item label="Pidgin">
    <action name="Execute">
    <command>pidgin</command>
    <startupnotify>
    <enabled>yes</enabled>
    </startupnotify>
    </action>
    </item>
    <item label="qBittorrent">
    <action name="Execute">
    <execute>qbittorrent</execute>
    </action>
    </item>
    <separator/>
    <item label="Dropbox">
    <action name="Execute">
    <execute>/opt/dropbox/dropboxd</execute>
    </action>
    </item>
    <item label="Mumble">
    <action name="Execute">
    <execute>mumble</execute>
    </action>
    </item>
    <item label="SpiderOak">
    <action name="Execute">
    <execute>SpiderOak</execute>
    </action>
    </item>
    <item label="Teamspeak">
    <action name="Execute">
    <execute>teamspeak3</execute>
    </action>
    </item>
    <item label="Teamviewer">
    <action name="Execute">
    <execute>/opt/teamviewer/teamviewer/7/bin/teamviewer</execute>
    </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="Audacity">
    <action name="Execute">
    <execute>audacity</execute>
    </action>
    </item>
    <item label="VLC Media Player">
    <action name="Execute">
    <execute>vlc</execute>
    </action>
    </item>
    </menu>
    <menu id="apps-fileman-menu" label="File Managers">
    <item label="Thunar">
    <action name="Execute">
    <command>Thunar</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>
    </menu>
    <menu id="system-menu" label="System">
    <item label="Openbox Menu Editor">
    <action name="Execute">
    <execute>obmenu</execute>
    </action>
    </item>
    <item label="Openbox Configuration Manager">
    <action name="Execute">
    <command>obconf</command>
    <startupnotify>
    <enabled>yes</enabled>
    </startupnotify>
    </action>
    </item>
    <item label="tint2 Configuration">
    <action name="Execute">
    <execute>tint2conf</execute>
    </action>
    </item>
    <item label="Xfce Settings">
    <action name="Execute">
    <command>xfce-setting-show</command>
    <startupnotify>
    <enabled>yes</enabled>
    </startupnotify>
    </action>
    </item>
    <separator/>
    <item label="Reconfigure Openbox">
    <action name="Reconfigure"/>
    </item>
    </menu>
    <menu id="apps-wine-menu" label="Wine">
    <item label="Wine Configuration (Q4Wine)">
    <action name="Execute">
    <execute>q4wine -b</execute>
    </action>
    </item>
    <item label="WineCFG">
    <action name="Execute">
    <execute>winecfg</execute>
    </action>
    </item>
    <item label="WineTricks">
    <action name="Execute">
    <execute>winetricks</execute>
    </action>
    </item>
    <separator/>
    <item label="Steam">
    <action name="Execute">
    <execute>wine ~/.wine/drive_c/Program\ Files\ \(x86\)/Steam/Steam.exe -no-dwrite &gt;/dev/null 2&gt;&amp;1 &amp;</execute>
    </action>
    </item>
    </menu>
    <menu id="apps-office-libreoffice" label="LibreOffice">
    <item label="LibreOffice">
    <action name="Execute">
    <execute>libreoffice</execute>
    </action>
    </item>
    <item label="Base">
    <action name="Execute">
    <execute>libreoffice --base</execute>
    </action>
    </item>
    <item label="Calc">
    <action name="Execute">
    <execute>libreoffice --calc</execute>
    </action>
    </item>
    <item label="Draw">
    <action name="Execute">
    <execute>libreoffice --draw</execute>
    </action>
    </item>
    <item label="Impress">
    <action name="Execute">
    <execute>libreoffice --impress</execute>
    </action>
    </item>
    <item label="Math">
    <action name="Execute">
    <execute>libreoffice --math</execute>
    </action>
    </item>
    <item label="Writer">
    <action name="Execute">
    <execute>libreoffice --writer</execute>
    </action>
    </item>
    </menu>
    <menu id="apps-development-qt" label="Qt">
    <item label="Qt Assistant">
    <action name="Execute">
    <execute>assistant</execute>
    </action>
    </item>
    <item label="Qt Designer">
    <action name="Execute">
    <execute>designer</execute>
    </action>
    </item>
    <item label="Qt Linguist">
    <action name="Execute">
    <execute>linguist</execute>
    </action>
    </item>
    </menu>
    <menu id="apps-games-doom" label="DOOM">
    <item label="GZDoom">
    <action name="Execute">
    <execute>gzdoom</execute>
    </action>
    </item>
    <item label="GZDoom (Brutal)">
    <action name="Execute">
    <execute>gzdoom -file /usr/share/games/doom/brutalv017gzdoom.pk3</execute>
    </action>
    </item>
    </menu>
    <menu icon="gtk-execute" id="root-menu" label="Openbox 3">
    <item label="Run Application...">
    <action name="Execute">
    <execute>xfce4-appfinder</execute>
    </action>
    </item>
    <separator label="Applications"/>
    <menu id="apps-accessories-menu"/>
    <menu id="apps-development-menu"/>
    <menu id="app-games-menu"/>
    <menu id="apps-net-menu"/>
    <menu id="apps-multimedia-menu"/>
    <menu id="apps-graphics-menu"/>
    <menu id="apps-office-menu"/>
    <menu id="apps-fileman-menu"/>
    <separator label="System"/>
    <menu id="system-menu"/>
    <menu id="apps-term-menu"/>
    <menu id="apps-wine-menu"/>
    <separator/>
    <item label="Restart">
    <action name="Restart"/>
    </item>
    <item label="Log Out">
    <action name="Exit">
    <prompt>yes</prompt>
    </action>
    </item>
    </menu>
    </openbox_menu>
    Last edited by ZeroKnight (2012-11-09 08:05:29)

    I figured out the issue. I did have all three menus defined separately, and I linked to them the same way all the other menus were linked to the root menu:
    <menu icon="gtk-execute" id="root-menu" label="Openbox 3">
    <item label="Run Application...">
    <action name="Execute">
    <execute>xfce4-appfinder</execute>
    </action>
    </item>
    <separator label="Applications"/>
    <menu id="apps-accessories-menu"/>
    <menu id="apps-development-menu"/>
    <menu id="app-games-menu"/>
    <menu id="apps-net-menu"/>
    <menu id="apps-multimedia-menu"/>
    <menu id="apps-graphics-menu"/>
    <menu id="apps-office-menu"/>
    <menu id="apps-fileman-menu"/>
    <separator label="System"/>
    <menu id="system-menu"/>
    <menu id="apps-term-menu"/>
    <menu id="apps-wine-menu"/>
    <separator/>
    <item label="Restart">
    <action name="Restart"/>
    </item>
    <item label="Log Out">
    <action name="Exit">
    <prompt>yes</prompt>
    </action>
    </item>
    </menu>
    As you can see, all of them are defined, and then linked into the root window with the: <menu id="..."/> lines. I did the same with my Qt, Doom, and LibreOffice menus; defined them separately, then linked them into my other menus that way, ie. <menu id="apps-games-doom"/>
    Defined later, near the bottom of the file:
    <menu id="apps-development-qt" label="Qt">
    <item label="Qt Assistant">
    <action name="Execute">
    <execute>assistant</execute>
    </action>
    </item>
    <item label="Qt Designer">
    <action name="Execute">
    <execute>designer</execute>
    </action>
    </item>
    <item label="Qt Linguist">
    <action name="Execute">
    <execute>linguist</execute>
    </action>
    </item>
    </menu>
    Then "linked" earlier in the file, in the "Development" menu definition:
    <menu id="apps-development-menu" label="Development">
    <item label="GVim">
    <action name="Execute">
    <command>gvim</command>
    <startupnotify>
    <enabled>yes</enabled>
    <wmclass>GVim</wmclass>
    </startupnotify>
    </action>
    </item>
    <separator/>
    <item label="CMake">
    <action name="Execute">
    <execute>cmake-gui</execute>
    </action>
    </item>
    <item label="Meld">
    <action name="Execute">
    <execute>meld</execute>
    </action>
    </item>
    <item label="Kodos">
    <action name="Execute">
    <execute>kodos</execute>
    </action>
    </item>
    <menu id="apps-development-qt"/> <<-------- just like in the root window definition...yet it doesn't work here.
    </menu>
    Anyway...I tried what you said and just put the whole menu definition itself inside of the previous ones and it worked out, strangely enough. Maybe it's just an ordering error? The definitions did get pushed to the bottom, so I wonder if that was it. Oh well...simple enough fix. Thanks for the suggestion
    I feel somewhat silly, though I really don't know why that didn't work. I guess obmenu is a little misleading
    [EDIT]
    Interestingly enough, yes, ordering was the issue. I tried moving the sub-menu definitions to the top of the file, and kept the "links" where they were, and it worked out. So for clarity:
    Menus must be defined before linking them, OR just put the sub-menu definition inside the parent menu definition.
    Last edited by ZeroKnight (2012-11-09 08:05:04)

  • Title Safe and resizing menus

    I've created all of my menus and I forgot to make sure they were set to be title safe. Is there a function in DVD SP that I can select and make the DVD title safe or do I have to manually re-size all of the menus and buttons, etc.

    It's a manual job, I'm afraid... there's no way to automate this inside DVDSP. Sorry!
    But welcome to the discussions

Maybe you are looking for