SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2010-04-22 06:41:36

Andreas
#! Junkie
Registered: 2010-01-26
Posts: 277

Restart tint2

When working on my tint2rc, I hate stopping and starting it everytime I made a change.  So, I wrote a bash script to do it for me smile It also kills volwheel and starts it again: this is because of ending tint2 resulting volwheel not to show up in the systemtray anymore.

#!/bin/bash
(killall -e tint2) &
(killall -e perl /usr/share/volwheel/volwheel) &
(sleep 1s && tint2) & 
(sleep 2s && /usr/bin/volwheel) & 
(sleep 5s && exit )

Hopefully someone finds it useful!


Meh. Interested for a Dropbox alternative? Go to https://launchpad.net/tart

Offline

Help fund CrunchBang, donate to the project!

#2 2010-04-22 07:55:15

Tunafish
#! Die Hard
From: the Netherlands
Registered: 2010-03-07
Posts: 1,201

Re: Restart tint2

I do!
Dankjewel!

Last edited by Tunafish (2010-04-22 07:55:46)


sed 's/stress/relaxation/g'
Privacy & Security on #!

Offline

#3 2010-04-22 09:06:33

Piraja
#! Die Hard
From: Lost River Lake
Registered: 2009-02-19
Posts: 523

Re: Restart tint2

Tunafish wrote:

I do!
Dankjewel!

So do I!
Dankjewel, kiitos paljon!


I never use smilies, but there are exceptions that prove the rule wink
Now playing: Libre.fm

Offline

#4 2010-04-22 13:14:36

Andreas
#! Junkie
Registered: 2010-01-26
Posts: 277

Re: Restart tint2

Thanks for finding it useful! Nice to know I helped some with it


Meh. Interested for a Dropbox alternative? Go to https://launchpad.net/tart

Offline

#5 2010-04-22 14:35:39

safetycopy
urban legend
From: The Chatsubo
Registered: 2010-04-03
Posts: 1,311

Re: Restart tint2

Handy little script - thanks! :-)


i wonder if i missed the warning
Skinny Puppy, Love in Vein

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.

Debian Logo