I am running Mint19 with XFCE, using Openbox as my window manager.
I am trying to get obmenu-generator running but I cannot seem to figure out what's missing. Below I will list all steps followed, and hopefully all pertinent outputs. If you need others, please let me know. *Between each of these steps, and multiple times otherwise, I ran openbox --reconfigure && openbox --restart. I have even rebooted a few times, but I cannot enact the change I seek*
1.) I followed this page. When it prompts to run
Code: Select all
obmenu-generator -p -i
Code: Select all
mkdir /home/tom/.config/obmenu-generator: File exists at /usr/bin/obmenu-generator line 194.
2.) Digging deeper I read the INSTALL.MD file that comes with the pull, a copy of which can be found here. In it, it requires placing the obmenu-generator folder you get from the pull into the PATH. I have done so by editing my .profile file. The folder now appears on the PATH, at the end.
Code: Select all
echo $PATH
/home/tom/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/home/obmenu-generator
3.)I tried removing the existing menu, to "force" the use of another menu file (hoping that would be obmenu-generator) by:
Code: Select all
~/.config/openbox$mv menu.xml ./menu.xml.bak
I'm sort of at a loss, I'm not sure what's going on exactly. It seems I've followed all the installation instructions, but I clearly missed something. My guess is I need to update the rc.xml file in some way, but I'm not sure what way that is. Pertaining to that, however, I have already in my rc.xml file the lines
Code: Select all
<mousebind button="Right" action="Press">
<action name="ShowMenu">
<menu>root-menu</menu>
</action>
</mousebind>
Code: Select all
my $menu_id = "root-menu";
Any and all help will be appreciated, even if that help is "please post this on a different forum because it's not explicitly XFCE/Mint related"
-Tom
Resolution
Investigating the error found at line 194 of /usr/bin/obmenu-generator I realized the code was attempting to call a file path that didn't exist. In line 51, obmenu-generator defines the config directory as
Code: Select all
my $xdg_config_home = "$home_dir/.config/obmenu-generator";
The fix was multi-part.
-I deleted the file in ~/.config with
Code: Select all
rm ~/.config/obmenu-generator
Code: Select all
mv obmenu-generator/ ~/.config/obmenu-generator
Code: Select all
cd .config/
sudo chmod -R u=rwx obmenu-generator
-Run
Code: Select all
openbox --reconfigure && openbox --restart
obmenu-generator -p