Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Gnome custom application launcher [SOLVED]
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
SerialPrecision
n00b
n00b


Joined: 21 May 2007
Posts: 65

PostPosted: Fri May 02, 2008 10:44 pm    Post subject: Gnome custom application launcher [SOLVED] Reply with quote

I was wondering if there was a way to make a custom application launcher than runs in a terminal and then keeps the terminal open after its done. I was rsync-ing my iPod with an application launcher button from the gnome panel but after it finishes the terminal closes and I can't see the stats that rsync displays at the end. I couldn't find an option to do this :?

Last edited by SerialPrecision on Sun May 04, 2008 12:20 am; edited 1 time in total
Back to top
View user's profile Send private message
timeBandit
Administrator
Administrator


Joined: 31 Dec 2004
Posts: 2667
Location: here, there or in transit

PostPosted: Fri May 02, 2008 11:24 pm    Post subject: Reply with quote

Wrap your rsync command in a little script, like so, and change your launcher to to run the script in a terminal:
Code:
#!/bin/sh
rsync blah blah blah ...
read -p "Press Enter to close..."

_________________
Plants are pithy, brooks tend to babble--I'm content to lie between them.
Super-short f.g.o checklist: Search first, strip comments, mark solved, help others.
Back to top
View user's profile Send private message
SerialPrecision
n00b
n00b


Joined: 21 May 2007
Posts: 65

PostPosted: Sun May 04, 2008 12:20 am    Post subject: Reply with quote

Awesome, thanks a lot!
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