You are not logged in.

#1 2010-07-09 09:39:46

Ventil1
Member
Registered: 2010-03-17
Posts: 138

I run 2 conkys. Command to kill just 1? [Solved]

I run 1 conky in my bottom right corner all the time. The 2nd conky is started when I left click on the clock in the upper right corner.
Now I would like to kill the 2nd conky when I right click the clock. How can I do that? Can someone please help me?

2010-07-09--1278667992_1366x768_scrot.png


Clock command in my tint2 panel:

#---------------------------------------------
# CLOCK
#---------------------------------------------
time1_format = %H:%M
time1_font = sans bold 8
time2_format = %b %d
time2_font = sans 6
clock_font_color = #ffffff 84
clock_padding = 4 2
clock_background_id = 1
[b]clock_lclick_command = conky -c  ~/.conkyrc2
#clock_rclick_command = zenity --calendar[/b]
clock_tooltip = %A %d %B

Last edited by Ventil1 (2010-07-09 14:57:21)

Offline

#2 2010-07-09 10:22:05

kazuo
Member
From: São Paulo/Brazil
Registered: 2008-03-18
Posts: 413
Website

Re: I run 2 conkys. Command to kill just 1? [Solved]

pkill -f  'conky.*~/.conkyrc2'

man pkill (an pgrep to test)

Offline

#3 2010-07-09 10:46:12

frigaut
Member
From: Canberra, Australia
Registered: 2009-05-10
Posts: 215
Website

Re: I run 2 conkys. Command to kill just 1? [Solved]

Nice desktop (I have a similar set-up with conky-lua). Can you share the wallpaper?


Archer since 03/2009 - AUR packages

Offline

#4 2010-07-09 11:18:31

Ventil1
Member
Registered: 2010-03-17
Posts: 138

Re: I run 2 conkys. Command to kill just 1? [Solved]

Offline

#5 2010-07-09 13:59:47

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: I run 2 conkys. Command to kill just 1? [Solved]

*Don't* post full-scale pics!
Please, resize them - you should post only thumbnails.

Offline

#6 2010-07-09 14:06:03

Ventil1
Member
Registered: 2010-03-17
Posts: 138

Re: I run 2 conkys. Command to kill just 1? [Solved]

kazuo wrote:
pkill -f  'conky.*~/.conkyrc2'

man pkill (an pgrep to test)

Hey kazuo thx for this. It works now. But I had to use with full path to home like this

pkill -f  'conky -c /home/myusername/.conkyrc2'

EDIT: deleted double space between -c and /home. Doesn't work then

Last edited by Ventil1 (2010-07-09 14:12:06)

Offline

#7 2010-07-09 14:34:49

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: I run 2 conkys. Command to kill just 1? [Solved]

Great!

Just as a side note, when you think your questions have been answered, it is considered good practice to mark your thread as solved, by editing your first post and changing the subject line and prefixing [SOLVED] to it.

That way, people who have a similar problem can find solutions quickly rather than going thru numerous threads. It also helps other forum users to utilize their time in helping others smile


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#8 2010-07-09 14:57:05

Ventil1
Member
Registered: 2010-03-17
Posts: 138

Re: I run 2 conkys. Command to kill just 1? [Solved]

I allways do that. Forgot it this time

Offline

#9 2010-07-09 15:51:42

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: I run 2 conkys. Command to kill just 1? [Solved]

Ventil1 wrote:

I allways do that. Forgot it this time

No big deal. I just wasn't sure if you knew about it.


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#10 2010-07-09 21:13:12

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,595
Website

Re: I run 2 conkys. Command to kill just 1? [Solved]

@op - can you post your .conkyrc files?  I've never see that speedometer gauge before.


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#11 2010-07-10 06:57:10

Ventil1
Member
Registered: 2010-03-17
Posts: 138

Re: I run 2 conkys. Command to kill just 1? [Solved]

Offline

Board footer

Powered by FluxBB