LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 07-11-2009, 11:44 AM   #16
Fallhallen
LQ Newbie
 
Registered: May 2009
Location: Sweden
Distribution: Laptop: Slackware 4.0; Desktop: Slackware 12.2
Posts: 13

Rep: Reputation: 0

Finally got it installed, pkg-config was not in the path. Guess that sorta helps.
 
Old 07-11-2009, 02:16 PM   #17
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; Slackware64-current (VM); Debian 12 (VM)
Posts: 8,290
Blog Entries: 61

Rep: Reputation: Disabled
There's a SlackBuild for Conky. It's for 12.2, so I don't know if it's OK for -current.
http://slackbuilds.org/repository/12.2/system/conky/
 
Old 07-11-2009, 02:48 PM   #18
Fallhallen
LQ Newbie
 
Registered: May 2009
Location: Sweden
Distribution: Laptop: Slackware 4.0; Desktop: Slackware 12.2
Posts: 13

Rep: Reputation: 0
Quote:
Originally Posted by brianL View Post
There's a SlackBuild for Conky. It's for 12.2, so I don't know if it's OK for -current.
http://slackbuilds.org/repository/12.2/system/conky/
yea, I saw that. But it would not compile either because pkg-config was not in the $PATH. Once I fixed that, I just compiled it from source and everything works great now. All I have to do now is waste time playing around with the .conkyrc file making it look all pretty and custom.

Thanks for the fast replies though!
 
Old 07-11-2009, 03:04 PM   #19
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Rep: Reputation: Disabled
No problems here with pkg-config on -current with conky 1.7.1.1

I would suggest doing an update via slackpkg to the latest - use upgrade-all and install-new. If you still get the same problem it has to to be a configuration problem with -current on your box.
 
Old 07-11-2009, 05:57 PM   #20
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
request for .conkrc and screenshots

Since the interest in conky is here, would some of you using it be
willing to post a screenshot and .conkyrc of yours? At present I'm
using someone else's .conkyrc (edited), and it's much wider than my
preference.

I got the pseudo transparency working, but the image of my desktop
through conky is some pixels off from the background. When I get a
config of my own, and get that issue fixed, I'll post them. I'm
using conky-1.7.1.1 in Slackware64 -current (01 July 2009).
 
Old 07-11-2009, 06:15 PM   #21
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
Here are a couple, 3 conkyrc's I use
( http://multidistro.com/tinycore-shots/tc-scrnshots.html )

here is pmagic conkyrc

Code:
# the list of variables has been removed from this file in favour
# of keeping the documentation more maintainable.
# Check http://conky.sf.net for an up-to-date-list.

# set to yes if you want Conky to be forked in the background
background yes

# X font when Xft is disabled, you can pick one with program xfontsel
#font 5x7
#font 6x10
font 7x13
#font 8x13
#font 9x15
#font *mintsmild.se*
#font -*-*-*-*-*-*-34-*-*-*-*-*-*-*

# Use Xft?
use_xft no

# Xft font when Xft is enabled
xftfont Bitstream Vera Sans Mono:size=11

# Text alpha when using Xft
xftalpha 0.8

# Print everything to stdout?
# out_to_console no

# Print everything to console?
# out_to_console no

# Update interval in seconds
update_interval 5.0

# This is the number of times Conky will update before quitting.
# Set to zero to run forever.
total_run_times 0

#own_window_title Parted Magic - conky

# Create own window instead of using desktop (required in nautilus)
own_window yes

# If own_window is yes, you may use type normal, desktop or override
own_window_type normal

# Use pseudo transparency with own_window?
own_window_transparent yes

# If own_window_transparent is set to no, you can set the background colour here
own_window_colour black

# If own_window is yes, these window manager hints may be used
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
#own_window_hints below,skip_taskbar,skip_pager

# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes

# Minimum size of text area
minimum_size 280 5

# Draw shades?
draw_shades yes

# Draw outlines?
draw_outline no

# Draw borders around text
draw_borders no

# Draw borders around graphs
draw_graph_borders yes

# Stippled borders?
stippled_borders 4

# border margins
border_margin 4

# border width
border_width 1

# Default colors and also border colors
default_color white
default_shade_color black
default_outline_color black

# Text alignment, other possible values are commented
#alignment top_left
alignment top_right
#alignment bottom_left
#alignment bottom_right
#alignment none

# Gap between borders of screen and text
# same thing as passing -x at command line
gap_x 15
gap_y 15

# Subtract file system buffers from used memory?
no_buffers yes

# set to yes if you want all text to be in uppercase
uppercase no

# number of cpu samples to average
# set to 1 to disable averaging
cpu_avg_samples 2

# number of net samples to average
# set to 1 to disable averaging
net_avg_samples 2

# Force UTF8? note that UTF8 support required XFT
override_utf8_locale no

# Add spaces to keep things from moving about?  This only affects certain objects.
use_spacer none

TEXT
${color goldenrod}Hostname: $nodename
${color goldenrod}Linux Kernel: $kernel
${color goldenrod}CPU Details:  $machine, $freq(MHz)
${color}CPU History:  ${color darkgreen}${cpugraph 30,0 0000ff 00ff00}
${color}CPU Usage:${color magenta2} $cpu% ${cpubar 11,0}

${color}RAM Usage:${color DeepSkyBlue1} $mem ($memperc%) ${membar 11,0}
${color}Available RAM:${color DeepSkyBlue1} $memmax

$color$stippled_hr
$alignc${color}Processes:$color $processes  ${color grey}Running:$color $running_processes
$alignc${color}(top 5 sorted by CPU usage)
${color goldenrod} NAME              PID    CPU%   MEM%
${color} ${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
${color} ${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
${color} ${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}
${color} ${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4}
${color} ${top name 5} ${top pid 5} ${top cpu 5} ${top mem 5}

$alignc${color}(top 5 sorted by MEM usage)
${color goldenrod} NAME              PID    CPU%   MEM%
${color} ${top_mem name 1} ${top_mem pid 1} ${top_mem cpu 1} ${top_mem mem 1}
${color} ${top_mem name 2} ${top_mem pid 2} ${top_mem cpu 2} ${top_mem mem 2}
${color} ${top_mem name 3} ${top_mem pid 3} ${top_mem cpu 3} ${top_mem mem 3}
${color} ${top_mem name 4} ${top_mem pid 4} ${top_mem cpu 4} ${top_mem mem 4}
${color} ${top_mem name 5} ${top_mem pid 5} ${top_mem cpu 5} ${top_mem mem 5}
$color$stippled_hr
$alignc${color}${time %A, %d %B %Y, %H:%M}
$alignc${color}System Uptime:${color DarkOrange1} $uptime
here is my simple tinycore conkyrc stolen from browserpuppy

Code:
background no
use_xft yes
xftfont Sans:size=8
xftalpha 1
update_interval 2
total_run_times 0
own_window yes
own_window_transparent no
own_window_type desktop
own_window_colour 660099
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
#minimum_size 200 200
#maximum_width 200
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders yes
default_color 888888
default_shade_color black
default_outline_color white
alignment top_left
gap_x 20
gap_y 10
no_buffers yes
uppercase no
cpu_avg_samples 2
override_utf8_locale no

TEXT
${font sans-serif:bold:size=12}${color FFFF00}TinyCore-2.1
${font sans-serif:bold:size=12}${color FFFF00}Black Dragon
${voffset 3}${font sans-serif:bold:size=18}${color FFFF00}${time %R}${font sans-serif:bold:size=11} - ${time %e %B %Y}
${voffset 5}${font sans-serif:bold:size=11}${color FFFF00}Free Space: ${fs_free /}
the browserpuppy49 conkyrc is smallest I have seen
 
Old 07-11-2009, 10:25 PM   #22
SqdnGuns
Senior Member
 
Registered: Aug 2005
Location: Pensacola, FL
Distribution: Slackware64® Current & Arch
Posts: 1,092

Rep: Reputation: 174Reputation: 174
Work in progress..........

http://sqdnguns.com/upload/01_20090711.png

Not happy with it.......yet!!

Code:
use_xft true
xftfont DejaVuSans:size=8
xftalpha 0.8
text_buffer_size 2048

update_interval 1

total_run_times 0

own_window yes
own_window_transparent no
own_window_type desktop
own_window_hints undecorated,below,sticky,skip_taskbar

double_buffer yes

minimum_size 200 0

draw_shades no

draw_outline no

draw_borders yes

stippled_borders 0

border_margin 25

border_width 1

default_color ffffff
default_shade_color a9a9a9
default_outline_color a9a9a9
own_window_colour gray

alignment middle_right

gap_x 50
gap_y 0

no_buffers yes

uppercase no

cpu_avg_samples 2

net_avg_samples 2

override_utf8_locale yes

use_spacer none

TEXT
${alignc 65}${font Courier 10 Pitch:size=18}${execi 1 cat /etc/slackware-version}${font}$color

Changelog: ${alignr}${execi 1 lynx -dump ftp://slackware.oregonstate.edu/pub/slackware/slackware64-current/ChangeLog.txt | head -1}

SYSTEM  ${hr 1}

Kernel: ${alignr}${kernel}
Uptime: ${alignr}${uptime_short}

Core 1:    ${cpu cpu1}% ${alignr}${freq_g cpu1} GHz  /  ${color ff3030}${execi 20 ~/scripts/temp1.sh} C$color
Core 2:    ${cpu cpu2}% ${alignr}${freq_g cpu2} GHz  /  ${color ff3030}${execi 20 ~/scripts/temp2.sh} C$color

GPU Temp: ${alignr}${color ff3030}${execi 20 nvidia-settings -q gpucoretemp |grep Attribute |awk '{print $4}' |cut -c1-2} C$color

RAM:  ${alignr}$mem  /  ${alignr}$memmax
SWAP: ${alignr}$swap  /  ${alignr}$swapmax

Top 5 Processes                 PID   CPU%  MEM%
${top name 1} ${alignr}${top pid 1}    ${top cpu 1}    ${top mem 1}
${top name 2} ${alignr}${top pid 2}    ${top cpu 2}    ${top mem 2}
${top name 3} ${alignr}${top pid 3}    ${top cpu 3}    ${top mem 3}
${top name 4} ${alignr}${top pid 4}    ${top cpu 4}    ${top mem 4}
${top name 5} ${alignr}${top pid 5}    ${top cpu 5}    ${top mem 5}

MOUNT / HDDs  ${hr 1}

/      ${alignr}${fs_used /}  /  ${alignr}${fs_size /}  /  ${fs_free_perc /}% Free

/home      ${alignr}${fs_used /home}  /  ${alignr}${fs_size /home}  /  ${fs_free_perc /home}% Free

/crap      ${alignr}${fs_used /crap}  /  ${alignr}${fs_size /crap}  /  ${fs_free_perc /crap}% Free

/storage   ${alignr}${fs_used /storage}  /  ${alignr}${fs_size /storage}  /  ${fs_free_perc /storage}% Free

/backups   ${alignr}${fs_used /backups}  /  ${alignr}${fs_size /backups}  /  ${fs_free_perc /backups}% Free

NETWORK  ${hr 1}

Up:     ${alignr}${upspeed eth0}
Total:  ${alignr}${totalup eth0}

Down:   ${alignr}${downspeed eth0}
Total:  ${alignr}${totaldown eth0}
${hr 1}

${time %H:%M:%S}${alignr}${time %A, %D}${font}

${alignc} ${exec whoami} @ $nodename${font}
 
Old 07-12-2009, 10:55 AM   #23
Fallhallen
LQ Newbie
 
Registered: May 2009
Location: Sweden
Distribution: Laptop: Slackware 4.0; Desktop: Slackware 12.2
Posts: 13

Rep: Reputation: 0
Quote:
Originally Posted by Bruce Hill View Post
Since the interest in conky is here, would some of you using it be
willing to post a screenshot and .conkyrc of yours? At present I'm
using someone else's .conkyrc (edited), and it's much wider than my
preference.

I got the pseudo transparency working, but the image of my desktop
through conky is some pixels off from the background. When I get a
config of my own, and get that issue fixed, I'll post them. I'm
using conky-1.7.1.1 in Slackware64 -current (01 July 2009).
How did you get psudo transparency working in KDE 4.2? I keep getting

feh: error while loading shared libraries: libImlib2.so.1: cannot open shared object file: No such file or directory
sleep 1 && feh --bg center ~/13-slack2.png &
[2] 18530
[1] Exit 127 sleep 1 && feh --bg center ~/background.png

feh is installed, when I tried the command:

feh -bg-scale `dcop kdesktop KBackgroundIface currentWallpaper 1`

I get:

bash: dcop: command not found
feh: error while loading shared libraries: libImlib2.so.1: cannot open shared object file: No such file or directory

DCOP is not with KDE 4.2, instead it is dbus. So I tried to run the frist command mentioned as it is stated on the Conky website. They do not mention a dcop command in the string. But I don't know what this libImlib2.so.1 is. Where I can find it to download? I am assuming it should be located in /usr/local/lib but I don't have it there. Could it be I just need to put it there, then set the $PATH? Or is it more complex?

(seriously should not be this much trouble just to get transparency... why did I ever 'upgrade' to 4.2 when 3.5 was soooo perfect for me)
 
Old 07-12-2009, 04:15 PM   #24
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
Since my Slackware64 -current box does not have feh, I use fbsetbg:
Code:
sleep 1 && fbsetbg ~/Libby-brown-hat.jpg &
which does give me pseudo transparency.
 
Old 07-12-2009, 04:30 PM   #25
Fallhallen
LQ Newbie
 
Registered: May 2009
Location: Sweden
Distribution: Laptop: Slackware 4.0; Desktop: Slackware 12.2
Posts: 13

Rep: Reputation: 0
Quote:
Originally Posted by Bruce Hill View Post
Since my Slackware64 -current box does not have feh, I use fbsetbg:
Code:
sleep 1 && fbsetbg ~/Libby-brown-hat.jpg &
which does give me pseudo transparency.
YES!! that worked! It's not 100% transparent, but good enough for me! thanks a lot!
 
  


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
Need Help with Conky slickhare Linux - Newbie 7 05-06-2009 02:15 AM
conky imap_unseen adam.tropics Linux - Desktop 0 11-15-2006 12:29 AM
Conky on Suse 10.0 - *** buffer overflow detected *** conky terminated Slidex Linux - Software 1 03-17-2006 11:50 AM
conky help ahh_dee Linux - Software 2 10-28-2005 01:40 PM
conky/torsmo help anticapitalista MEPIS 2 08-29-2005 12:18 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:39 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration