Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
kahakai menu scripts problem
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
kKDu
Apprentice
Apprentice


Joined: 18 Aug 2003
Posts: 187

PostPosted: Thu Feb 26, 2004 8:48 pm    Post subject: kahakai menu scripts problem Reply with quote

I like the idea of menu scripts.
But I have the problem, that running a command with that
<!script>-command chrashes kahakai.

For example, I let show me the mount-status by a shell script:
Code:

...
if [ "$STATUS_USBSTICK" = "/dev/sda" ]; then
  echo "[item] ([*] USB-Stick) {}"
else
  echo "[item] ([ ] USB-Stick) {}"
fi


This works fine. But if I put some command in the {}, it chrashes kahakai
by clicking it in the menu to run the command.

The same problem appears with this poor script:
Code:

#!/bin/bash
echo "[item] (Mozilla) {mozilla}"

_________________
http://www.vim.org
Back to top
View user's profile Send private message
Stu L Tissimus
Veteran
Veteran


Joined: 08 Jun 2003
Posts: 1339
Location: NJ, 5 minutes from NYC

PostPosted: Thu Feb 26, 2004 9:23 pm    Post subject: Reply with quote

Hmmm... Let me take a look. *is the guy who wrote how to make a kahakai menu script in the wiki*
_________________
old outdated sig
Back to top
View user's profile Send private message
kKDu
Apprentice
Apprentice


Joined: 18 Aug 2003
Posts: 187

PostPosted: Thu Feb 26, 2004 9:27 pm    Post subject: Reply with quote

I run kahakai-0.6.2
_________________
http://www.vim.org
Back to top
View user's profile Send private message
Stu L Tissimus
Veteran
Veteran


Joined: 08 Jun 2003
Posts: 1339
Location: NJ, 5 minutes from NYC

PostPosted: Thu Feb 26, 2004 9:46 pm    Post subject: Reply with quote

Hmmm... *is getting closer and closer*

I now know how to understand Bash script. Give me a while...

EDIT: Interesting. Very interesting. Kahakai executes the command, then crashes. I'll contact PrinceOfChaos. Thanks for the heads up about this bug! </pretendingtobeinvolvedinthekahakaiproject>
_________________
old outdated sig
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments 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