LinuxQuestions.org
Visit Jeremy's Blog.
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 09-07-2018, 12:22 PM   #3331
SCerovec
Senior Member
 
Registered: Oct 2006
Location: Cp6uja
Distribution: Slackware on x86 and arm
Posts: 2,471
Blog Entries: 2

Rep: Reputation: 980Reputation: 980Reputation: 980Reputation: 980Reputation: 980Reputation: 980Reputation: 980Reputation: 980

@SeB,
nice work, i fiddled on fluxbox quite a lot too, but alas, finally gave up on it.

XFCE4 provides me for much less effort, and the performance is just about the same.

Quote:
Originally Posted by Lysander666 View Post
Thanks for introducing me to AD, I hadn't heard of it. For some reason I can't get beyond the hub, I'll look into it. The whole thing looks absolutely awesome.

I suppose I have to relate this post to the topic, so here's my current desktop, but like my netbook I don't imagine it will change much in the future.

Info: this is a very intriguing wallpaper and I absolutely love it. It was a student piece at the Moscow Broadcast Design School submitted in October 2016. If you happen to be interested in computer art and abstract design then do check out this link to their page.
shamelessly used for my desktop, adjusted conky accordingly.
file:~/.config/conky/conky.conf:
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 = 'Terminus:size=9',
    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 = 'lightviolet',
    color3 = 'cyan',
    alignment = 'top_right',
    gap_x = 12,
    gap_y = 20,
    no_buffers = yes,
    uppercase = no,
    cpu_avg_samples = 2,
    override_utf8_locale = no
}

conky.text = [[
${color1}Slackware $color2 14.2 $color0 $kernel on $machine
Hostname $alignr $nodename
Uptime $alignr $uptime
${color3}CPU0${color0} $alignr ${cpu cpu1}%
${cpugraph cpu1}
${color3}CPU1${color0} $alignr ${cpu cpu2}%
${cpugraph cpu2}
${color3}CPU2${color0} $alignr ${cpu cpu3}%
${cpugraph cpu3}
${color3}CPU3${color0} $alignr ${cpu cpu4}%
${cpugraph 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}wwan0${color0} $alignr${color1} ${addr wwan0}
${color3}wlan0${color0} $alignr${color1} ${addr wlan0}
${color3}eth0${color0}  $alignr${color1} ${addr eth0}
${color3}inet${color0}  $alignr${color1} ${execi 10800 ~/.config/conky/extip.sh}${color0}

${color3}WiFi${color0} $alignr <<${wireless_essid}>>
${wireless_link_bar wlan0}
${color3}Inbound${color0} wlan0 $alignr ${downspeed wlan0 } kb/s
${downspeedgraph wlan0}
${color3}Outbound${color0} wlan0 $alignr ${upspeed wlan0 } kb/s
${upspeedgraph wlan0}
${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}
${color2}ambient light sensor${color0}
${execgraph ~/.config/conky/als.sh}
]]
file:~/.config/conky/extip.sh:
Code:
#!/bin/bash

wget http://checkip.dyndns.org/ -q -O - | grep -Eo '\<[[:digit:]]{1,3}(\.[[:digit:]]{1,3}){3}\>'
file:~/.config/conky/als.sh:
Code:
#!/bin/sh

light=$(cat /sys/bus/iio/devices/iio\:device0/in_illuminance_raw)

# bitwise mask the lower bits to prevent jitter
light=$(( light & 2#11111111 ))

#invert
#light=$((255 - light))

#exagregate values exponentially
#light=$(( ( light * light ) / 256 ))

#re-invert
#light=$((255 - light))

# scale 256 to 100
light=$(( light * 100 / 256 ))

# output
echo $light
Attached Thumbnails
Click image for larger version

Name:	Fresh_start.jpg
Views:	213
Size:	212.9 KB
ID:	28552   Click image for larger version

Name:	neofetch_screen.jpg
Views:	182
Size:	248.3 KB
ID:	28553  

Last edited by SCerovec; 09-07-2018 at 12:26 PM. Reason: attachment sizes O.o!
 
4 members found this post helpful.
Old 09-08-2018, 12:36 PM   #3332
enorbet
Senior Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys
Posts: 4,784

Rep: Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434
Nice Conky tweak SCerovec
 
Old 09-08-2018, 04:03 PM   #3333
SCerovec
Senior Member
 
Registered: Oct 2006
Location: Cp6uja
Distribution: Slackware on x86 and arm
Posts: 2,471
Blog Entries: 2

Rep: Reputation: 980Reputation: 980Reputation: 980Reputation: 980Reputation: 980Reputation: 980Reputation: 980Reputation: 980
Thumbs up

Quote:
Originally Posted by enorbet View Post
Nice Conky tweak SCerovec
kind thanks @enorbet, it is still ongoing (stay tuned... )
 
Old 09-09-2018, 09:04 AM   #3334
birdboy
Member
 
Registered: Aug 2018
Distribution: CRUX
Posts: 46

Rep: Reputation: 67
cwm

Last edited by birdboy; 01-02-2019 at 05:14 AM.
 
1 members found this post helpful.
Old 09-11-2018, 02:44 AM   #3335
dchmelik
Senior Member
 
Registered: Nov 2008
Location: USA
Distribution: Slackware, FreeBSD, Illumos, NetBSD, DragonflyBSD, Plan9, Inferno, OpenBSD, FreeDOS, HURD
Posts: 1,065

Rep: Reputation: 146Reputation: 146
I posted in this thread years ago. Here's my new desktop, still with a 1600x1200 monitor (I prefer 4:3/fullscreen,) newer 1920x1080 drawing monitor/pad, and new 4k monitor. This screenshot is only 10% jpeg quality, so it looks better in real life, but I left it full size.
Attached Thumbnails
Click image for larger version

Name:	desktop.jpg
Views:	128
Size:	244.3 KB
ID:	28573  
 
3 members found this post helpful.
Old 09-11-2018, 03:35 PM   #3336
Gerard Lally
Senior Member
 
Registered: Sep 2009
Location: Leinster, IE
Distribution: Slackware, NetBSD
Posts: 2,177

Rep: Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761
Xfce, with greybird gtk, bluebird xfwm, arc icons, breeze cursor, whisker menu plugin.
Attached Thumbnails
Click image for larger version

Name:	Screenshot_2018-09-11_21-29-57.jpg
Views:	150
Size:	187.3 KB
ID:	28577   Click image for larger version

Name:	Screenshot_2018-09-12_01-32-05.jpg
Views:	67
Size:	177.0 KB
ID:	28579  

Last edited by Gerard Lally; 09-11-2018 at 07:33 PM. Reason: Add image
 
3 members found this post helpful.
Old 09-11-2018, 06:33 PM   #3337
SCerovec
Senior Member
 
Registered: Oct 2006
Location: Cp6uja
Distribution: Slackware on x86 and arm
Posts: 2,471
Blog Entries: 2

Rep: Reputation: 980Reputation: 980Reputation: 980Reputation: 980Reputation: 980Reputation: 980Reputation: 980Reputation: 980
Arrow

As promised, the file -
file:/home/cest/.config/conky/conky.conf

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}
${acpitemp} Celsius $alignr ${acpifan}
 ${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}
${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}
]]
the screenshot and TL;DR:
it changes depending on what interface(s) is(/are) active (wwan0, Wlan0, eth0)
Attached Thumbnails
Click image for larger version

Name:	working.jpg
Views:	100
Size:	163.7 KB
ID:	28578  
 
2 members found this post helpful.
Old 09-11-2018, 07:02 PM   #3338
phalange
Member
 
Registered: May 2018
Distribution: Slackware, FreeBSD, Debian
Posts: 355

Rep: Reputation: 184Reputation: 184
Quote:
Originally Posted by SCerovec View Post
it changes depending on what interface(s) is(/are) active (wwan0, Wlan0, eth0)
Nice work, I haven't used 'if' statements with conky. I'll have to work on my config.
 
Old 09-14-2018, 01:42 PM   #3339
Melke
Member
 
Registered: Sep 2009
Location: Graz, Austria
Distribution: Slackware Current
Posts: 106

Rep: Reputation: 45
Back to my I3 config, played around a bit more...

https://imgur.com/a/MKcr1iW

Very happy with the way it looks now
 
5 members found this post helpful.
Old 09-14-2018, 02:52 PM   #3340
ChuangTzu
Senior Member
 
Registered: May 2015
Location: Where ever needed
Distribution: Slackware/Salix while testing others
Posts: 1,718

Rep: Reputation: 1857Reputation: 1857Reputation: 1857Reputation: 1857Reputation: 1857Reputation: 1857Reputation: 1857Reputation: 1857Reputation: 1857Reputation: 1857Reputation: 1857
very nice Melke, do you have that config handy?

I like to play with i3 (shhh, don't tell flux).
 
Old 09-14-2018, 03:27 PM   #3341
Melke
Member
 
Registered: Sep 2009
Location: Graz, Austria
Distribution: Slackware Current
Posts: 106

Rep: Reputation: 45
here you go I'm using i3-gaps btw

https://github.com/mmawhin/i3config/
 
Old 09-15-2018, 02:55 AM   #3342
SCerovec
Senior Member
 
Registered: Oct 2006
Location: Cp6uja
Distribution: Slackware on x86 and arm
Posts: 2,471
Blog Entries: 2

Rep: Reputation: 980Reputation: 980Reputation: 980Reputation: 980Reputation: 980Reputation: 980Reputation: 980Reputation: 980
what is that conky version?

mine is conky 1.10.8_pre from SBo
 
Old 09-15-2018, 03:14 AM   #3343
Melke
Member
 
Registered: Sep 2009
Location: Graz, Austria
Distribution: Slackware Current
Posts: 106

Rep: Reputation: 45
Quote:
Originally Posted by SCerovec View Post
what is that conky version?

mine is conky 1.10.8_pre from SBo
Yes that's my version too... I was too lazy to update my config to the new version... it works though...
 
Old 09-15-2018, 04:34 AM   #3344
SCerovec
Senior Member
 
Registered: Oct 2006
Location: Cp6uja
Distribution: Slackware on x86 and arm
Posts: 2,471
Blog Entries: 2

Rep: Reputation: 980Reputation: 980Reputation: 980Reputation: 980Reputation: 980Reputation: 980Reputation: 980Reputation: 980
I eventually got over that hump.

Maybe You missing on features?
 
Old 09-15-2018, 04:45 AM   #3345
Melke
Member
 
Registered: Sep 2009
Location: Graz, Austria
Distribution: Slackware Current
Posts: 106

Rep: Reputation: 45
Quote:
Originally Posted by SCerovec View Post
I eventually got over that hump.

Maybe You missing on features?
How so?
 
  


Reply

Tags
background, cwm, dwm, framebuffer, gnome, gui, i3, ion3, kde, monitor, musca, screenshot, tmux, wallpaper, xfce4, xterm



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
3D Desktop on Slackware? darkhatter Slackware 3 10-10-2006 12:26 PM
Slackware 10.0 with NO Desktop NiPP Linux - Newbie 2 01-02-2006 10:43 AM
3d desktop on Slackware k1ll3r_x Linux - Software 1 09-20-2005 10:47 PM
Desktop Slackware s0no Slackware 5 12-04-2004 11:20 AM
I can't get my desktop in Slackware 10 DraGoNsLaYeR Linux - Newbie 1 06-27-2004 02:00 PM

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

All times are GMT -5. The time now is 11:29 AM.

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