You are not logged in.
I am trying to create an openbox menu item that will open a man page. The execute command I'm trying to use (which doesn't work) is:
x-terminal-emulator man feh
I've tried variations with single quotes and semi colon between commands but I just can't figure out the syntax. man feh works fine when run in terminal.
Any help would be appreciated. BTW I'm a rookie.
Last edited by makarovnik (2019-11-26 04:44:57)
Offline
You need to pass the command to x-terminal-emulator. Try this...
x-terminal-emulator -T "feh man page" -e man feh
Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt «» BunsenLabs on DeviantArt
Offline
+1 damo.
This worked for what you're asking about in menu.xml here. The relevant snippet.
<action name="Execute"><execute>x-terminal-emulator -e 'man feh'</execute></action>
Dang it PS, you also need to logout/in to reload the openbox configs. Or someone can pop open a terminal in current session and run "openbox --reconfigure" or "openbox --restart", there's also "openbox --exit" too. Other such junk, just getting this in here cause it's cool knowing how to mess with openbox like that in terminal. Good cmds to know and can come in handy. Plus you'll look like a techno-ninja to your friends. Women dig geeks, it's a fact !
Last edited by BLizgreat! (2019-11-14 01:12:05)
Offline
Thanks guys.
Last edited by makarovnik (2019-11-14 04:58:46)
Offline
^ Welcome fellow nixer.
Offline
And if you want to keep the terminal session after quiting the "man feh" do...
x-terminal-emulator -T "feh man page" -e "bash -c 'man feh;$SHELL'"
<action name="Execute"><execute>x-terminal-emulator -T "feh man page" -e "bash -c 'man feh;$SHELL'"</execute></action>
Offline