Re: marchobmenu

@Julius:
Good job!

Compaq Presario A900 - #! Statler Alpha2 Openbox
Privacy & Security on #! - Application List

Re: marchobmenu

Hi Julius,
I tried installing version 1.4 but got some errors, so i stick with 1.3

Would it be possible to get the menu one level lower... now i have to go to 'Applications' first to see the different categories. Would it be possible to have the different categories in the first level of the right click menu?

Thanks,
Tuna

Compaq Presario A900 - #! Statler Alpha2 Openbox
Privacy & Security on #! - Application List

Re: marchobmenu

I had problems with 1.4 too, but 1.3 is working perfectly anyway. Nice job Julius. smile

I generally bring this menu up by itself, with a launcher via xdotool, something like

xdotool key shift+ctrl+super+a

after allocating:

    <keybind key="S-C-W-a">
      <action name="ShowMenu">
        <menu>marchobmenu-applications</menu>
      </action>
    </keybind>

in rc.xml. This way you get the second level of applications right off.

Last edited by johnraff (2011-02-22 11:05:17)

John
------------------------
( a boring Japan blog , and idle twitterings )
“There is more Unix-nature in one line of shell script than there is in ten thousand lines of C.” - Master Foo

Re: marchobmenu

just now saw this... very kewl (building for my openbox setup as we speak)

Run tell that, homeboy.  -Antoine Dodson

Re: marchobmenu

johnraff wrote:

I generally bring this menu up by itself, with a launcher via xdotool, something like 'xdotool key shift+ctrl+super+a' after allocating:

    <keybind key="S-C-W-a">
      <action name="ShowMenu">
        <menu>marchobmenu-applications</menu>
      </action>
    </keybind>

in rc.xml. This way you get the second level of applications right off.

Thanks for the idea: i've made marchobmenu a left-click menu in openbox.

I don't understand why you need xdotool.

Tuna

Compaq Presario A900 - #! Statler Alpha2 Openbox
Privacy & Security on #! - Application List

Re: marchobmenu

You need xdotool for launchers because openbox will only let you use keyboard combinations. If that's what you want, cool, but I wanted to launch marchobmenu from an ADeskBar button. Xdotool gives you a command you can put in a launcher, or a script, to access openbox's keyboard combinations.

John
------------------------
( a boring Japan blog , and idle twitterings )
“There is more Unix-nature in one line of shell script than there is in ten thousand lines of C.” - Master Foo

Re: marchobmenu

johnraff wrote:

You need xdotool for launchers because openbox will only let you use keyboard combinations. If that's what you want, cool, but I wanted to launch marchobmenu from an ADeskBar button. Xdotool gives you a command you can put in a launcher, or a script, to access openbox's keyboard combinations.

Oh wow, that's a great way to profit from openbox.

Compaq Presario A900 - #! Statler Alpha2 Openbox
Privacy & Security on #! - Application List

Re: marchobmenu

Oh yes, I've just remembered - marchobmenu by default only checks /usr/share/applications for .desktop files. If you want it to check all the usual places, including ~/.local/share/applications, as the xfce menu does, then edit /etc/xdg/menus/mom-applications.menu
Find the section that starts:

<!--  Read standard .directory and .desktop file locations 

and edit it to look like this:

  <!--  Read standard .directory and .desktop file locations -->
  <DefaultAppDirs/>
  <DefaultDirectoryDirs/>
  
  <!-- Read only provided .directory and .desktop file locations
  <AppDir>/usr/share/applications</AppDir>
  <DirectoryDir>/usr/share/desktop-directories</DirectoryDir> -->

ie comment out the AppDir and DirecoryDir stuff, and uncomment the DefaultAppDirs and DefaultDirectoryDirs part.

John
------------------------
( a boring Japan blog , and idle twitterings )
“There is more Unix-nature in one line of shell script than there is in ten thousand lines of C.” - Master Foo

Re: marchobmenu

@Julius:
Here's the output when i tried to install 1.4:

(Reading database ... 103908 files and directories currently installed.)
Preparing to replace marchobmenu 1.4-1 (using marchobmenu_1.4-1_i386.deb) ...
Unpacking replacement marchobmenu ...
Setting up marchobmenu (1.4-1) ...
Traceback (most recent call last):
  File "/usr/lib/marchobmenu/mom.py", line 80, in <module>
    print_menu(menu)
  File "/usr/lib/marchobmenu/mom.py", line 44, in print_menu
    print_submenu(entry)
  File "/usr/lib/marchobmenu/mom.py", line 22, in print_submenu
    print_menu(entry)
  File "/usr/lib/marchobmenu/mom.py", line 46, in print_menu
    print_exec(entry)
  File "/usr/lib/marchobmenu/mom.py", line 34, in print_exec
    cmd
TypeError: not all arguments converted during string formatting
dpkg: error processing marchobmenu (--install):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 marchobmenu

Maybe you can find out what's wrong....

Compaq Presario A900 - #! Statler Alpha2 Openbox
Privacy & Security on #! - Application List

Re: marchobmenu

Marchobmenu is a nice menu generator (programs and places) for openbox.
Ju1ius (the author) recently (today) fixed a bug and version 2.1 is running nicely on #! openbox now.

You can download marchobmenu here:
https://github.com/ju1ius/marchobmenu

Some more info on marchobmenu:
http://crunchbanglinux.org/forums/topic … bmenu-v01/

Compaq Presario A900 - #! Statler Alpha2 Openbox
Privacy & Security on #! - Application List

Re: marchobmenu

ignore this bump

Edit: Threads are now merged.

Last edited by anonymous (2011-05-26 13:35:40)

Note: ** Please read before posting **

BTW if you wish to contact me, send me an e-mail instead of a PM.