LinuxQuestions.org
Help answer threads with 0 replies.
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 03-16-2019, 05:30 PM   #3661
enorbet
Senior Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys
Posts: 4,780

Rep: Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431

Thanks SCerovec, that's an idea worth trying
 
Old 03-17-2019, 06:50 AM   #3662
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
The day I post my conky.conf I somehow end up tweaking it.
Me being me I end up feeling guilty for not having it shared - call me silly.

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.
]]

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_title = 'conky sysmon',
    own_window_type = 'normal',
    own_window_class = 'conky-semy',
    own_window_hints = 'undecorated,sticky,skip_pager',
    own_window_transparent = false,
    own_window_argb_visual = true,
    own_window_argb_value = 128,
    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,
    template0 = [[${exec ~/.config/conky/extdisk.sh}]],
    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}transfer${color0} $alignr R:${diskio_read}/W:${diskio_write}
${diskiograph}
${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}SDcard ${color0} $alignc ${fs_used /run/media/cest/backup} / ${fs_size /run/media/cest/backup} $alignr ${fs_free_perc /run/media/cest/backup}%
${fs_bar /run/media/cest/backup}
${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}
]]
TL;DR:
  • gkrellm alike special window
  • easier to read due to transparency and custom font
  • easy switch to desktop and on top of windows
  • not visible on pager
  • sticky (visible on all desktops)
  • auto hides inactive network interfaces
use at own risk
Attached Thumbnails
Click image for larger version

Name:	Screenshot_2019-03-17_12-46-41.png
Views:	224
Size:	80.1 KB
ID:	30128  
 
2 members found this post helpful.
Old 03-17-2019, 08:30 AM   #3663
deNiro
Member
 
Registered: Jun 2003
Distribution: Slackware-Current and Salix 14.2
Posts: 274
Blog Entries: 1

Rep: Reputation: Disabled
Quote:
Originally Posted by SCerovec View Post
use at own risk
That wallpaper would drive me insane :P
 
1 members found this post helpful.
Old 03-17-2019, 10:47 AM   #3664
reddog83
Member
 
Registered: Apr 2018
Distribution: Slackware 15.0/Current
Posts: 443

Rep: Reputation: 228Reputation: 228Reputation: 228
Laptop

This is my laptop's desktop with Kde Plasma 5 and Linux Kernel-4.20.13
Attached Thumbnails
Click image for larger version

Name:	Screenshot_20190317_104320.jpg
Views:	202
Size:	115.9 KB
ID:	30130  
 
2 members found this post helpful.
Old 03-17-2019, 04:50 PM   #3665
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 deNiro View Post
That wallpaper would drive me insane :P
:P
I am most of time (like 95%) full screen, so there is that.

But there are many more wallpapers (err, xscreensavers) to get insane from
 
Old 03-20-2019, 02:19 PM   #3666
phenixia2003
Senior Member
 
Registered: May 2006
Location: France
Distribution: Slackware
Posts: 1,052

Rep: Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008
Hello,

a screenshot of fluxbox with wmsvmgen running in the background.

Click image for larger version

Name:	wmsvmgen_fluxbox_2.jpg
Views:	172
Size:	279.2 KB
ID:	30153

wmsmvgen is a small c-program I wrote to ease access to storage volumes through a popup-menu.

note that wmsvmgen can also generate menu to ease access to storage volumes under openbox and window maker.

For those interrested by this, you'll find the source code and the slackbuild here.

--
SeB
 
5 members found this post helpful.
Old 03-21-2019, 11:34 AM   #3667
igadoter
Senior Member
 
Registered: Sep 2006
Location: wroclaw, poland
Distribution: many, primary Slackware
Posts: 2,717
Blog Entries: 1

Rep: Reputation: 625Reputation: 625Reputation: 625Reputation: 625Reputation: 625Reputation: 625
@phenixia2003 I will try your app but I think in README description of how to build and install is an error
Quote:
8<--------------------------------------------------------------------
$ mkdir _build
$ cd _build
$ cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release ..
$ make
$ make install
8<--------------------------------------------------------------------
common user cannot install under /usr/bin. I think correct would be
Quote:
8<--------------------------------------------------------------------
$ mkdir _build
$ cd _build
$ cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release ..
$ make
B<---------------------------------------------------------------------
and
Quote:
as root
# make install
 
Old 03-21-2019, 11:55 AM   #3668
phenixia2003
Senior Member
 
Registered: May 2006
Location: France
Distribution: Slackware
Posts: 1,052

Rep: Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008
Hello,

Quote:
Originally Posted by igadoter View Post
@phenixia2003 I will try your app but I think in README description of how to build and install is an error

common user cannot install under /usr/bin. I think correct would be

and
The installation instructions given in the README file must be run as root.

Anyway, the easiest way to install wmsvmgen is to use the slackbuild that you can download here (wmsvmgen-slackbuild.tar.gz)


--
SeB
 
1 members found this post helpful.
Old 03-21-2019, 12:35 PM   #3669
igadoter
Senior Member
 
Registered: Sep 2006
Location: wroclaw, poland
Distribution: many, primary Slackware
Posts: 2,717
Blog Entries: 1

Rep: Reputation: 625Reputation: 625Reputation: 625Reputation: 625Reputation: 625Reputation: 625
I was thinking The dollar sign ($) at the start each of command refers to shell prompt. Ok I built it without problems - yet I must say I don't quite understand how actually config file looks like. So would you be so kind and share one? Also I noticed there ts rc.wmsvgen scrpit. Does wmsvgen is meant to run as service? Thanks.
 
Old 03-21-2019, 02:00 PM   #3670
phenixia2003
Senior Member
 
Registered: May 2006
Location: France
Distribution: Slackware
Posts: 1,052

Rep: Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008
Hello,

Quote:
Originally Posted by igadoter View Post
I must say I don't quite understand how actually config file looks like. So would you be so kind and share one?
The package includes 2 configuration files:
The only difference between these configurations is the directory where generated menu file(s) are placed :
  • in ~/.wmsvmgen in case of user-configuration
  • in /var/lib/wmsvmgen in case of system-configuration.

Both configurations generates menu to access removable storage volumes *only*. To change this, set the property only-removable to false (or off, 0, no). In this case, the generated menu file(s) will give access to all storage volumes.

You can exclude storage volume(s) through the property exclude-volumes. Each item in this list can be: a device name, a label, an uuid :
Code:
exclude-volumes=/dev/sda1,LABEL.PART,03CD-93D3
You can force storage volume(s) to be present (when connected) in the menu through the property force-volumes :
Code:
force-volumes=/dev/sda4,DATA.001,0440-321D
The commands to mount, umount, open in a file manager, open in a terminal emulator, and to get volume informations are respectively specified through the properties mount-command, unmount-command, open-command, open-terminal-command, and infos-command. The included configurations delegates these actions to the wrapper script wmsvm_util (installed in /usr/bin).

For more about wmsvmgen & wmsvm_util :
Code:
$ more /usr/doc/wmsvmgen-2019.0320/README

$ man wmsvmgen

$ man wmsvm_util
Quote:
Originally Posted by igadoter View Post
Also I noticed there ts rc.wmsvgen scrpit. Does wmsvgen is meant to run as service?
wmsvmgen is meant to run in the background, at user or system level. This is required to track storage devices events (insert, remove, mount, unmount), but it uses only 250k of memory (wmudmount uses ~4500k) and cpu usage is unnoticeable.

if you have trouble to get wmsvmgen to run properly, let me know.

--
SeB
 
3 members found this post helpful.
Old 03-21-2019, 02:51 PM   #3671
igadoter
Senior Member
 
Registered: Sep 2006
Location: wroclaw, poland
Distribution: many, primary Slackware
Posts: 2,717
Blog Entries: 1

Rep: Reputation: 625Reputation: 625Reputation: 625Reputation: 625Reputation: 625Reputation: 625
Thanks, great job. I will use this with windowmaker.
 
Old 03-21-2019, 05:07 PM   #3672
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,367

Rep: Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748
Why would I use wmsmvgen in preference to Thunar?
 
Old 03-22-2019, 04:06 AM   #3673
phenixia2003
Senior Member
 
Registered: May 2006
Location: France
Distribution: Slackware
Posts: 1,052

Rep: Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008
Hello,

Quote:
Originally Posted by allend View Post
Why would I use wmsmvgen in preference to Thunar?
wmsvmgen is not designed to replace thunar nor any other file manager. It simply allows access to available storage volumes without to have to start a file manager. That's all. It can be compared to the kde device notifier :


kde device notifier:

Click image for larger version

Name:	kde-device-notifier.png
Views:	100
Size:	73.5 KB
ID:	30163


wmsvmgen:

Click image for larger version

Name:	stovol.png
Views:	130
Size:	125.2 KB
ID:	30162


--
SeB
 
3 members found this post helpful.
Old 03-22-2019, 06:41 AM   #3674
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,367

Rep: Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748
Thanks SeB. Just wanted to be sure that I was not missing something. Cheers!
 
Old 03-22-2019, 11:56 AM   #3675
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, that is simply brilliant!

 
  


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 12:54 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