LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 09-21-2008, 11:11 AM   #1
glore2002
Member
 
Registered: Mar 2007
Location: Buenos Aires, Argentina.
Distribution: Debian Lenny AMD64
Posts: 506

Rep: Reputation: 32
Setting conky after installing it.


I've just installed conky (from SlackBuilds.org). It seem to be a nice and useful application.

If I type conky at CL, it starts showing a little windows on the lower left side of my screen. I was not able to find conky as a menu entry (in Kmenu).

Now, I would like to setup conky to show info I want on the screen everytime I turn on my computer (as I see many people do).

I will really appreciate if someone could help me doing so.

Thanks in advance,
Glore2002.-
 
Old 09-21-2008, 12:36 PM   #2
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware-current, Cross Linux from Scratch, Gentoo
Posts: 2,751
Blog Entries: 1

Rep: Reputation: 238Reputation: 238Reputation: 238
http://conky.sourceforge.net/docs.html
http://conky.sourceforge.net/variables.html
http://conky.sourceforge.net/config_settings.html
 
Old 09-21-2008, 03:44 PM   #3
glore2002
Member
 
Registered: Mar 2007
Location: Buenos Aires, Argentina.
Distribution: Debian Lenny AMD64
Posts: 506

Original Poster
Rep: Reputation: 32
Thanks weibullguy for your reply. After reading those documents plus this one:

http://www.linux.com/feature/136147

I've finally configured .conkyrc.

Now, I would like to make conky to start when slackware starts and make it look transparent with no borders as some people do.

Thanks,
Glore2002.-
 
Old 09-21-2008, 05:47 PM   #4
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware-current, Cross Linux from Scratch, Gentoo
Posts: 2,751
Blog Entries: 1

Rep: Reputation: 238Reputation: 238Reputation: 238
Did you really look at the links I provided? Take a look at the third link again to get pseudo-transparency and no borders.
 
Old 09-21-2008, 07:18 PM   #5
glore2002
Member
 
Registered: Mar 2007
Location: Buenos Aires, Argentina.
Distribution: Debian Lenny AMD64
Posts: 506

Original Poster
Rep: Reputation: 32
Thanks again. Conky transparency and KDE are not very good friends as far as I can see.
If I set conky to become transparent, icons on my desktop disappear. Strange behavior. I will read the links again and I will keep trying to solve this.

So, if any of you has conky working transparently with KDE and Slackware 12.1, please let me know how you did that step by step. I will appreciate it.

Glore2002.-

Last edited by glore2002; 09-21-2008 at 07:37 PM.
 
Old 09-22-2008, 12:27 PM   #6
Woodsman
Senior Member
 
Registered: Oct 2005
Distribution: Slackware 14.1
Posts: 3,482

Rep: Reputation: 534Reputation: 534Reputation: 534Reputation: 534Reputation: 534Reputation: 534
Quote:
So, if any of you has conky working transparently with KDE and Slackware 12.1, please let me know how you did that step by step. I will appreciate it.
I gave up on the typical kludge solution for conky transparency. I configure the conky background color to the same as my desktop color. Same result/effect as transparency.

Quote:
Now, I would like to make conky to start when slackware starts and make it look transparent with no borders as some people do.
I wrote a shell script and then from within KDE, created a desktop file. I placed the desktop file in the $HOME/.kde/Autostart directory.

conky.desktop:

Code:
[Desktop Entry]
Encoding=UTF-8
Name=Conky
Comment=Conky
Exec[$e]=/usr/local/bin/run_conky
StartupNotify=false
Terminal=false
Type=Application
X-KDE-SubstituteUID=false
 
Old 09-22-2008, 03:28 PM   #7
glore2002
Member
 
Registered: Mar 2007
Location: Buenos Aires, Argentina.
Distribution: Debian Lenny AMD64
Posts: 506

Original Poster
Rep: Reputation: 32
I also gave up on trying to set transparency for conky. I did the same you did: Changing background color.

In order to autostart conky, I've made the following:

Code:
$> cd /home/user/.kde/Autostart
$> ln -s /usr/bin/conky /home/user/.kde/Autostart
It works but now I see your post and have to ask if I did well or not. Please, let me know advantages of doing it the way you do.

Thank you!
Glore2002.-
 
Old 09-22-2008, 07:40 PM   #8
Woodsman
Senior Member
 
Registered: Oct 2005
Distribution: Slackware 14.1
Posts: 3,482

Rep: Reputation: 534Reputation: 534Reputation: 534Reputation: 534Reputation: 534Reputation: 534
You do not need to create a shell script. What you did will work fine.

I use a script primarily because if I have my external backup drive connected, I want to display that drive's temperature too. My script runs the usual conkyrc config file to display the usual parameters, but the script manually runs a second instance of conky to display only the backup drive.

Code:
if [ -n "$BACKUPDISK" ]; then
  X_POS="280"
  Y_POS="297"
  COLOR="`grep 'Box name' $CONKYRC | awk '{print $2}' | sed 's/\}Box//'`"
  /usr/bin/conky -t '${color '$COLOR'}'$DRIVEMODEL'('${BACKUPDISK:5:3}') Temp:${color white} ${hddtemp '$BACKUPDISK'}' -x $X_POS -y $Y_POS &>/dev/null
fi
 
Old 09-23-2008, 01:33 PM   #9
muskrat
Member
 
Registered: Feb 2005
Location: Gulf-Coast TX-MX
Distribution: ArchLinux / Slackware 12.1
Posts: 39

Rep: Reputation: 15
Using .kde autostart is fine in KDE, but what about the other desktops.

isn't there a way to get them to auto start no matter which desktop you use?
 
Old 09-23-2008, 01:59 PM   #10
Woodsman
Senior Member
 
Registered: Oct 2005
Distribution: Slackware 14.1
Posts: 3,482

Rep: Reputation: 534Reputation: 534Reputation: 534Reputation: 534Reputation: 534Reputation: 534
Quote:
Using .kde autostart is fine in KDE, but what about the other desktops.
The stock Slackware comes only with one other desktop environment: Xfce. In Xfce, open the system menu and from the Settings option, select Autostarted applications. The Xfce config files are stored at $HOME/.config/autostart.

I haven't a clue how to do similarly with the various window managers packaged with Slackware, but many Slackers here at LQ can help with that area.

Quote:
isn't there a way to get them to auto start no matter which desktop you use?
To my knowledge, there is no common autostart location for all desktops and window managers. There should be!

As well as a common autoshutdown location too. KDE has the $HOME/.kde/shutdown directory, but I don't know whether Xfce or the window managers have anything similar.
 
Old 09-23-2008, 02:30 PM   #11
C-Sniper
Member
 
Registered: Dec 2006
Distribution: Slackware
Posts: 507

Rep: Reputation: 33
glore:
no matter what, conky cannot be transparent with KDE. the only way to get it to be transparent is to use multiple applications ( i think that they are referenced on the conky website) to redraw the root window with your background. Conky transparency relies on the root window which in slackware is black.
 
Old 09-23-2008, 04:03 PM   #12
glore2002
Member
 
Registered: Mar 2007
Location: Buenos Aires, Argentina.
Distribution: Debian Lenny AMD64
Posts: 506

Original Poster
Rep: Reputation: 32
Thumbs up

Thanks my friends!
Very clear posts.

Conclusion: Conky can't be transparent in KDE. Transparent means Black. So, best solution I've found was setting its background color to desktop color.

Thank you very much,
Glore2002.-
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Help with Conky Smitty67 Slackware 24 07-12-2009 05:30 PM
Need Help with Conky slickhare Linux - Newbie 7 05-06-2009 03:15 AM
Conky on Suse 10.0 - *** buffer overflow detected *** conky terminated Slidex Linux - Software 1 03-17-2006 12:50 PM
conky help ahh_dee Linux - Software 2 10-28-2005 02:40 PM
conky/torsmo help anticapitalista MEPIS 2 08-29-2005 01:18 PM


All times are GMT -5. The time now is 05:17 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration