You are not logged in.

#1 2015-09-17 01:47:37

r0ute
Member
Registered: 2015-07-15
Posts: 9

Openbox Menu

Hello. I'm trying to use menumaker to openbox but i can not make it work.

What i do ?

* sudo mmaker -vf OpenBox3

This is 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 label="Calculator">
    <action name="Execute">

and go on.. It's the default menu from /etc/xdg/openbox .

I also installed obmenu-generator but i got the same issue. I'm using this 2 menu generators and after i reconfigure openbox nothing happens.

Offline

#2 2015-09-17 02:18:21

circleface
Member
Registered: 2012-05-26
Posts: 639

Re: Openbox Menu

I don't think you need to use sudo to run mmaker.  Running it with sudo will only update root's openbox menu.  Try it without sudo and see if that fixes your problem.

Offline

#3 2015-09-17 02:31:49

r0ute
Member
Registered: 2015-07-15
Posts: 9

Re: Openbox Menu

Without sudo i was getting this error that's why i tried with sudo after.

Error:

[r0ute@arch ~]$ mmaker -vf OpenBox
* scanning
  desktop... 41 apps found
  legacy... 10 apps found
  debian... 49 apps found
* merging... 34 coincidings detected
* generating
  no terminal emulator specified; will use the default
  using Xterm as terminal emulator
* writing to ~/.config/openbox/menu.xml
Traceback (most recent call last):
  File "/usr/bin/mmaker", line 3, in <module>
    import MenuMaker.CLI
  File "/usr/share/menumaker/MenuMaker/CLI.py", line 300, in <module>
    file = open(file, "wt")
PermissionError: [Errno 13] Permission denied: '/home/r0ute/.config/openbox/menu.xml'

Offline

#4 2015-09-17 02:37:55

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,456
Website

Re: Openbox Menu

Break the habit of randomly using sudo when a command fails before you break your system.  "Sudo" does not mean "try harder".

What are the permissions of the menu.xml file and/or the openbox config directory?

If I were to guess, I suspect you successfully once ran that command (or a similar one - perhaps copying the example configs) with sudo, so that file is now owned by root - so you can't do things properly now until you delete the config file and start again.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#5 2015-09-17 06:49:30

txtsd
Member
Registered: 2014-10-02
Posts: 97
Website

Re: Openbox Menu

I recommend obmenu-generator over mmaker

A fast pipe/static menu generator for the Openbox Window Manager, with support for icons.


[CPU] AMD Ryzen 5 2400G
[GPU] AMD Radeon RX 7600 XT
[Kernel] linux-zen
[sway] [zsh] Arch user since [2014-09-01 02:09]

Offline

Board footer

Powered by FluxBB