Results 1 to 8 of 8

Thread: calling a bash script from quicklist

Threaded View

  1. #1
    Join Date
    Oct 2010
    Location
    Sweden
    Beans
    690
    Distro
    Ubuntu 14.04 Trusty Tahr

    calling a bash script from quicklist

    Hi Everyone,

    I have been using todo.txt a command line script to write todo lists.
    I'd like to have a launcher in the dock like thing Ubuntu has on the side,so that I can click the icon and have the terminal popup showing the to do list.

    Usually, I can do this in the terminal by typing t (the alias to call the script) and typing ls - then I see the list.

    I thought it would be cool to just click an icon in the dock thing and have that happen automatically.

    I've got the quicklist and I can get it to call a script that almost works.

    The problem is that about a nano-second after showing me the list of things I need to do, the terminal window disappears. Does anyone know how I can make it stay open until I close it?

    The script I'm using is very simple:

    Code:
    #!/bin/bash
    terminal 
    ~/scripts/todo.sh ls
    Any ideas?
    I'd really appreciate some guidance. This is bugging me
    Last edited by GrouchyGaijin; March 8th, 2013 at 08:16 PM. Reason: solved
    Thank you,
    GG -----------
    GUI we don't need no stinking GUI: A collection of Bash scripts
    Mutt (email), cmus (music),Google Calendar and Google Tasks cli

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •