View previous topic :: View next topic |
Author |
Message |
AliasXZ l33t
Joined: 08 Feb 2005 Posts: 847 Location: England, Wakefield
|
Posted: Tue Oct 17, 2006 12:19 pm Post subject: fluxbox question (solved) |
|
|
Sorry for being a n00b guys but....
in my fluxbox menu, how can i make it so i can run things from a console? I have Xterm and Aterm installed...
cheers _________________ Main:
Kernel: 5.4.38 amd64
RAM: 4GB
Lappy:
Macbook Pro 10.14.6
------------------------------
Please add (solved) to your first post when your issue is resolved
Last edited by AliasXZ on Tue Oct 17, 2006 4:32 pm; edited 1 time in total |
|
Back to top |
|
|
zsoltika l33t
Joined: 13 Nov 2003 Posts: 634 Location: Budapest, Hungary
|
Posted: Tue Oct 17, 2006 1:00 pm Post subject: |
|
|
Quote: | # man xterm
...
-e program [ arguments ... ]
This option specifies the program (and its command line arguments) to be run in the xterm window. It also sets the window title and icon name to be the basename of the program being executed if neither -T nor -n are given on the command line.
This must be the last option on the command line. |
So e.g. would run Midnight commander in a terminal.
BTW check 'fluxbox-generate_menu' command as well...
HTH _________________ Do not believe that Guru thing under my nickname. |
|
Back to top |
|
|
swimmer Veteran
Joined: 15 Jul 2002 Posts: 1330 Location: Netherlands
|
Posted: Tue Oct 17, 2006 1:01 pm Post subject: |
|
|
Put a line like Quote: | [exec] (AlsaMixer) {urxvt -title alsamixer -e alsamixer} | in your ~/.fluxbox/menu file ...
HTH
swimmer
PS: the '-e' part is the important one |
|
Back to top |
|
|
AliasXZ l33t
Joined: 08 Feb 2005 Posts: 847 Location: England, Wakefield
|
Posted: Tue Oct 17, 2006 3:18 pm Post subject: |
|
|
cheers _________________ Main:
Kernel: 5.4.38 amd64
RAM: 4GB
Lappy:
Macbook Pro 10.14.6
------------------------------
Please add (solved) to your first post when your issue is resolved |
|
Back to top |
|
|
AliasXZ l33t
Joined: 08 Feb 2005 Posts: 847 Location: England, Wakefield
|
Posted: Tue Oct 17, 2006 4:00 pm Post subject: |
|
|
hmm another ques...
how do u cd to a directoy and then do a second command in the same console using the fluxbox menu?
I have wine and some games I have dont like running from the home dir, so i have to cd to the games dir, how would i those 2 commands off in the fluxbox menu file?
cheers _________________ Main:
Kernel: 5.4.38 amd64
RAM: 4GB
Lappy:
Macbook Pro 10.14.6
------------------------------
Please add (solved) to your first post when your issue is resolved |
|
Back to top |
|
|
a16b03 Apprentice
Joined: 21 Mar 2006 Posts: 253 Location: Riga, Latvia
|
Posted: Tue Oct 17, 2006 4:10 pm Post subject: |
|
|
Use && between commands. |
|
Back to top |
|
|
AliasXZ l33t
Joined: 08 Feb 2005 Posts: 847 Location: England, Wakefield
|
Posted: Tue Oct 17, 2006 4:12 pm Post subject: |
|
|
thats what i thought - tried it but for some reason it didnt work,i have:
Code: | [exec] (Steam) {aterm -e cd /home/rich/c_drive/Program\ Files/Steam/ && wine STEAM.exe} |
do u need to put the -e arg before the cd, before wine or both?
cheers for help _________________ Main:
Kernel: 5.4.38 amd64
RAM: 4GB
Lappy:
Macbook Pro 10.14.6
------------------------------
Please add (solved) to your first post when your issue is resolved |
|
Back to top |
|
|
widremann Veteran
Joined: 14 Mar 2005 Posts: 1314
|
Posted: Tue Oct 17, 2006 4:27 pm Post subject: |
|
|
AliasXZ wrote: | thats what i thought - tried it but for some reason it didnt work,i have:
Code: | [exec] (Steam) {aterm -e cd /home/rich/c_drive/Program\ Files/Steam/ && wine STEAM.exe} |
do u need to put the -e arg before the cd, before wine or both?
cheers for help |
Just quote the whole thing: {aterm -e "cd /home/rich/c_drive/Program\ Files/Steam/ && wine STEAM.exe"} |
|
Back to top |
|
|
AliasXZ l33t
Joined: 08 Feb 2005 Posts: 847 Location: England, Wakefield
|
Posted: Tue Oct 17, 2006 4:32 pm Post subject: |
|
|
cheers, I thought quoting wouldnt work because thats what you do in windows command prompt :p
thanks sorry for being n00by (having a bad day) _________________ Main:
Kernel: 5.4.38 amd64
RAM: 4GB
Lappy:
Macbook Pro 10.14.6
------------------------------
Please add (solved) to your first post when your issue is resolved |
|
Back to top |
|
|
|