Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
datei ausführen in .fluxbox/menu
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
P2SK
n00b
n00b


Joined: 10 Dec 2003
Posts: 47
Location: Germany

PostPosted: Tue Dec 16, 2003 4:41 pm    Post subject: datei ausführen in .fluxbox/menu Reply with quote

Servus!
ich versuche eine selbstgeschriebene datei über das rightclick-menu von fluxbox auszuführen.

habe eine extra sparte angelegt, die 'Skripte' heißt und versuche darüber die datei auszuführen!

Code:

[submenu] (Skripte)
[exec] (EtermSkript) {/home/p2sk/Dateien/test.sh}
[end]


es funktioniert soweit, nur das er jede zeile einzeln ausführt!
wie kann ich das umgehen??

das auszuführende skript:
Code:

#!/bin/bash
#EtermSkript

Eterm -O --tint red -g 81x24+0+15
Eterm -O --tint green -g 81x24+505+15
Eterm -O --tint blue -g 81x24+0+395
Eterm -O --tint yellow -g 81x24+505+395
Back to top
View user's profile Send private message
Floggy
n00b
n00b


Joined: 07 May 2003
Posts: 34

PostPosted: Tue Dec 16, 2003 4:50 pm    Post subject: Reply with quote

Setz mal hinter jede Eterm Zeile ein "&", also dass es so aussieht:

Code:

#!/bin/bash
#EtermSkript
 
Eterm -O --tint red -g 81x24+0+15 &
Eterm -O --tint green -g 81x24+505+15 &
Eterm -O --tint blue -g 81x24+0+395 &
Eterm -O --tint yellow -g 81x24+505+395 &
Back to top
View user's profile Send private message
P2SK
n00b
n00b


Joined: 10 Dec 2003
Posts: 47
Location: Germany

PostPosted: Tue Dec 16, 2003 4:56 pm    Post subject: Reply with quote

Jo wars schon!!!!
Danke
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum