5

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
1
  • Can you provide the contents of such a .desktop launcher?
    – lumbric
    Jun 17, 2012 at 14:21

1 Answer 1

7

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

6
  • 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, 2012 at 14:30
  • also,there is a space after /bin/usr/guake? like this- /bin/usr/guake /pathr/to/script.sh?
    – Nirmik
    Jun 17, 2012 at 14:32
  • which one should work? the one with space or without space? or that does not matter?
    – Nirmik
    Jun 17, 2012 at 14:34
  • @virpara...umm its not working...it gets directed to guake but no execution takes place in guake...
    – Nirmik
    Jun 17, 2012 at 14:44
  • okay that worked but that dint initiate guake by itself...i had to press the hotkey to bring it up n then saw the stuff running there...cant it be made to pop up asa the script starts running?
    – Nirmik
    Jun 17, 2012 at 18:50

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .