You are not logged in.
Pages: 1
Hey guys, I want to have it where when I right click and select applications, I can select my games faster, but I am having trouble getting the executable right. I am using Openbox and under obmenu I do not know that I should type in for the command. I use urxvt for my console but I am not sure how I should write the command. I want it to where it opens a urxvt box and changes directory to the executable file and then open it. Can someone show my how to do that?
Thanks, I greatly appreciate it!
Ryan
Offline
You can use the '-e' option to run a terminal along with a command after opening the terminal:
urxvt -e /path/to/executable
flack 2.0.6: menu-driven BASH script to easily tag FLAC files (AUR)
knock-once 1.2: BASH script to easily create/send one-time sequences for knockd (forum/AUR)
Offline
I must be doing something wrong, For example if I want to got to load up Steam I type this:
urxvt -e ~/.wine/drive_c/Program\ Files/Valve/Steam/Steam.exe
When I try to run it, a console box opens and closes quickly, then nothing happens. Should I include the .exe file?
Thanks again!
Ryan
Offline
urxvt -e ~/.wine/drive_c/Program \ Files/Valve/Steam/Steam.exe
what about the "\"?
Offline
Shouldn't wine itself call the Windows executable?
Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy
Offline
This should work:
urxvt -e wine ~/.wine/drive_c/Program\ Files/Valve/Steam/Steam.exe
(like B said, wine should call the .exe)
Probably you don't need urxvt at all for this, so
wine ~/.wine/drive_c/Program\ Files/Valve/Steam/Steam.exe
is the way you want it.
Offline
Thanks aka_hans. that is how it should look. But when I do, I get this error:
Fatal Error: Could not load module "bin/vgui2.dll"
Weird.
And of course, steam is loaded on my linux harddrive, I know that if I did this with my windows harddrive it wouldn't work because its ntfs. I wonder why it does this. If I open up a urxvt and just go to the directory and run it like that, it works. odd... Any thoughts?
Offline
That seems to be a steam bug. Try
wine "c:\Program Files\Valve\Steam\Steam.exe"
Offline
That did the trick, thank you very much!
Offline
Pages: 1