LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 08-22-2014, 01:20 PM   #1
kikinovak
MLED Founder
 
Registered: Jun 2011
Location: Montpezat (South France)
Distribution: CentOS, OpenSUSE
Posts: 3,453

Rep: Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154
Use Conky in WindowMaker?


Hi,

One of my machines is a dedicated build box. Since I don't need any fancy graphic applications, I'm running WindowMaker on it, only to have a more comfortable XTerm. I'd like to add Conky to it. I can't seem to get it running within WindowMaker. Here's my ~/.conkyrc:

Code:
# .conkyrc

# Configuration de base
background yes
own_window yes
own_window_type dock
own_window_argb_visual yes
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
alignment top_right
default_color b0b0b0
use_xft yes
xftfont Bitstream Vera Sans Mono:size=10
xftalpha 0.8
gap_x 800
gap_y 20
update_interval 1.0

# Variables
TEXT
Allumé depuis : ${color white}$uptime_short$color
${color ddaa00}CPU 1$color ${color white}${cpu cpu0}%$color $freq_g GHz 
${cpugraph cpu0 16,190}
${color ddaa00}CPU 2$color ${color white}${cpu cpu1}%$color $freq_g GHz 
${cpugraph cpu1 16,190}
${color ddaa00}CPU 3$color ${color white}${cpu cpu2}%$color $freq_g GHz 
${cpugraph cpu2 16,190}
${color ddaa00}CPU 4$color ${color white}${cpu cpu3}%$color $freq_g GHz 
${cpugraph cpu3 16,190}
${color ddaa00}RAM$color ${color white}$memperc%$color $mem/$memmax
${memgraph 16,190}
${color ddaa00}Swap$color ${color white}$swapperc%$color $swap/$swapmax
${swapbar 16,190}
${color ddaa00}/boot$color ${fs_bar /boot}
${color ddaa00}/    $color ${fs_bar /}
${color ddaa00}/data$color ${fs_bar /data}
${color ddaa00}/home$color ${fs_bar /home}
${color ddaa00}Download$color ${color white}${downspeed eth0}$color
${downspeedgraph eth0 16,190}
${color ddaa00}Upload  $color ${color white}${upspeed eth0}$color
${upspeedgraph eth0 16,190}
Processus ${color white}$processes$color | ${color white}$running_processes$color
---------------- %CPU
${color ddaa00}${top name 1}${top cpu 1}$color
${top name 2}${top cpu 2}
${top name 3}${top cpu 3}
${top name 4}${top cpu 4}
${top name 5}${top cpu 5}
${top name 6}${top cpu 6}
${top name 7}${top cpu 7}
${top name 8}${top cpu 8}
${top name 9}${top cpu 9}
---------------- %MEM
${color ddaa00}${top_mem name 1}${top_mem mem 1}$color
${top_mem name 2}${top_mem mem 2}
${top_mem name 3}${top_mem mem 3}
${top_mem name 4}${top_mem mem 4}
${top_mem name 5}${top_mem mem 5}
${top_mem name 6}${top_mem mem 6}
${top_mem name 7}${top_mem mem 7}
${top_mem name 8}${top_mem mem 8}
${top_mem name 9}${top_mem mem 9}$color
I've already used this script in Xfce as well as in KDE, with some minor tweaks. But it doesn't work at all in WindowMaker.

Any clues?
 
Old 08-22-2014, 01:33 PM   #2
kikinovak
MLED Founder
 
Registered: Jun 2011
Location: Montpezat (South France)
Distribution: CentOS, OpenSUSE
Posts: 3,453

Original Poster
Rep: Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154
OK, I just solved this. I just got rid of all the own_window statements, and it works like a charm.
 
  


Reply

Tags
conky, windowmaker



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
LXer: How to configure Conky with a GUI-based Conky config tool LXer Syndicated Linux News 0 04-09-2014 11:50 AM
LXer: Conky Manager – Simple GUI for managing Conky config files LXer Syndicated Linux News 0 07-19-2013 11:01 AM
conky question: passing conky-variable to shell-script zlin50 Linux - Software 2 12-29-2012 06:47 PM
LXer: Configure conky-Lua in Ubuntu (11.10 & 12.04), Fedora, debian and LinuxMint | Howto Conky LXer Syndicated Linux News 0 03-06-2012 12:40 PM
LXer: Conky Colors Makes Your Conky Beautiful In Seconds (Version 3.20 Released) LXer Syndicated Linux News 0 08-01-2010 11:21 AM

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

All times are GMT -5. The time now is 08:57 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