Author Topic: <Solved>Command To Start GUI Program from Terminal  (Read 437 times)

Offline Ray2047

  • Hero Member
  • *****
  • Posts: 1504
<Solved>Command To Start GUI Program from Terminal
« on: January 11, 2011, 01:13:11 PM »
Gnu BG runs find when started from terminal but not from the app menu. I would like to change the app menu command so it starts in Konsol. I tried 'konsol /usr/games/gnubg -b' and 'konsol/ /usr/games/gnubg -b' but no luck.
« Last Edit: January 11, 2011, 02:50:00 PM by Ray2047 »
KDE 64 bit.
CPU: AMD Athlon II X2 250 Processor.
Display:  nVidia C61 [GeForce 7025 / nForce 630a.
Memory: 3Gb

Offline daniel

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3739
  • God knows, i'm not an Angel!
    • Tipps und Tricks
Re: Command To Start GUI Program from Terminal
« Reply #1 on: January 11, 2011, 01:16:14 PM »
maybe
konsole -e /usr/games/gnubg -b

or
xterm -e /usr/games/gnubg -b

should work  :)

What is with exec /usr/games/gnubg -b in a desktop file?


« Last Edit: January 11, 2011, 01:19:25 PM by blindschLeiche »

Offline old_guy

  • Hero Member
  • *****
  • Posts: 706
Re: Command To Start GUI Program from Terminal
« Reply #2 on: January 11, 2011, 01:56:31 PM »
Ray2047
In the Menu Editor:
Select GNU Backgammon
Select Advanced tab
Check Run in terminal box
Save

Should run

Earl
Never too old to learn.

Offline Ray2047

  • Hero Member
  • *****
  • Posts: 1504
Re: Command To Start GUI Program from Terminal
« Reply #3 on: January 11, 2011, 02:38:22 PM »
Quote
What is with exec /usr/games/gnubg -b in a desktop file?
I don't have a clue but that is the way Synaptic installed it.

Quote
In the Menu Editor:
Select GNU Backgammon
Select Advanced tab
Check Run in terminal box
Thanks, never did that, never knew why that choice was there. Makes sense though. I will try it.

Edit: Checking the Run In Terminal  box worked so I didn't try the others.
« Last Edit: January 11, 2011, 02:52:03 PM by Ray2047 »
KDE 64 bit.
CPU: AMD Athlon II X2 250 Processor.
Display:  nVidia C61 [GeForce 7025 / nForce 630a.
Memory: 3Gb