Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have installed Guake terminal and I find it amazing. I have many scripts added as .desktop files in launcher.

Now I want these scripts to run in the Guake terminal instead of opening in the normal Gnome terminal. How can I achieve this?

The .desktop file is such:

  [Desktop Entry]
  Type=Application
  Terminal=true
  Icon=/path/to/icon/icon.svg
  Name=app-name
  Exec=/path/to/file/mount-unmount.sh
  Name=app-name
share|improve this question
    
Can you provide the contents of such a .desktop launcher? –  lumbric Jun 17 '12 at 14:21

1 Answer 1

up vote 7 down vote accepted

Just edit your .desktop file as below,

Exec=guake -e /path/to/script.sh

By default this starts hidden window and runs there. If you want to start it as visible window use,

Exec=guake -t -e /path/to/script.sh


For default terminal it is gnome-terminal

share|improve this answer
    
okay so i should add /bin/usr/guake/path/to/script.sh? as guake is located in /bin/usr/guake...i.e it is its command –  Nirmik Jun 17 '12 at 14:30
    
also,there is a space after /bin/usr/guake? like this- /bin/usr/guake /pathr/to/script.sh? –  Nirmik Jun 17 '12 at 14:32
    
which one should work? the one with space or without space? or that does not matter? –  Nirmik Jun 17 '12 at 14:34
    
okay...thankyou very much :) –  Nirmik Jun 17 '12 at 14:35
    
@virpara...umm its not working...it gets directed to guake but no execution takes place in guake... –  Nirmik Jun 17 '12 at 14:44

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.