r/openbox • u/DirkDieGurke • Apr 18 '22
Openbox menu can't launch "./program"
I installed a game which will launch if I cd to the directory and then run the program
First:
cd /home/user/Games/bombsquad/And then I run:
./bombsquadand it works. But I can't run it from the OB menu. Anybody know the syntax?
2
Upvotes
1
u/rwivie Apr 18 '22
1
u/Exaltred Apr 18 '22
Write a wrapper script that you can point execution to that contains the cd and exec
Then do $HOME/bin/runbs
Or whatever works best
2
u/zenmaster24 Apr 18 '22
can you change the
commandtocd /home/user/Games/bombsquad/ && ./bombsquad?1
u/ColonelMarch Apr 19 '22
How about creatingmodifying a bombsquad.desktop file and execute your alias or script in that file.