Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Desktop Environments
  • Search

fluxbox menu question

Problems with GUI applications? Questions about X, KDE, Gnome, Fluxbox, etc.? Come on in. NOTE: For multimedia, go up one forum
Post Reply
Advanced search
5 posts • Page 1 of 1
Author
Message
sinisterdomestik
l33t
l33t
User avatar
Posts: 685
Joined: Thu Aug 28, 2003 5:09 am
Location: Texas

fluxbox menu question

  • Quote

Post by sinisterdomestik » Wed Jan 05, 2011 2:10 pm

Im not sure if this is possible, but I KNOW someone here knows the answer.

This is what I am wondering. Is it possible to make an entry in fluxbox menu that will:

A) open and Eterm --trans
B) su -
C) cd /home/etc/etc/wine/etc/etc/game_dir/etc/etc
D) wine game

Far fetched, but Im tired of doing it all myself lol.

Thank you in advance
Thou shalt NEVER speak of removing thine Linux
Top
Ahenobarbi
Retired Dev
Retired Dev
User avatar
Posts: 345
Joined: Thu Apr 02, 2009 6:54 pm
Location: Warsaw, PL

  • Quote

Post by Ahenobarbi » Wed Jan 05, 2011 2:17 pm

Try putting

Code: Select all

[exec] (Game) {Eterm --trans -e "su -c cd /home/etc/etc/wine/etc/etc/game_dir/etc/etc\;wine game"}
in your menu. BTW why do you need su ?
Top
sinisterdomestik
l33t
l33t
User avatar
Posts: 685
Joined: Thu Aug 28, 2003 5:09 am
Location: Texas

  • Quote

Post by sinisterdomestik » Wed Jan 05, 2011 2:33 pm

Ill give that a shot thanks.

I have to su because this particular game wont run as reg user. It crashes every time :( It is quite the epic fail

/EDIT

After I run it, I get this error in the eterm

Code: Select all

Eterm: Error execp() failed: can not execute "su - c cd /home/sinister/.wine/drive_c/Program\ Files/NOT_SAYING_GAME_NAME/; wine GAME_NAME_GONE.exe" no such file or directory
Thou shalt NEVER speak of removing thine Linux
Top
Bzub
Tux's lil' helper
Tux's lil' helper
Posts: 89
Joined: Sat Dec 25, 2004 11:21 am
Location: Belgium

  • Quote

Post by Bzub » Wed Jan 05, 2011 5:58 pm

sinisterdomestik wrote:Ill give that a shot thanks.

I have to su because this particular game wont run as reg user. It crashes every time :( It is quite the epic fail

/EDIT

After I run it, I get this error in the eterm

Code: Select all

Eterm: Error execp() failed: can not execute "su - c cd /home/sinister/.wine/drive_c/Program\ Files/NOT_SAYING_GAME_NAME/; wine GAME_NAME_GONE.exe" no such file or directory
try

Code: Select all

[exec] (Game) {Eterm --trans -e "su -c 'cd /home/etc/etc/wine/etc/etc/game_dir/etc/etc\;wine game' "} 
quotation do matter allot in bash.
you could also make a executable bash file, put that in a directory, add that directory in your path (at the end) and execute it[/code].

Also:
try to find a fix so that you can run that particular game as a regular user.
First things to look at are:
* is my user in groups video,audio,games? (or whatever groups you have)
* can I run any opengl stuff as regular user (I couldn't even run openoffice once after a driver update apparently you need it for the splash screen)
but meh fix it asap.

good luck.

Edit:

Code: Select all

[exec] (Game) {Eterm --trans -e "su -c 'wine /home/etc/etc/wine/etc/etc/game_dir/etc/etc/game' "} 
should work fine to.
Top
sinisterdomestik
l33t
l33t
User avatar
Posts: 685
Joined: Thu Aug 28, 2003 5:09 am
Location: Texas

  • Quote

Post by sinisterdomestik » Thu Jan 06, 2011 10:35 am

Been looking into why user cant run the game, and nothing comes to mind yet. I have the user added to video, audio, game, anything that would correspond to it. The odd thing is, user can run my guild wars just fine, but this unmentioned game :D and a few others Ive tried will only run as root. They will install under wine as user fine, they just crash when trying to run the actual game as user.

Code: Select all

[exec] (Game) {Eterm --trans -e "su -c 'cd /home/etc/etc/wine/etc/etc/game_dir/etc/etc\;wine game' "} 
gives the same error as before. I dont know how to make bash files, although Im sure its not THAT hard, but otherwise, unless there is a serious security issue with it, I guess I am destined to run this particular app as root until I can figure out whats going on.

Any other suggestions on the menu entry and/or fixing the crash problem are still greatly appreciated.
Thou shalt NEVER speak of removing thine Linux
Top
Post Reply

5 posts • Page 1 of 1

Return to “Desktop Environments”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic