The project is coming out of hibernation
@geo_c I started experimenting and working on it to polish it add some of features and knock out the little bit of wobble in the system like getting the audio rock solid.
Moderator: Forum moderators
The project is coming out of hibernation
@geo_c I started experimenting and working on it to polish it add some of features and knock out the little bit of wobble in the system like getting the audio rock solid.
rockedge wrote: Wed Oct 04, 2023 11:38 pmThe project is coming out of hibernation
@geo_c I started experimenting and working on it to polish it add some of features and knock out the little bit of wobble in the system like getting the audio rock solid.
Well when you get it tweaked post a build and plug script. I could do a build of it with a tweaked theme and added audio applications and then repost the scripts or upload an iso. I think I can get this one looking pretty good. I have lots of icons and gtk3 themes to work with.
geo_c
Old School Hipster, and Such
I took @fredx181's 20pipewire.sfs
from KLV-Airedale and modified it for KLV-Spectr and now audio is going through pipewire
!!
@geo_c Seems that this audio setup is superior to the pulseaudio setup in the sense that it starts audio support during booting and remains stable.
We can also go ahead and modify KLV-Spectr-beta+ versions to run pipewire
. Getting the audio working well is very important for KLV-Spectr versions so some vigorous testing still needed......but looks promising.
I have not yet added any theme or style polish at all yet. @geo_c do you have a spectrwm.conf that you are using that you could share?
Want to try out various settings to test the recent system modifications.
rockedge wrote: Fri Oct 06, 2023 3:18 pmI have not yet added any theme or style polish at all yet. @geo_c do you have a spectrwm.conf that you are using that you could share?
Want to try out various settings to test the recent system modifications.
Here's my spectwm.conf currently, I have conky-cli configured there, I'll boot up spectr and grab the conky.conf file, though you may choose to comment conky out. I also have workspaces named and configured horizontally and vertically. Also key bindings are configured to open rox and xfe, but I edited to comment out Xfe
another note, the workspaces configured vertically and horizontally have size parameters for my particular display monitor and to create a tall thin window on the left or a thin window up top, where I can launch apps from rox, those might need to be adjusted, or those configs commented out
So you might do best to simply grab colors and whatever other configs look appealing:
Code: Select all
#
# spectrwm Example Configuration File
#
# PLEASE READ THE MAN PAGE BEFORE EDITING THIS FILE!
# https://htmlpreview.github.io/?https://github.com/conformal/spectrwm/blob/master/spectrwm.html
#
# All example settings in this file are commented out with a '#'.
# See the spectrwm(1) man page for default values.
#
# NOTE: rgb color values are in hexadecimal! See XQueryColor(3) for details.
#workspace_limit = 22
#focus_mode = default
#focus_close = previous
#focus_close_wrap = 1
#focus_default = last
#spawn_position = next
#workspace_clamp = 1
#warp_focus = 1
#warp_pointer = 1
# Include mapped workspaces when switching with any of the ws next/prev actions.
#cycle_visible = 1
# Window Decoration
#border_width = 1
color_focus = rgb:81/8B/FF
color_focus_maximized = rgb:81/8B/FF
color_unfocus = rgb:5A/74/CA
color_unfocus_maximized = rgb:5A/74/CA
#region_padding = 0
#tile_gap = 0
# Region containment
# Distance window must be dragged/resized beyond the region edge before it is
# allowed outside the region.
#boundary_width = 50
# Remove window border when bar is disabled and there is only one window in workspace
#disable_border = 1
# Bar Settings
#bar_enabled = 1
#bar_enabled_ws[1] = 1
#bar_border_width = 1
bar_border[1] = rgb:1D/20/21
#bar_border_unfocus[1] = rgb:00/40/40
bar_color[1] = rgb:00/0b/1e
bar_color_selected[1] = rgb:00/0a/1c
bar_font_color[1] = rgb:C7/CA/FF
bar_font_color_selected = rgb:90/EB/E4
bar_font = NimbusSans-Regular:pixelsize=18:antialias=true
#bar_font_pua = Typicons:pixelsize=14:antialias=true
#bar_action = baraction.sh
bar_action = /root/conky-nox11-spectrbar
#bar_action = conky
#bar_action_expand = 0
#bar_justify = left
#bar_format = +N:+I +S <+D>+4<%a %b %d %R %Z %Y+8<+A+4<+V
workspace_indicator = listcurrent,listactive,markcurrent,printnames
#workspace_mark_current = '*'
#workspace_mark_active = '^'
#workspace_mark_empty = '-'
#workspace_mark_urgent = '!'
#bar_at_bottom = 1
#stack_enabled = 1
#stack_mark_horizontal = '[-]'
#stack_mark_horizontal_flip = '[v]'
#stack_mark_vertical = '[|]'
#stack_mark_vertical_flip = '[>]'
#stack_mark_max = '[ ]'
#clock_enabled = 1
clock_format = %r %a %b %d
#iconic_enabled = 0
#maximize_hide_bar = 0
#window_class_enabled = 0
#window_instance_enabled = 0
#window_name_enabled = 0
#verbose_layout = 1
#urgent_enabled = 1
#urgent_collapse = 0
# Dialog box size ratio when using TRANSSZ quirk; 0.3 < dialog_ratio <= 1.0
#dialog_ratio = 0.6
# Split a non-RandR dual head setup into one region per monitor
# (non-standard driver-based multihead is not seen by spectrwm)
#region = screen[1]:1024x768+0+0
#region = screen[1]:1280x1024+0+0
#region = screen[1]:1280x1024+1280+0
# Launch applications in a workspace of choice
#autorun = ws[2]:rox
#quirk[rox:ws2] = WS[2]
##autorun = ws[3]:/root/app-launch/rox -name ws3
# Customize workspace layout at start
layout = ws[1]:-13:0:0:0:horizontal
layout = ws[2]:-13:0:0:0:horizontal
layout = ws[3]:-14:0:0:0:vertical
layout = ws[4]:-14:0:0:0:vertical
layout = ws[5]:-14:0:0:0:vertical
# Set workspace name at start
name = ws[1]:home
name = ws[2]:plan
name = ws[3]:file
name = ws[4]:work
name = ws[5]:post
# Change the modifier to use when specifying 'MOD' in bindings.
# This should come before configuring bindings, not after.
# (Mod1: Alt key, Mod4: Windows key, Mod2: Apple key on OSX)
#modkey = Mod4
# This allows you to include pre-defined key bindings for your keyboard layout.
# All key bindings are cleared before loading bindings in the specified file.
#keyboard_mapping = ~/.spectrwm_us.conf
# PROGRAMS
# Validated default programs:
#program[lock] = xlock
#program[term] = xterm
#program[menu] = dmenu_run $dmenu_bottom -fn $bar_font -nb $bar_color -nf $bar_font_color -sb $bar_color_selected -sf $bar_font_color_selected
#program[search] = dmenu $dmenu_bottom -i -fn $bar_font -nb $bar_color -nf $bar_font_color -sb $bar_color_selected -sf $bar_font_color_selected
#program[name_workspace] = dmenu $dmenu_bottom -p Workspace -fn $bar_font -nb $bar_color -nf $bar_font_color -sb $bar_color_selected -sf $bar_font_color_selected
# To disable validation of the above, free the respective binding(s):
#bind[] = MOD+Shift+Delete # disable lock
#bind[] = MOD+Shift+Return # disable term
#bind[] = MOD+p # disable menu
# Optional default programs that will only be validated if you override:
#program[screenshot_all] = screenshot.sh full # optional
#program[screenshot_wind] = screenshot.sh window # optional
#program[initscr] = initscreen.sh # optional
# EXAMPLE: Define 'firefox' action and bind to key.
#program[firefox] = firefox http://spectrwm.org/
#bind[firefox] = MOD+Shift+b
program[rox] = rox ##I HAD this pointing to a rox launch script, should work with simply rox##
bind[rox] = MOD+shift+z
#program[xfe] = xfe
#bind[xfe] = MOD+shift+c
# QUIRKS
# Default quirks, remove with: quirk[class:name] = NONE
#quirk[MPlayer:xv] = FLOAT + FULLSCREEN + FOCUSPREV
#quirk[OpenOffice.org 2.4:VCLSalFrame] = FLOAT
#quirk[OpenOffice.org 3.0:VCLSalFrame] = FLOAT
#quirk[OpenOffice.org 3.1:VCLSalFrame] = FLOAT
quirk[Firefox-bin:firefox-bin] = TRANSSZ
quirk[Firefox:Dialog] = FLOAT
#quirk[Gimp:gimp] = FLOAT + ANYWHERE
#quirk[XTerm:xterm] = XTERM_FONTADJ
#quirk[xine:Xine Window] = FLOAT + ANYWHERE
#quirk[Xitk:Xitk Combo] = FLOAT + ANYWHERE
#quirk[xine:xine Panel] = FLOAT + ANYWHERE
#quirk[Xitk:Xine Window] = FLOAT + ANYWHERE
#quirk[xine:xine Video Fullscreen Window] = FULLSCREEN + FLOAT
#quirk[pcb:pcb] = FLOAT
geo_c
Old School Hipster, and Such
Here's /etc/conky/conky_nox11_spectarbar.conf
Code: Select all
-- Conky, a system monitor https://github.com/brndnmtthws/conky
--
-- This configuration file is Lua code. You can write code in here, and it will
-- execute when Conky loads. You can use it to generate your own advanced
-- configurations.
--
-- Try this (remove the `--`):
--
-- print("Loading Conky config")
--
-- For more on Lua, see:
-- https://www.lua.org/pil/contents.html
conky.config = {
background = false,
cpu_avg_samples = 2,
net_avg_samples = 2,
no_buffers = true,
out_to_stderr = false,
update_interval = 2.0,
uppercase = false,
use_spacer = 'none',
};
conky.text =
[[
(cpu:$cpu%=${freq}MHz) (mem:$memperc%=$mem) (disk=${fs_used}/${fs_size /}) (wlan0=${addr wlan0}::${downspeed wlan0}><${upspeed wlan0}) (eth0=${addr eth0}::${downspeed eth0}><${upspeed wlan0})
]]
-- Up: ${uptime_short}
-- Ip: ${addr eth0}
-- ${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
-- ${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
-- ${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}
-- ${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4}
-- $conky_version - $sysname $nodename $kernel $machine
-- $memmax
-- (${cpubar 2})
-- (${membar 2})
-- (${fs_bar 2 /})
And here's a launch script which is called by spectrwm.conf bar_action = to launch conky. I don't remember why I'm doing it that way. There was some reaon:
Code: Select all
#!/bin/bash
conky -c /etc/conky/conky_no_x11-spectrbar.conf
geo_c
Old School Hipster, and Such
I have all the SFS components now squashed with zstd compression. KLV-Spectr-RT boots almost instantly on a QEMU VM in this configuration.
So far audio is holding up nicely.
Compiled jgmenu
on F96-CE_4 configured for running on KLV's but it should work on other systems as well since it runs well in F96-CE_4
I made the build into a SFS package called 21jgmenu.sfs
which I have added to the ISO. It loads and works so far nicely.
KLV-Spectr-RT is running in 203 M of RAM on a QEMU VM........
Having studied the KLV-Spectr-RT, I can draw conclusions, there is a lot of fuss with the bar to set up the sensors, I would replace it with any other bar, Pulseaudio starts up fine for me - added to autostart ( exec /usr/lib/polkit-1/polkitd - -no-debug ) , installed lxtask,nitroget-(for setting wallpaper), dunst-(notifications), elogind,arandr,xsettingsd,pcmanfm,lxterminal,xcompmgr,viewnior, brightnessctl , wmctrl .
configured volume and brightness control keys , вот конфигурация в spectrwm.conf
Code: Select all
###############################################################################
# Screen brightness control
###############################################################################
program[brightup] = brightnessctl set +10
bind[brightup] = XF86MonBrightnessUp
program[brightdown] = brightnessctl set 10-
bind[brightdown] = XF86MonBrightnessDown
###############################################################################
# Audio Keybindings
###############################################################################
program[vol+] = pactl set-sink-volume @DEFAULT_SINK@ +5%
bind[vol+] = XF86AudioRaiseVolume
program[vol-] = pactl set-sink-volume @DEFAULT_SINK@ -5%
bind[vol-] = XF86AudioLowerVolume
program[mute] = pactl set-sink-mute @DEFAULT_SINK@ toggle
bind[mute] = XF86AudioMute
KL
PUPPY LINUX Simple fast free
@Sofiya I like the additions that you made. Some I have also tried out. The sensors have been ignored because a different bar is definitely needed.
The ISO is an older one and a new one will be ready soon.
Pulseaudio starts up fine for me - added to autostart ( exec /usr/lib/polkit-1/polkitd - -no-debug )
Which autostart location did you use? As a script?
Anyway a good beginning to the assembly of a polished KLV-Spectr-RT
rockedge wrote: Fri Oct 06, 2023 11:01 pm@Sofiya I like the additions that you made. Some I have also tried out. The sensors have been ignored because a different bar is definitely needed.
The ISO is an older one and a new one will be ready soon.
Pulseaudio starts up fine for me - added to autostart ( exec /usr/lib/polkit-1/polkitd - -no-debug )
Which autostart location did you use? As a script?
Anyway a good beginning to the assembly of a polished KLV-Spectr-RT
Which autostart location did you use? As a script?
/root/Startup
polkit
Code: Select all
#!/bin/bash
exec /usr/lib/polkit-1/polkitd --no-debug
pulseudio
Code: Select all
#!/bin/sh
sleep 5
exec pulseaudio --start &
KL
PUPPY LINUX Simple fast free
@Sofiya should we have 2 different systems, one with pulseaudio and another with pipewire? Might be able to have both available in the system side-by-side and can configure which one to use at boot time, or on the fly.
rockedge wrote: Fri Oct 06, 2023 11:25 pm@Sofiya should we have 2 different systems, one with pulseaudio and another with pipewire? Might be able to have both available in the system side-by-side and can configure which one to use at boot time, or on the fly.
mmm ,, interesting idea, but it’s still better to do it separately .I think it's better to have 2 different systems
KL
PUPPY LINUX Simple fast free
rockedge wrote: Fri Oct 06, 2023 8:43 pmCompiled
jgmenu
on F96-CE_4 configured for running on KLV's but it should work on other systems as well since it runs well in F96-CE_4I made the build into a SFS package called
21jgmenu.sfs
which I have added to the ISO. It loads and works so far nicely.KLV-Spectr-RT is running in 203 M of RAM on a QEMU VM........
jgmenu is also good, but I will use Rofi https://gitlab.com/sofija.p2018/kla-ot2 ... line=false , especially since it is completely ready and installed in all KLVs -Bspwm-Awesome
to hot key rofi -show drun -show-icons
KL
PUPPY LINUX Simple fast free
for transparency of corners and other elements I use I use xcompmgr (instead of Picom and Compton) they are a bit heavy
/root/Startup
Code: Select all
#!/bin/bash
sleep 1
xcompmgr -C -t-5 -l-5 -r4.2 -o.55 &
KL
PUPPY LINUX Simple fast free
Yes Rofi might be the way to go. jgmenu is easy to compile so trying different build options is fun.
So far so good, I can’t get the icons (CPU, RAM, Volume, Clock) to display in the panel, although they are turned on, but instead of icons, squares are displayed, it’s clear that something is missing. I need to think about this issue
KL
PUPPY LINUX Simple fast free
After playing a little with scripts I got this bar .considering the limitations of Spectrwm this is just super
KL
PUPPY LINUX Simple fast free
@Sofiya Yes!! The desktop looks better and better and the bar has good information displayed.
Definitely share the configurations and steps it takes to set up KLV-Spectr-RT to look and work this way.
There should still be a really small footprint in RAM usage when at idle even with these features added in. There is a lot of room to make it a really slick and fast tiling desktop distro
Another option, damn it, I don’t understand why the Unicode font doesn’t accept or whether it works on the ASCII principle. Weird bar
I found the arrow, but it is smaller than needed, and the one that is needed does not accept its bar , it turned out very beautiful if not for this circumstance
KL
PUPPY LINUX Simple fast free
Spectrwm Bar Configuration
Improve, add, don’t be afraid to experiment
Code: Select all
Hotkeys almost like in awesome
Super+a -pcmanfm
Super+d - menu
Super+enter - lxterminal
Super+s - screenshot
Super+Shift+q - restart spectrwm
KL
PUPPY LINUX Simple fast free
I now have a Menu and a Logout Menu
install packages " elogind rofi i3lock xcompmgr "
Code: Select all
powermenu - MOD+Shift+x
rofi-menu - MOD+Shift+d
KL
PUPPY LINUX Simple fast free
@Sofiya Looks great!
I will try and add these in and try it out! I am experimenting and trying out some tweaks with the key bindings:
Yesterday I added the spectrwm config files from: viewtopic.php?p=100446#p100446 to an empty upper_changes on top a fully loaded system.
The bar did not display and there was an error message saying: lxterminal not found
I may be running one KL-Spectr version behind you guys. I built the rootfs on 08/17 using PFI.
Which is the version you two are experimenting with?
I'll make another install so I can play along and try it out on the go.
geo_c
Old School Hipster, and Such
geo_c wrote: Mon Oct 09, 2023 3:18 pmYesterday I added the spectrwm config files from: viewtopic.php?p=100446#p100446 to an empty upper_changes on top a fully loaded system.
The bar did not display and there was an error message saying: lxterminal not found
I may be running one KL-Spectr version behind you guys. I built the rootfs on 08/17 using PFI.
Which is the version you two are experimenting with?
I'll make another install so I can play along and try it out on the go.
lxterminal , Pcmanfm needs to be installed
KL
PUPPY LINUX Simple fast free
rockedge wrote: Mon Oct 09, 2023 3:05 pm@Sofiya Looks great!
I will try and add these in and try it out! I am experimenting and trying out some tweaks with the key bindings:
Screenshot(28).jpg
I don't know C++ well, it could probably be better
KL
PUPPY LINUX Simple fast free
Okay, now I've got it running in my custom system. I also had to install brightnessctl which was causing an exception.
So the mod key is now "super"
geo_c
Old School Hipster, and Such
Sofiya wrote: Mon Oct 09, 2023 10:25 amI now have a Menu and a Logout Menu
install packages " elogind rofi i3lock xcompmgr "Code: Select all
powermenu - MOD+Shift+x rofi-menu - MOD+Shift+d
I've got the menus, but where are you getting the rofi themes? I can boot up bspwm or awesome and nab them from there I think.
Also, how are you setting the background image?
This is nice! Pulseaudio Volume Control is behaving now.
geo_c
Old School Hipster, and Such
Looking at the bar, I think something is missing, namely the most important CPU temperature. Temperature has been added. I will update the files.
KL
PUPPY LINUX Simple fast free
geo_c wrote: Mon Oct 09, 2023 4:37 pmSofiya wrote: Mon Oct 09, 2023 10:25 amI now have a Menu and a Logout Menu
install packages " elogind rofi i3lock xcompmgr "Code: Select all
powermenu - MOD+Shift+x rofi-menu - MOD+Shift+d
I've got the menus, but where are you getting the rofi themes? I can boot up bspwm or awesome and nab them from there I think.
Also, how are you setting the background image?
This is nice! Pulseaudio Volume Control is behaving now.
All themes are packaged in "Spectrwm-bar.tar.gz"
select Rofi themes in /usr/share/applications .
To set the desktop wallpaper, install "nitrogen"
List of what should be installed:
Code: Select all
ffmpeg octoxbps elogind rofi xtools i3lock wmctrl nitrogen brightnessctl dunst arandr lxtask
lxterminal pcmanfm lm_sensors acpi
KL
PUPPY LINUX Simple fast free