SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
something which I forgot to mention is that xdm-slackware-theme, and more precisely the script setxdmbg.sh (xdm background setter) allows to modify the background image using one or more image operators (imagemagick) on the fly :
The background images are respectively obtained by settings EXTRAIMGOPS in /etc/X11/xdm/slackware/Xsetup.conf to :
Code:
EXTRAIMGOPS=( "-blur 8x8")
and :
Code:
EXTRAIMGOPS=( "-blur 8x8" "-paint 4")
Note: The use of image operators can be time consuming, and thus, the first time an image is generated, xdm can seem to be frozen, but it is not the case, and, once the image has been generated, it is cached and is reused until changes are done (modification of the source image, uses of different resolution, image operators,...)
It's creeping up to a year with Slackware on the netbook, the first machine I installed it on. And my desktop hasn't changed at all in that time, the only notable difference recently is wicd instead of Network Manager. It also looks like I'm sticking with LXDE for now, which I'm totally happy with.
Clocks go back here tonight - an extra hour of rest!
Remember my conky that shows only the active interfaces?
Remember how it got ugly by having empty lines when those where missing?
The improved code is ugly, but the result is just neat and i added the bluetooth tethering network interface too:
wwan0
wlan0
eth0
bnep0
are supported and tracked now.
Code:
-- vim: ts=4 sw=4 noet ai cindent syntax=lua
--[[
Conky, a system monitor, based on torsmo
Any original torsmo code is licensed under the BSD license
All code written since the fork of torsmo is licensed under the GPL
Please see COPYING for details
Copyright (c) 2004, Hannu Saransaari and Lauri Hakkarainen
Copyright (c) 2005-2012 Brenden Matthews, Philip Kovacs, et. al. (see AUTHORS)
All rights reserved.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
]]
conky.config = {
background = no,
use_xft = yes,
font = "-*-dejavu sans-medium-r-*-*-10-*-*-*-*-*-*-*",
xftalpha = 0.5,
update_interval = 4.0,
total_run_times = 0,
own_window = true,
own_window_type = 'normal',
own_window_argb_visual = true,
own_window_transparent = true,
own_window_hints = 'undecorated,sticky,skip_pager',
double_buffer = false,
minimum_width = 220,
maximum_width = 220,
default_shade_color = 'gray',
default_outline_color = 'gray',
draw_shades = false,
draw_outline = false,
draw_borders = false,
border_width = 0,
draw_graph_borders = yes,
default_color = 'grey',
color0 = 'darkgray',
color1 = 'blue',
color2 = 'violet',
color3 = 'cyan',
alignment = 'top_right',
gap_x = 12,
gap_y = 20,
no_buffers = yes,
uppercase = no,
pad_percents = 2,
show_graph_units = yes,
show_graph_scale= yes,
short_units = yes,
cpu_avg_samples = 2,
if_up_strictness = 'link',
override_utf8_locale = no,
custom = test
}
conky.text = [[
${color1}Slackware $color2 14.2 $color0 $kernel on $machine
Hostname $alignr $nodename
Uptime $alignr $uptime
${color2}DATA PROCESSING${color0} ${freq_g 0} GHz $alignr ${cpu cpu0}%
${cpugraph cpu0}
${color3}ACPI:${color0} FAN:${acpifan} $alignr TEMP: ${acpitemp} C
${color3}HwMon: ${color0} package $alignr ${hwmon 0 temp 1} C
${color3}CPU0${color0} ${freq_g 1} GHz $alignr ${cpu cpu1}%
${cpubar cpu1}
${color3}CPU1${color0} ${freq_g 2} GHz $alignr ${cpu cpu2}%
${cpubar cpu2}
${color3}CPU2${color0} ${freq_g 3} GHz $alignr ${cpu cpu3}%
${cpubar cpu3}
${color3}CPU3${color0} ${freq_g 4} GHz $alignr ${cpu cpu4}%
${cpubar cpu4}
$processes processes ($running_processes running)
System Load $alignr $loadavg
$loadgraph
${color2}DATA ACCESSING $color0$alignc $mem / $memmax $alignr $memperc%
$membar
${color2}DATA STORAGE $color0
${color3}<root>${color0} $alignc ${fs_used /} / ${fs_size /} $alignr ${fs_free_perc /}%
${fs_bar /}
${color3}/home${color0} $alignc ${fs_used /home} / ${fs_size /home} $alignr ${fs_free_perc /home}%
${fs_bar /home}
${color3}swap${color0} $alignc $swap / $swapmax $alignr $swapperc%
${swapbar}
${color2}DATA TRANSMSSION $color0 ${gw_iface}
${color3}inet${color0} $alignr${color1} ${execi 10800 ~/.config/conky/extip.sh}${color0}${if_up wwan0}
${color3}wwan0${color0} $alignr${color1} ${addr wwan0}
${color3}Inbound${color0} $alignr ${downspeed wwan0} kb/s
${downspeedgraph wwan0}
${color3}Outbound${color0} $alignr ${upspeed wwan0} kb/s
${upspeedgraph wwan0}${endif}${if_up wlan0}
${color3}WiFi${color0} ${wireless_link_qual_perc wlan0} % @ ${wireless_bitrate wlan0} $alignr <<${wireless_essid}>>
${wireless_link_bar wlan0}
${color3}wlan0${color0} $alignr${color1} ${addr wlan0}
${color3}Inbound${color0} $alignr ${downspeed wlan0} kb/s
${downspeedgraph wlan0}
${color3}Outbound${color0} $alignr ${upspeed wlan0} kb/s
${upspeedgraph wlan0}${endif}${if_up eth0}
${color3}eth0${color0} $alignr${color1} ${addr eth0}
${color3}Inbound${color0} $alignr ${downspeed eth0} kb/s
${downspeedgraph eth0}
${color3}Outbound${color0} $alignr ${upspeed eth0} kb/s
${upspeedgraph eth0}${endif}${if_up bnep0}
${color3}bnep0${color0} $alignr${color1} ${addr bnep0}
${color3}Inbound${color0} $alignr ${downspeed bnep0} kb/s
${downspeedgraph bnep0}
${color3}Outbound${color0} $alignr ${upspeed bnep0} kb/s
${upspeedgraph bnep0}${endif}
${color2}RUNNING $color0
NAME $alignr PID CPU
${color3}${top name 1}${color0} $alignr ${top pid 1} ${color1}${top cpu 1}
${color3}${top name 2}${color0} $alignr ${top pid 2} ${color1}${top cpu 2}
${color3}${top name 3}${color0} $alignr ${top pid 3} ${color1}${top cpu 3}
${color3}${top name 4}${color0} $alignr ${top pid 4} ${color1}${top cpu 4}
${color3}${top name 5}${color0} $alignr ${top pid 5} ${color1}${top cpu 5}
]]
Remember my conky that shows only the active interfaces?
Remember how it got ugly by having empty lines when those where missing?
The improved code is ugly, but the result is just neat and i added the bluetooth tethering network interface too:
Very nice, I tried this out with some amendments, but I keep getting an open tab for conky as you can see on the taskbar there. Is there any way to launch conky with that tab not showing up? It comes up every time. I think this config is worth keeping, it's very nicely done, if I can just get rid of that tab.
I also get this message if launched from the terminal
Code:
lysander@psychopig-xxxiv:~$ conky
conky: desktop window (1600003) is subwindow of root window (4a6)
conky: window type - normal
conky: drawing to created window (0x4800002)
sh: /home/lysander/.config/conky/extip.sh: No such file or directory
.conkyrc
Code:
-- vim: ts=4 sw=4 noet ai cindent syntax=lua
--[[
Conky, a system monitor, based on torsmo
Any original torsmo code is licensed under the BSD license
All code written since the fork of torsmo is licensed under the GPL
Please see COPYING for details
Copyright (c) 2004, Hannu Saransaari and Lauri Hakkarainen
Copyright (c) 2005-2012 Brenden Matthews, Philip Kovacs, et. al. (see AUTHORS)
All rights reserved.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
]]
conky.config = {
background = no,
use_xft = yes,
font = "-*-dejavu sans-medium-r-*-*-10-*-*-*-*-*-*-*",
xftalpha = 0.5,
update_interval = 2.0,
total_run_times = 0,
own_window = true,
own_window_type = 'normal',
own_window_argb_visual = true,
own_window_transparent = true,
own_window_hints = 'undecorated,sticky,skip_pager',
double_buffer = false,
minimum_width = 220,
maximum_width = 220,
default_shade_color = 'gray',
default_outline_color = 'gray',
draw_shades = false,
draw_outline = false,
draw_borders = false,
border_width = 0,
draw_graph_borders = yes,
default_color = 'grey',
color0 = 'darkgray',
color1 = 'darkgray',
color2 = 'darkgray',
color3 = 'darkgray',
alignment = 'bottom_right',
gap_x = 12,
gap_y = 20,
no_buffers = yes,
uppercase = no,
pad_percents = 2,
show_graph_units = yes,
show_graph_scale= yes,
short_units = yes,
cpu_avg_samples = 2,
}
conky.text = [[
${color1}Slackware $color2 14.2 $color0 $alignr $kernel on $machine
Hostname $alignr $nodename
Uptime $alignr $uptime
${color2}DATA PROCESSING${color0} ${freq_g 0} GHz $alignr ${cpu cpu0}%
${cpugraph cpu0}
#${color3}ACPI:${color0} FAN:${acpifan} $alignr TEMP: ${acpitemp} C
${color3}CPU temp: ${color white}${hwmon temp 1}C$color $alignr ${color grey}MB temp: ${color white}${hwmon temp 2}C$color
${color3}CPU0${color0} ${freq_g 1} GHz $alignr ${cpu cpu1}%
${cpubar cpu1}
${color3}CPU1${color0} ${freq_g 2} GHz $alignr ${cpu cpu2}%
${cpubar cpu2}
${color3}CPU2${color0} ${freq_g 3} GHz $alignr ${cpu cpu3}%
${cpubar cpu3}
${color3}CPU3${color0} ${freq_g 4} GHz $alignr ${cpu cpu4}%
${cpubar cpu4}
$processes processes ($running_processes running)
System Load $alignr $loadavg
$loadgraph
${color2}DATA ACCESSING $color0$alignc $mem / $memmax $alignr $memperc%
$membar
${color2}DATA STORAGE $color0
${color3}<root>${color0} $alignc ${fs_used /} / ${fs_size /} $alignr ${fs_free_perc /}%
${fs_bar /}
${color3}/home${color0} $alignc ${fs_used /home} / ${fs_size /home} $alignr ${fs_free_perc /home}%
${fs_bar /home}
${color3}swap${color0} $alignc $swap / $swapmax $alignr $swapperc%
${swapbar}
${color3}Media sda5: ${color3}${fs_free /media/Media} / ${fs_size /media/Media}
${fs_bar 3 /media/Media}
${color3}Backup sdb5: ${color3}${fs_free /media/Backup} / ${fs_size /media/Backup}
${fs_bar 3 /media/Backup}
${color2}DATA TRANSMSSION $color0 ${gw_iface}
${color3}inet${color0} $alignr${color1} ${execi 10800 ~/.config/conky/extip.sh}${color0}${if_up wwan0}
${color3}wwan0${color0} $alignr${color1} ${addr wwan0}
${color3}Inbound${color0} $alignr ${downspeed wwan0} kb/s
${downspeedgraph wwan0}
${color3}Outbound${color0} $alignr ${upspeed wwan0} kb/s
${upspeedgraph wwan0}${endif}${if_up wlan0}
${color3}WiFi${color0} ${wireless_link_qual_perc wlan0} % @ ${wireless_bitrate wlan0} $alignr <<${wireless_essid}>>
${wireless_link_bar wlan0}
${color3}wlan0${color0} $alignr${color1} ${addr wlan0}
${color3}Inbound${color0} $alignr ${downspeed wlan0} kb/s
${downspeedgraph wlan0}
${color3}Outbound${color0} $alignr ${upspeed wlan0} kb/s
${upspeedgraph wlan0}${endif}${if_up eth0}
${color3}eth0${color0} $alignr${color1} ${addr eth0}
${color3}Inbound${color0} $alignr ${downspeed eth0} kb/s
${downspeedgraph eth0}
${color3}Outbound${color0} $alignr ${upspeed eth0} kb/s
${upspeedgraph eth0}${endif}${if_up bnep0}
${color3}bnep0${color0} $alignr${color1} ${addr bnep0}
${color3}Inbound${color0} $alignr ${downspeed bnep0} kb/s
${downspeedgraph bnep0}
${color3}Outbound${color0} $alignr ${upspeed bnep0} kb/s
${upspeedgraph bnep0}${endif}
${color2}RUNNING $color0
NAME $alignr PID CPU
${color3}${top name 1}${color0} $alignr ${top pid 1} ${color1}${top cpu 1}
${color3}${top name 2}${color0} $alignr ${top pid 2} ${color1}${top cpu 2}
${color3}${top name 3}${color0} $alignr ${top pid 3} ${color1}${top cpu 3}
${color3}${top name 4}${color0} $alignr ${top pid 4} ${color1}${top cpu 4}
${color3}${top name 5}${color0} $alignr ${top pid 5} ${color1}${top cpu 5}
]]
Very nice, I tried this out with some amendments, but I keep getting an open tab for conky as you can see on the taskbar there. Is there any way to launch conky with that tab not showing up? It comes up every time. I think this config is worth keeping, it's very nicely done, if I can just get rid of that tab.
1. The screenshot you posted is horrible (ie. horror themed ) I like it!
2. the application tab is intentional (to me at least) and the color scheme i picked is such, that i can raise it on top and see it...
Of course one could easy have it removed, read on ...
3. Kind thanks, i tweak it every now and then a bit further , stay tuned.
Quote:
I also get this message if launched from the terminal
That is the little helper script i posted here earlier - it gets the outside IP for one line.
Want me to repost it?
Quote:
Code:
lysander@psychopig-xxxiv:~$ conky
conky: desktop window (1600003) is subwindow of root window (4a6)
conky: window type - normal
conky: drawing to created window (0x4800002)
sh: /home/lysander/.config/conky/extip.sh: No such file or directory
.conkyrc
[hint: find the red line!]
Code:
-- vim: ts=4 sw=4 noet ai cindent syntax=lua
--[[
Conky, a system monitor, based on torsmo
Any original torsmo code is licensed under the BSD license
All code written since the fork of torsmo is licensed under the GPL
Please see COPYING for details
Copyright (c) 2004, Hannu Saransaari and Lauri Hakkarainen
Copyright (c) 2005-2012 Brenden Matthews, Philip Kovacs, et. al. (see AUTHORS)
All rights reserved.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
]]
conky.config = {
background = no,
use_xft = yes,
font = "-*-dejavu sans-medium-r-*-*-10-*-*-*-*-*-*-*",
xftalpha = 0.5,
update_interval = 2.0,
total_run_times = 0,
own_window = true,
own_window_type = 'normal',
own_window_argb_visual = true,
own_window_transparent = true,
own_window_hints = 'undecorated,sticky,skip_pager',
double_buffer = false,
minimum_width = 220,
maximum_width = 220,
default_shade_color = 'gray',
default_outline_color = 'gray',
draw_shades = false,
draw_outline = false,
draw_borders = false,
border_width = 0,
draw_graph_borders = yes,
default_color = 'grey',
color0 = 'darkgray',
color1 = 'darkgray',
color2 = 'darkgray',
color3 = 'darkgray',
alignment = 'bottom_right',
gap_x = 12,
gap_y = 20,
no_buffers = yes,
uppercase = no,
pad_percents = 2,
show_graph_units = yes,
show_graph_scale= yes,
short_units = yes,
cpu_avg_samples = 2,
}
conky.text = [[
${color1}Slackware $color2 14.2 $color0 $alignr $kernel on $machine
Hostname $alignr $nodename
Uptime $alignr $uptime
${color2}DATA PROCESSING${color0} ${freq_g 0} GHz $alignr ${cpu cpu0}%
${cpugraph cpu0}
#${color3}ACPI:${color0} FAN:${acpifan} $alignr TEMP: ${acpitemp} C
${color3}CPU temp: ${color white}${hwmon temp 1}C$color $alignr ${color grey}MB temp: ${color white}${hwmon temp 2}C$color
${color3}CPU0${color0} ${freq_g 1} GHz $alignr ${cpu cpu1}%
${cpubar cpu1}
${color3}CPU1${color0} ${freq_g 2} GHz $alignr ${cpu cpu2}%
${cpubar cpu2}
${color3}CPU2${color0} ${freq_g 3} GHz $alignr ${cpu cpu3}%
${cpubar cpu3}
${color3}CPU3${color0} ${freq_g 4} GHz $alignr ${cpu cpu4}%
${cpubar cpu4}
$processes processes ($running_processes running)
System Load $alignr $loadavg
$loadgraph
${color2}DATA ACCESSING $color0$alignc $mem / $memmax $alignr $memperc%
$membar
${color2}DATA STORAGE $color0
${color3}<root>${color0} $alignc ${fs_used /} / ${fs_size /} $alignr ${fs_free_perc /}%
${fs_bar /}
${color3}/home${color0} $alignc ${fs_used /home} / ${fs_size /home} $alignr ${fs_free_perc /home}%
${fs_bar /home}
${color3}swap${color0} $alignc $swap / $swapmax $alignr $swapperc%
${swapbar}
${color3}Media sda5: ${color3}${fs_free /media/Media} / ${fs_size /media/Media}
${fs_bar 3 /media/Media}
${color3}Backup sdb5: ${color3}${fs_free /media/Backup} / ${fs_size /media/Backup}
${fs_bar 3 /media/Backup}
${color2}DATA TRANSMSSION $color0 ${gw_iface}
${color3}inet${color0} $alignr${color1} ${execi 10800 ~/.config/conky/extip.sh}${color0}${if_up wwan0}
${color3}wwan0${color0} $alignr${color1} ${addr wwan0}
${color3}Inbound${color0} $alignr ${downspeed wwan0} kb/s
${downspeedgraph wwan0}
${color3}Outbound${color0} $alignr ${upspeed wwan0} kb/s
${upspeedgraph wwan0}${endif}${if_up wlan0}
${color3}WiFi${color0} ${wireless_link_qual_perc wlan0} % @ ${wireless_bitrate wlan0} $alignr <<${wireless_essid}>>
${wireless_link_bar wlan0}
${color3}wlan0${color0} $alignr${color1} ${addr wlan0}
${color3}Inbound${color0} $alignr ${downspeed wlan0} kb/s
${downspeedgraph wlan0}
${color3}Outbound${color0} $alignr ${upspeed wlan0} kb/s
${upspeedgraph wlan0}${endif}${if_up eth0}
${color3}eth0${color0} $alignr${color1} ${addr eth0}
${color3}Inbound${color0} $alignr ${downspeed eth0} kb/s
${downspeedgraph eth0}
${color3}Outbound${color0} $alignr ${upspeed eth0} kb/s
${upspeedgraph eth0}${endif}${if_up bnep0}
${color3}bnep0${color0} $alignr${color1} ${addr bnep0}
${color3}Inbound${color0} $alignr ${downspeed bnep0} kb/s
${downspeedgraph bnep0}
${color3}Outbound${color0} $alignr ${upspeed bnep0} kb/s
${upspeedgraph bnep0}${endif}
${color2}RUNNING $color0
NAME $alignr PID CPU
${color3}${top name 1}${color0} $alignr ${top pid 1} ${color1}${top cpu 1}
${color3}${top name 2}${color0} $alignr ${top pid 2} ${color1}${top cpu 2}
${color3}${top name 3}${color0} $alignr ${top pid 3} ${color1}${top cpu 3}
${color3}${top name 4}${color0} $alignr ${top pid 4} ${color1}${top cpu 4}
${color3}${top name 5}${color0} $alignr ${top pid 5} ${color1}${top cpu 5}
]]
re pager and taskbar show or not show:
Code:
$ man conky
>[/]
>own_window_hints
(type slash, type "own_window_hints" press enter)
the man page explains it better than I would, and we're slackers, so no slackin' when hackin' right?
P.S.
maybe you find even further tweaks there, I know i did
Desktop of another user. KDE4, even less customized than the user in my previous post, a wallpaper that still pops yet soothes, display setting default 1920x1080
TKS
I like the background/wallpaper... could you share?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.