You are not logged in.

#1 2008-04-15 15:44:17

PuppyWhirl
Member
Registered: 2008-04-07
Posts: 99

Obmenu

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

#2 2008-04-15 15:46:54

dyscoria
Member
Registered: 2008-01-10
Posts: 1,007

Re: Obmenu

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

#3 2008-04-15 18:36:45

PuppyWhirl
Member
Registered: 2008-04-07
Posts: 99

Re: Obmenu

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

#4 2008-04-15 18:45:52

koch
Member
From: Germany
Registered: 2008-01-26
Posts: 369

Re: Obmenu

urxvt -e ~/.wine/drive_c/Program      \       Files/Valve/Steam/Steam.exe

what about the "\"?

Offline

#5 2008-04-15 18:50:06

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: Obmenu

Shouldn't wine itself call the Windows executable?


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#6 2008-04-15 19:20:17

aka_hans
Member
Registered: 2008-03-13
Posts: 17

Re: Obmenu

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

#7 2008-04-15 19:54:59

PuppyWhirl
Member
Registered: 2008-04-07
Posts: 99

Re: Obmenu

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

#8 2008-04-16 08:15:03

aka_hans
Member
Registered: 2008-03-13
Posts: 17

Re: Obmenu

That seems to be a steam bug. Try
wine "c:\Program Files\Valve\Steam\Steam.exe"

http://bugs.winehq.org/show_bug.cgi?id=6476

Offline

#9 2008-04-16 17:43:58

PuppyWhirl
Member
Registered: 2008-04-07
Posts: 99

Re: Obmenu

That did the trick, thank you very much!

Offline

Board footer

Powered by FluxBB