KLV-Spectr-RT with full real-time kernel 6.1.38-rt13c

Kennel Linux Void based


Moderator: Forum moderators

Clarity
Posts: 3675
Joined: Fri Jul 24, 2020 10:59 pm
Has thanked: 1552 times
Been thanked: 493 times

Re: KLV-Spectr-RT with real full time kernel 6.1.38-rt13c

Post by Clarity »

iso?

User avatar
Sofiya
Posts: 2164
Joined: Tue Dec 07, 2021 9:49 pm
Has thanked: 1411 times
Been thanked: 1449 times

Re: KLV-Spectr-RT with real full time kernel 6.1.38-rt13c

Post by Sofiya »

I compare the Spectrwm indicators, according to the sensors, the memory consumption with an open browser and one tab is 630 Mib. It is great :thumbup2: I am satisfied with the result of the work done :thumbup:

Attachments
2023-10-11-220111_1366x768_scrot.png
2023-10-11-220111_1366x768_scrot.png (453.98 KiB) Viewed 4802 times

KL
PUPPY LINUX Simple fast free

geo_c
Posts: 2861
Joined: Fri Jul 31, 2020 3:37 am
Has thanked: 2161 times
Been thanked: 865 times

Re: KLV-Spectr-RT with real full time kernel 6.1.38-rt13c

Post by geo_c »

Sofiya wrote: Wed Oct 11, 2023 4:19 pm

I just checked and pressed Mode + Tab and my screen also flickered on the 2nd press. I found another part of the code and tried it, it seems to work as it should Tab

Is the only thing changed in the attached tarball the spectwm.conf file?

geo_c
Old School Hipster, and Such

User avatar
Sofiya
Posts: 2164
Joined: Tue Dec 07, 2021 9:49 pm
Has thanked: 1411 times
Been thanked: 1449 times

Re: KLV-Spectr-RT with real full time kernel 6.1.38-rt13c

Post by Sofiya »

geo_c wrote: Thu Oct 12, 2023 1:31 am
Sofiya wrote: Wed Oct 11, 2023 4:19 pm

I just checked and pressed Mode + Tab and my screen also flickered on the 2nd press. I found another part of the code and tried it, it seems to work as it should Tab

Is the only thing changed in the attached tarball the spectwm.conf file?

Yes .I'm still making changes and checking

Code: Select all

#       ___           ___         ___           ___            __         ___           ___           ___
#      /  /\         /  /\       /  /\         /  /\          /  /\      /  /\         /__/\         /__/\
#     /  /:/_       /  /::\     /  /:/_       /  /:/         /  /:/     /  /::\       _\_ \:\       |  |::\
#    /  /:/ /\     /  /:/\:\   /  /:/ /\     /  /:/         /  /:/     /  /:/\:\     /__/\ \:\      |  |:|:\
#   /  /:/ /::\   /  /:/"/:/  /  /:/ /:/_   /  /:/  ___    /  /:/     /  /:/"/:/    _\_ \:\ \:\   __|__|:|\:\
#  /__/:/ /:/\:\ /__/:/ /:/  /__/:/ /:/ /\ /__/:/  /  /\  /  /::\    /__/:/ /:/___ /__/\ \:\ \:\ /__/::::| \:\
#  \  \:\/:/"/:/ \  \:\/:/   \  \:\/:/ /:/ \  \:\ /  /:/ /  /:/\:\   \  \:\/:::::/ \  \:\ \:\/:/ \  \:\""\__\/
#   \  \::/ /:/   \  \::/     \  \::/ /:/   \  \:\  /:/ /__/:/  \:\   \  \::/""""   \  \:\ \::/   \  \:\
#    \__\/ /:/     \  \:\      \  \:\/:/     \  \:\/:/  \__\/ \  \:\   \  \:\        \  \:\/:/     \  \:\
#      /__/:/       \  \:\      \  \::/       \  \::/          \  \:\   \  \:\        \  \::/       \  \:\
#      \__\/         \__\/       \__\/         \__\/            \__\/    \__\/         \__\/         \__\/
#
#=================================================================================================================
# Spectrwm Config file
#-----------------------------------------------------------------------------------------------
# 					Define MOD Key
#-----------------------------------------------------------------------------------------------
# Mod key, (Windows key is Mod4) (Alt key is Mod1) (Apple key is Mod2)
 modkey = Mod4


#------------------------------------------------------------------------------------------------
#					Workspaces
#------------------------------------------------------------------------------------------------

workspace_limit	        = 10
focus_mode	        	= follow
#focus_mode	        	= default
focus_close	        	= last
focus_close_wrap    	= 1
focus_default		    = first
spawn_position	     	= next
workspace_clamp	        = 1
warp_focus		        = 1
warp_pointer		    = 0

#------------------------------------------------------------------------------------------------
#					Window decoration
#------------------------------------------------------------------------------------------------

border_width		    = 1
color_focus		        = rgb:67/90/eb
color_focus_maximized   = rgb:ff/a5/00
color_unfocus		    = rgb:88/88/88
color_unfocus_maximized	= rgb:88/88/00
region_padding      	= 5
tile_gap		        = 5

# 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		= 0

#------------------------------------------------------------------------------------------------
#					Bar settings
#------------------------------------------------------------------------------------------------

bar_action				= ~/.config/polybar/launch.sh
bar_action_expand       = 1
bar_enabled	        	= 1
bar_border_width	    = 5
bar_border[1]	    	= rgb:28/2a/36
bar_border_unfocus[1]	= rgb:28/2a/36
bar_color[1]	    	= rgb:28/2a/36, rgb:00/80/80
bar_color_selected[1]	= rgb:00/80/80
bar_delay               = 1
bar_font_color[1]   	= rgb:bb/c5/ff, rgb:e1/ac/ff, rgb:dd/ff/a7, rgb:ff/8b/92, rgb:ff/e5/85, rgb:89/dd/ff
bar_font_color_selected	= black
bar_font	        	= Noto-Sans-fonts:size=11 awesome-terminal-fonts:size=11 NotoMonoRegular:bold:size=14'
bar_justify	        	= center
bar_format	            = +N:+I +S (+D) | +A
workspace_indicator 	= listcurrent,listactive,markcurrent,printnames
bar_at_bottom	     	= 0
stack_enabled	    	= 1
clock_enabled	    	= 1
clock_format	    	= %a %b %d %R %Z %Y
iconic_enabled      	= 0
maximize_hide_bar	    = 0
window_class_enabled	= 1
window_instance_enabled	= 1
window_name_enabled 	= 1
verbose_layout	    	= 1
urgent_enabled	    	= 1


# 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]:1280x1024+0+0
# region		= screen[1]:1280x1024+1280+0
# region          = screen[1]:1366x768+0+0

#------------------------------------------------------------------------------------------------
#					Auto Launch Applications
#------------------------------------------------------------------------------------------------
# Launch applications in a workspace of choice

 autorun = ws[1]:nitrogen --restore
 autorun = ws[1]:xcompmgr -C -t-5 -l-5 -r4.2 -o.55 &
 autorun = ws[1]:dunst
# autorun = ws[1]:pipewire &
# autorun = ws[1]:pipewire-pulse &
# autorun = ws[1]:pnmixer
# autorun = ws[1]:alacritty
# autorun = ws[1]:volumeicon
# autorun = ws[1]:nm-applet &
# autorun = ws[1]:polkit &
# autorun = 

#------------------------------------------------------------------------------------------------
#				 Customize workspace layout at start
#------------------------------------------------------------------------------------------------

# Customize workspace layout at start
# layout		= ws[1]:4:0:0:0:vertical
# layout		= ws[2]:0:0:0:0:horizontal
# layout		= ws[3]:0:0:0:0:fullscreen
# layout		= ws[4]:4:0:0:0:vertical_flip
# layout		= ws[5]:0:0:0:0:horizontal_flip
# layout		= ws[6]:0:0:0:0:horizontal_flip
# layout		= ws[7]:0:0:0:0:horizontal_flip
# layout		= ws[8]:0:0:0:0:horizontal_flip
# layout		= ws[9]:0:0:0:0:horizontal_flip
# layout		= ws[10]:0:0:0:0:horizontal_flip


#------------------------------------------------------------------------------------------------
#					 Set workspace name at start
# -----------------------------------------------------------------------------------------------

# name			= ws[1]:I
# name			= ws[2]:II
# name			= ws[3]:III
# name			= ws[4]:IV
# name			= ws[5]:V
# name			= ws[6]:VI
# name			= ws[7]:VII
# name			= ws[8]:VIII
# name			= ws[9]:IX
# name			= ws[10]:X


#------------------------------------------------------------------------------------------------
#					 Set workspace name at start
# -----------------------------------------------------------------------------------------------

# name			= ws[1]:web
# name			= ws[2]:edit
# name			= ws[3]:inkscape
# name			= ws[4]:gimp
# name			= ws[5]:meld
# name			= ws[6]:video
# name			= ws[7]:vb
# name			= ws[8]:files
# name			= ws[9]:mail
# name			= ws[10]:music 


#------------------------------------------------------------------------------------------------
#					 Set workspace name at start
# -----------------------------------------------------------------------------------------------
# name			= ws[1]:One
# name			= ws[2]:Two
# name			= ws[3]:Three
# name			= ws[4]:Four
# name			= ws[5]:Five
# name			= ws[6]:Six
# name			= ws[7]:Seven
# name			= ws[8]:Eight
# name			= ws[9]:Nine
# name			= ws[10]:Ten
 
#------------------------------------------------------------------------------------------------
#					 Set workspace name at start
# -----------------------------------------------------------------------------------------------
 
 name = ws[1]:
 name = ws[2]:
 name = ws[3]:
 name = ws[4]:
 name = ws[5]:
 name = ws[6]:
 name = ws[7]:
 name = ws[8]:  
 name = ws[9]:
 name = ws[10]:

# ", " ", " ", " ", " ", " ", " ", " ", " ", " ",

# ", " ", " ", " ", " ", " ", " ", " ", " ", " ",

#------------------------------------------------------------------------------------------------
#				Predefined Key Bindings
#------------------------------------------------------------------------------------------------

# This allows you to include pre-defined key bindings for your keyboard layout.
 keyboard_mapping = /dev/null

#--------------------------------------------------------------------------------------------------
#				User Defined Shortcuts
#-------------------------------------------------------------------------------------------------

# Validated default programs:

 program[term]		      = lxterminal
 bind[term]		          = MOD+Return

 program[pcmanfm]		  = pcmanfm
 bind[pcmanfm]		      = MOD+e

 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
 bind[menu]		          = MOD+Shift+d

 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
# bind[search_win]	      = MOD+Shift+d
 bind[search_workspace]	  = MOD+slash

 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
 bind[name_workspace]	  = MOD+Shift+slash
 
 program[rofi]            = rofi -show drun 
 bind[rofi]               = MOD+d
 
 program[touchpad]            = touchpad_toggle
 bind[touchpad]               = MOD1+Menu
 
# program[screenshot_all]	    = screenshot.sh full	# optional
 program[screenshot_wind]	    = screenshot.sh window	# optional
 program[screenshot_all]   = scrot -t 750x422 '%Y-%m-%d_$wx$h.png' "$@"
 
 program[toggle_bars] = ~/.config/spectrwm/scripts/fullscreen-toggle.sh
 bind[toggle_bars] = MOD+Shift+f
 
 program[i3lock]            = i3lock -c 000000   # i3lock -i /root/Pictures/*.png  /  i3lock -c 000000 
 bind[i3lock]               = MOD1+l             # MOD1 key alt
 
 
# 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

#---------------------------------------------------------------------------------------------------
#						Powermenu
#---------------------------------------------------------------------------------------------------
 
 program[powermenu] = /root/.config/spectrwm/scripts/powermenu.sh 
 
###############################################################################
#			Brightness
###############################################################################

 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 
 
#---------------------------------------------------------------------------------------------------
#						Floating or not
#---------------------------------------------------------------------------------------------------


# QUIRKS
# Default quirks, remove with: quirk[class:name] = NONE
 quirk[mpv: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[Lxappearance:lxappearance]            = FLOAT
 quirk[Lxappearance]			             = FLOAT 
 quirk[Gpick]  	                             = FLOAT + ANYWHERE
 quirk[Pavucontrol]			                 = FLOAT
 quirk[st-256color]                          = FLOAT
# quirk[yandex-browser:Dialog]                = FLOAT + MINIMALBORDER
# quirk[yandex-browser:.*]                    = ANYWHERE + IGNORESPAWNWS
 quirk[firefox:menu]                         = FLOAT
 quirk[UXTerm:nmtui]                         = FLOAT
 quirk[XTerm:xterm]                          = FLOAT
 quirk[Sxiv:sxiv]                            = FLOAT
 quirk[discord:Discord Updater]	             = WS[2] + FLOAT
 quirk[Subl3:subl]                           = NONE
 quirk[mpv:.*]                               = NONE
# quirk[Pcmanfm:Dialog]                       = FULLSCREEN + FLOAT
 quirk[Dmenu:dmenu.*]			             = FLOAT + ANYWHERE + IGNORESPAWNWS
 quirk[xmenu]                                = ANYWHERE + IGNORESPAWNWS
 quirk[Spectr-keybindings-small:Dialog]      = FLOAT 
 quirk[Xitk:Xine Window]                     = FLOAT + ANYWHERE 
 quirk[xine:Xine Window]                     = FLOAT + ANYWHERE
 quirk[SMplayer:xv]                          = FLOAT + FULLSCREEN
 quirk[XTerm:xterm]                          = XTERM_FONTADJ 
 
#---------------------------------------------------------------------------------------------------
#						Window Manager Keybindings
#---------------------------------------------------------------------------------------------------

 bind[maximize_toggle]	= MOD+f
 
 bind[restart]			= MOD+Shift+r
 bind[width_grow]		= MOD+equal
 bind[width_shrink]		= MOD+minus
 bind[wind_del]			= MOD+Shift+q
 #bind[quit]			= MOD+Shift+x
 bind[cycle_layout]		= MOD+space
 bind[stack_reset]		= MOD+Shift+space

 bind[ws_next_all]		= MOD+Right
 bind[ws_prev_all]		= MOD+Left
 
 bind[ws_next_all]		= Control+MOD1+Right
 bind[ws_next]			= Control+MOD1+Up
 bind[ws_next]			= MOD+Up
 bind[ws_prev_all]		= Control+MOD1+Left
 bind[ws_prev]			= Control+MOD1+Down
 bind[ws_prev]			= MOD+Down


 bind[swap_next]		= MOD+Shift+Up
 bind[swap_prev]		= MOD+Shift+Down
 bind[swap_next]		= MOD+Shift+j
 bind[swap_prev]		= MOD+Shift+k

 bind[flip_layout]		= MOD+Shift+Left
 bind[flip_layout]		= MOD+Shift+Right

 bind[float_toggle]		= MOD+Shift+t

 bind[focus_next]	    = MOD+Tab
 bind[focus_prev]	    = MOD+Shift+Tab

 bind[focus_next]	    = Mod1+Tab
 bind[focus_prev]	    = Mod1+Shift+Tab

 bind[focus_urgent]	    = MOD+u 
 
 bind[master_grow]	    = MOD+h
 bind[master_shrink]	= MOD+l
 bind[bar_toggle]       = MOD+b
# bind[master_del]	 	= MOD+comma
# bind[master_add]		= MOD+period
#--------------------------------------------------------------------------------------------------
#                  Program
#-------------------------------------------------------------------------------------------------- 
 bind[wind_del]		    = MOD+q
 bind[wind_kill]		= MOD+Shift+q
 bind[screenshot_all]   = MOD+s
 bind[screenshot_wind]  = MOD+Shift+s
 bind[restart]		    = MOD+Shift+r
 bind[powermenu]		= MOD+Shift+x
#---------------------------------------------------------------------------------------------------
#						Moving Windows Keybindings
#---------------------------------------------------------------------------------------------------

#Qwerty bindings

 bind[ws_1]				= MOD+1
 bind[ws_2]				= MOD+2
 bind[ws_3]				= MOD+3
 bind[ws_4]				= MOD+4
 bind[ws_5]				= MOD+5
 bind[ws_6]				= MOD+6
 bind[ws_7]				= MOD+7
 bind[ws_8]				= MOD+8
 bind[ws_9]				= MOD+9
 bind[ws_10]			= MOD+0

 bind[mvws_1]			= MOD+Shift+1
 bind[mvws_2]			= MOD+Shift+2
 bind[mvws_3]			= MOD+Shift+3
 bind[mvws_4]			= MOD+Shift+4
 bind[mvws_5]			= MOD+Shift+5
 bind[mvws_6]			= MOD+Shift+6
 bind[mvws_7]			= MOD+Shift+7
 bind[mvws_8]			= MOD+Shift+8
 bind[mvws_9]			= MOD+Shift+9
 bind[mvws_10]			= MOD+Shift+0

#Azerty(be) bindings

 #bind[ws_1]				= MOD+ampersand
 #bind[ws_2]				= MOD+eacute
 #bind[ws_3]				= MOD+quotedbl
 #bind[ws_4]				= MOD+apostrophe
 #bind[ws_5]				= MOD+parenleft
 #bind[ws_6]				= MOD+section
 #bind[ws_7]				= MOD+egrave
 #bind[ws_8]				= MOD+exclam
 #bind[ws_9]				= MOD+ccedilla
 #bind[ws_10]				= MOD+agrave 
#
 #bind[mvws_1]			= MOD+Shift+ampersand
 #bind[mvws_2]			= MOD+Shift+eacute
 #bind[mvws_3]			= MOD+Shift+quotedbl
 #bind[mvws_4]			= MOD+Shift+apostrophe
 #bind[mvws_5]			= MOD+Shift+parenleft
 #bind[mvws_6]			= MOD+Shift+section
 #bind[mvws_7]			= MOD+Shift+egrave
 #bind[mvws_8]			= MOD+Shift+exclam
 #bind[mvws_9]			= MOD+Shift+ccedilla
 #bind[mvws_10]			= MOD+Shift+agrave
#
Last edited by Sofiya on Sun Oct 15, 2023 5:42 pm, edited 11 times in total.

KL
PUPPY LINUX Simple fast free

geo_c
Posts: 2861
Joined: Fri Jul 31, 2020 3:37 am
Has thanked: 2161 times
Been thanked: 865 times

Re: KLV-Spectr-RT with real full time kernel 6.1.38-rt13c

Post by geo_c »

Sofiya wrote: Wed Oct 11, 2023 10:07 pm

I compare the Spectrwm indicators, according to the sensors, the memory consumption with an open browser and one tab is 630 Mib. It is great :thumbup2: I am satisfied with the result of the work done :thumbup:

Yes, that's how I feel about Spectr, it's super resource friendly, and what you've done to it is small miracle in my opinion.

After some more running and developing I'll be trying this on my very old Toshiba netbook with only one 1.6GHZ processor chip and 2GB of ram and see how it does.

geo_c
Old School Hipster, and Such

User avatar
wiak
Posts: 4024
Joined: Tue Dec 03, 2019 6:10 am
Location: Packing - big job
Has thanked: 61 times
Been thanked: 1168 times
Contact:

Re: KLV-Spectr-RT with real full time kernel 6.1.38-rt13c

Post by wiak »

geo_c wrote: Thu Oct 12, 2023 2:12 am
Sofiya wrote: Wed Oct 11, 2023 10:07 pm

I compare the Spectrwm indicators, according to the sensors, the memory consumption with an open browser and one tab is 630 Mib. It is great :thumbup2: I am satisfied with the result of the work done :thumbup:

Yes, that's how I feel about Spectr, it's super resource friendly, and what you've done to it is small miracle in my opinion.

After some more running and developing I'll be trying this on my very old Toshiba netbook with only one 1.6GHZ processor chip and 2GB of ram and see how it does.

Best if you state browser type and what url since some tabs are very light on RAM so very variable measurement.

Well, not that it matters - I think most of these tiling managers are pretty light on resources themselves, except maybe awesome, so browser RAM use dominates overall.

https://www.tinylinux.info/
DOWNLOAD wd_multi for hundreds of 'distros' at your fingertips: viewtopic.php?p=99154#p99154
Αξίζει να μεταφραστεί;

User avatar
Sofiya
Posts: 2164
Joined: Tue Dec 07, 2021 9:49 pm
Has thanked: 1411 times
Been thanked: 1449 times

Re: KLV-Spectr-RT with real full time kernel 6.1.38-rt13c

Post by Sofiya »

wiak wrote: Thu Oct 12, 2023 2:51 am
geo_c wrote: Thu Oct 12, 2023 2:12 am
Sofiya wrote: Wed Oct 11, 2023 10:07 pm

I compare the Spectrwm indicators, according to the sensors, the memory consumption with an open browser and one tab is 630 Mib. It is great :thumbup2: I am satisfied with the result of the work done :thumbup:

Yes, that's how I feel about Spectr, it's super resource friendly, and what you've done to it is small miracle in my opinion.

After some more running and developing I'll be trying this on my very old Toshiba netbook with only one 1.6GHZ processor chip and 2GB of ram and see how it does.

Best if you state browser type and what url since some tabs are very light on RAM so very variable measurement.

Well, not that it matters - I think most of these tiling managers are pretty light on resources themselves, except maybe awesome, so browser RAM use dominates overall.

Yandex-browser and the tab of this site, I do not yet take into account 9 extensions

KL
PUPPY LINUX Simple fast free

User avatar
wiak
Posts: 4024
Joined: Tue Dec 03, 2019 6:10 am
Location: Packing - big job
Has thanked: 61 times
Been thanked: 1168 times
Contact:

Re: KLV-Spectr-RT with real full time kernel 6.1.38-rt13c

Post by wiak »

A few (but not many) specific claims:

https://forums.bunsenlabs.org/viewtopic.php?id=800

But these measurements generally all mean next to nothing in practice; use what best suits your work habits and browser will eat your memory anyway ;-)

CPU/responsiveness on old machines is a different matter though - don't want sluggish but most tiling managers seem to zip along.

I still remember old forum member saintless storming off the forum because discuss took place about the initial RAM usage of DebianDog Mint; it was a technical discussion of little importance but upset saintless. But, yes, good if low resource usage overall of course. Responsiveness is the key though - BionicPup32, using JWM of course, was very responsive and that's a good comparison for reasonably old machines with low RAM.

https://www.tinylinux.info/
DOWNLOAD wd_multi for hundreds of 'distros' at your fingertips: viewtopic.php?p=99154#p99154
Αξίζει να μεταφραστεί;

User avatar
Sofiya
Posts: 2164
Joined: Tue Dec 07, 2021 9:49 pm
Has thanked: 1411 times
Been thanked: 1449 times

Re: KLV-Spectr-RT with real full time kernel 6.1.38-rt13c

Post by Sofiya »

wiak wrote: Thu Oct 12, 2023 3:09 am

A few (but not many) specific claims:

But these measurements generally all mean next to nothing in practice; use what best suits your work habits and browser will eat your memory anyway ;-)

CPU/responsiveness on old machines is a different matter though - don't want sluggish but most tiling managers seem to zip along.

I still remember old forum member saintless storming off the forum because discuss took place about the initial RAM usage of DebianDog Mint; it was a technical discussion of little importance but upset saintless. But, yes, good if low resource usage overall of course.

I agree, consumption depends on many aspects

KL
PUPPY LINUX Simple fast free

User avatar
Sofiya
Posts: 2164
Joined: Tue Dec 07, 2021 9:49 pm
Has thanked: 1411 times
Been thanked: 1449 times

Re: KLV-Spectr-RT with real full time kernel 6.1.38-rt13c

Post by Sofiya »

Fully fixed - great key bindings :thumbup:

corrected files: in /root/.config/polybar/config and /root/.spectrwm.conf

Attachments
Spectrwm-bar-polybar-v4.4.tar.gz
(156.04 KiB) Downloaded 31 times
2023-10-12-062130_1366x768_scrot.jpg
2023-10-12-062130_1366x768_scrot.jpg (120.54 KiB) Viewed 4729 times
Last edited by Sofiya on Thu Oct 12, 2023 11:53 am, edited 6 times in total.

KL
PUPPY LINUX Simple fast free

User avatar
wiak
Posts: 4024
Joined: Tue Dec 03, 2019 6:10 am
Location: Packing - big job
Has thanked: 61 times
Been thanked: 1168 times
Contact:

Re: KLV-Spectr-RT with real full time kernel 6.1.38-rt13c

Post by wiak »

A nice elegant desktop that remains responsive overall is a great aim though and worthy of seeking.

Of course we all wish we could find the 'magic bullet', but specially in a modern browser...

https://www.tinylinux.info/
DOWNLOAD wd_multi for hundreds of 'distros' at your fingertips: viewtopic.php?p=99154#p99154
Αξίζει να μεταφραστεί;

User avatar
Sofiya
Posts: 2164
Joined: Tue Dec 07, 2021 9:49 pm
Has thanked: 1411 times
Been thanked: 1449 times

Re: KLV-Spectr-RT with real full time kernel 6.1.38-rt13c

Post by Sofiya »

Description of actions for binding commands to hot keys.

Spectrwm provides many functions (or actions) that are accessed using a key.
The action names and descriptions are listed below:

Code: Select all

   
           term            -  Spawn a new terminal (see PROGRAMS above).
           menu            -  Menu (see PROGRAMS above).
           quit            -  Quit spectrwm.
           restart         -  Restart spectrwm.
           cycle_layout    -  Cycle layout.
           flip_layout     -  Swap the master and stacking areas.
           stack_reset     - Reset layout.
           master_shrink   -  Shrink master area.
           master_grow     -  Grow master area.
           master_add      -  Add windows to master area.
           master_del      -  Remove windows from master area.
           stack_inc       -  Add columns/rows to stacking area.
           stack_dec       -  Remove columns/rows from stacking area.
           swap_main       -  Move current window to master area.
           focus_next      -  Focus next window in workspace.
           focus_prev      -  Focus previous window in workspace.
           focus_main      -  Focus on main window in workspace.
           swap_next       -  Swap with next window in workspace.
           swap_prev       -  Swap with previous window in workspace.
           bar_toggle      -  Toggle status bar in all workspaces.
           wind_del        -  Delete current window in workspace.
           wind_kill       -  Destroy current window in workspace.
           ws_n            -  Switch to workspace n, where n is 1 through 10.
           mvws_n          -  Move current window to workspace n, where n is 1 through 10.
           ws_next         -  Switch to next workspace with a window in it.
           ws_prev         -  Switch to previous workspace with a window in it.
           ws_next_all     -  Switch to next workspace.
           ws_prev_all     -  Switch to previous workspace.
           ws_prior        -  Switch to last visited workspace.
           screen_next     -  Move pointer to next region.
           screen_prev     -  Move pointer to previous region.
           screenshot_all  -  Take screenshot of entire screen (if enabled) (see PROGRAMS above).
           screenshot_wind -  Take screenshot of selected window (if enabled) (see PROGRAMS
                             above).
           version         -  Toggle version in status bar.
           float_toggle    -  Toggle focused window between tiled and floating.
           lock            -  Lock screen (see PROGRAMS above).
           initscr         -  Reinitialize physical screens (see PROGRAMS above).
           iconify         -  Minimize (unmap) currently focused window.
           uniconify       -  Maximize (map) window returned by dmenu selection.
           always_raise    -  When set tiled windows are allowed to obscure floating windows.
           button2         -  Fake a middle mouse button click (mouse button 2).
           width_shrink    -  Shrink the width of a floating window.
           width_grow      -  Grow the width of a floating window.
           height_shrink   -  Shrink the height of a floating window.
           height_grow     -  Grow the height of a floating window.
           move_left       -  Move a floating window a step to the left.
           move_right      -  Move a floating window a step to the right.
           move_up         -  Move a floating window a step upwards.
           move_down       -  Move a floating window a step downwards.
           name_workspace  -  Name the current workspace.
           search_workspace -  Search for a workspace.
           search_win      -  Search the windows in the current workspace.
           
     Custom bindings in the configuration file are specified as follows:

           bind[<action>] = <keys>

     ⟨action⟩ is one of the actions listed above (or empty) and ⟨keys⟩ is in the form of zero or
     more modifier keys (MOD, Mod1, Shift, etc.) and one or more normal keys (b, space, etc.),
     separated by "+".  For example:

           bind[reset] = Mod4+q # bind Windows-key + q to reset
           bind[] = Mod1+q # unbind Alt + q

     To use the currently defined modkey, specify MOD as the modifier key.

     Multiple key combinations may be bound to the same action.

KL
PUPPY LINUX Simple fast free

User avatar
Sofiya
Posts: 2164
Joined: Tue Dec 07, 2021 9:49 pm
Has thanked: 1411 times
Been thanked: 1449 times

Re: KLV-Spectr-RT with real full time kernel 6.1.38-rt13c

Post by Sofiya »

ANNOUNCEMENT: : replaced due to the fact that the control keys and brightness and volume adjustments were not registered :geek:

Attachments
Spectrwm-bar-polybar-v4.4.tar.gz
(156.04 KiB) Downloaded 28 times

KL
PUPPY LINUX Simple fast free

geo_c
Posts: 2861
Joined: Fri Jul 31, 2020 3:37 am
Has thanked: 2161 times
Been thanked: 865 times

Re: KLV-Spectr-RT with real full time kernel 6.1.38-rt13c

Post by geo_c »

Sofiya wrote: Thu Oct 12, 2023 9:03 am

Description of actions for binding commands to hot keys.

Spectrwm provides many functions (or actions) that are accessed using a key.
The action names and descriptions are listed below:

Nice work! This has just about as much control over window sizes as bspwm, maybe even easier to use.

So I'm looking at that spectrwm.conf and am I correct to say that you encoded special characters to use as the workspace icons in the polybar?

geo_c
Old School Hipster, and Such

User avatar
Sofiya
Posts: 2164
Joined: Tue Dec 07, 2021 9:49 pm
Has thanked: 1411 times
Been thanked: 1449 times

Re: KLV-Spectr-RT with real full time kernel 6.1.38-rt13c

Post by Sofiya »

geo_c wrote: Thu Oct 12, 2023 12:06 pm
Sofiya wrote: Thu Oct 12, 2023 9:03 am

Description of actions for binding commands to hot keys.

Spectrwm provides many functions (or actions) that are accessed using a key.
The action names and descriptions are listed below:

Nice work! This has just about as much control over window sizes as bspwm, maybe even easier to use.

So I'm looking at that spectrwm.conf and am I correct to say that you encoded special characters to use as the workspace icons in the polybar?

Yes.But I don’t understand why you ask about this???
You can choose any of those available in the configuration in " /root/.spectrwm.conf ", simply commenting out one and uncommenting the other.
If you comment out everything, you will simply get 1 2 3 4 5 6 7 8 9 10

Code: Select all

#------------------------------------------------------------------------------------------------
#					 Set workspace name at start
# -----------------------------------------------------------------------------------------------

# name			= ws[1]:I
# name			= ws[2]:II
# name			= ws[3]:III
# name			= ws[4]:IV
# name			= ws[5]:V
# name			= ws[6]:VI
# name			= ws[7]:VII
# name			= ws[8]:VIII
# name			= ws[9]:IX
# name			= ws[10]:X


#------------------------------------------------------------------------------------------------
#					 Set workspace name at start
# -----------------------------------------------------------------------------------------------

# name			= ws[1]:web
# name			= ws[2]:edit
# name			= ws[3]:inkscape
# name			= ws[4]:gimp
# name			= ws[5]:meld
# name			= ws[6]:video
# name			= ws[7]:vb
# name			= ws[8]:files
# name			= ws[9]:mail
# name			= ws[10]:music 


#------------------------------------------------------------------------------------------------
#					 Set workspace name at start
# -----------------------------------------------------------------------------------------------
# name			= ws[1]:One
# name			= ws[2]:Two
# name			= ws[3]:Three
# name			= ws[4]:Four
# name			= ws[5]:Five
# name			= ws[6]:Six
# name			= ws[7]:Seven
# name			= ws[8]:Eight
# name			= ws[9]:Nine
# name			= ws[10]:Ten
 
#------------------------------------------------------------------------------------------------
#					 Set workspace name at start
# -----------------------------------------------------------------------------------------------
 
 name = ws[1]:
 name = ws[2]:
 name = ws[3]:
 name = ws[4]:
 name = ws[5]:
 name = ws[6]:
 name = ws[7]:
 name = ws[8]:
 name = ws[9]:
 name = ws[10]:

KL
PUPPY LINUX Simple fast free

geo_c
Posts: 2861
Joined: Fri Jul 31, 2020 3:37 am
Has thanked: 2161 times
Been thanked: 865 times

Re: KLV-Spectr-RT with real full time kernel 6.1.38-rt13c

Post by geo_c »

Sofiya wrote: Thu Oct 12, 2023 12:11 pm
geo_c wrote: Thu Oct 12, 2023 12:06 pm

Am I correct to say that you encoded special characters to use as the workspace icons in the polybar?

Yes.But I don’t understand why you ask about this???
You can choose any of those available in the configuration in " /root/.spectrwm.conf ", simply commenting out one and uncommenting the other.
If you comment out everything, you will simply get 1 2 3 4 5 6 7 8 9 10

Don't misunderstand, I like the icons, but I was not aware of using that technique. It never occurred to me that characters like that could be inserted into a text based config file and then be displayed.

geo_c
Old School Hipster, and Such

User avatar
Sofiya
Posts: 2164
Joined: Tue Dec 07, 2021 9:49 pm
Has thanked: 1411 times
Been thanked: 1449 times

Re: KLV-Spectr-RT with real full time kernel 6.1.38-rt13c

Post by Sofiya »

geo_c wrote: Thu Oct 12, 2023 12:23 pm
Sofiya wrote: Thu Oct 12, 2023 12:11 pm
geo_c wrote: Thu Oct 12, 2023 12:06 pm

Am I correct to say that you encoded special characters to use as the workspace icons in the polybar?

Yes.But I don’t understand why you ask about this???
You can choose any of those available in the configuration in " /root/.spectrwm.conf ", simply commenting out one and uncommenting the other.
If you comment out everything, you will simply get 1 2 3 4 5 6 7 8 9 10

Don't misunderstand, I like the icons, but I was not aware of using that technique. It never occurred to me that characters like that could be inserted into a text based config file and then be displayed.

Yes, you can, but to do this you need to use a special program for viewing and copying Unicode files :geek: https://home.unicode.org/adopt-a-charac ... character/

KL
PUPPY LINUX Simple fast free

geo_c
Posts: 2861
Joined: Fri Jul 31, 2020 3:37 am
Has thanked: 2161 times
Been thanked: 865 times

Re: KLV-Spectr-RT with real full time kernel 6.1.38-rt13c

Post by geo_c »

Sofiya wrote: Thu Oct 12, 2023 12:28 pm

Yes, you can, but to do this you need to use a special program for viewing and copying Unicode files :geek: https://home.unicode.org/adopt-a-charac ... character/

Ah, so that's how you achieve these "small miracles!"

geo_c
Old School Hipster, and Such

User avatar
Sofiya
Posts: 2164
Joined: Tue Dec 07, 2021 9:49 pm
Has thanked: 1411 times
Been thanked: 1449 times

Re: KLV-Spectr-RT with real full time kernel 6.1.38-rt13c

Post by Sofiya »

geo_c wrote: Thu Oct 12, 2023 12:34 pm
Sofiya wrote: Thu Oct 12, 2023 12:28 pm

Yes, you can, but to do this you need to use a special program for viewing and copying Unicode files :geek: https://home.unicode.org/adopt-a-charac ... character/

Ah, so that's how you achieve these "small miracles!"

I'm testing MOD+space and so far everything is working fine, I think the reason was the extra two binds that were removed from the code during the investigation.check it out for yourself and write how it works for you .

Were deleted

Code: Select all

# bind[flip_layout]	      = MOD+v 
# bind[layout_horizontal]      = MOD+Shift+v

I added binds for the H and L keys to expand the window to the right and left by pressing Mode+h Mode+l
and also up and down if the windows are located horizontally

Code: Select all

 bind[master_grow]	    = MOD+h
 bind[master_shrink]	= MOD+l

Was taken from here:
viewtopic.php?p=100785#p100785

Attachments
2023-10-12-154940_1366x768_scrot.png
2023-10-12-154940_1366x768_scrot.png (87.91 KiB) Viewed 4601 times

KL
PUPPY LINUX Simple fast free

User avatar
Sofiya
Posts: 2164
Joined: Tue Dec 07, 2021 9:49 pm
Has thanked: 1411 times
Been thanked: 1449 times

Re: KLV-Spectr-RT with real full time kernel 6.1.38-rt13c

Post by Sofiya »

At this stage I complete my work, the matter is up to you ;)

KL
PUPPY LINUX Simple fast free

geo_c
Posts: 2861
Joined: Fri Jul 31, 2020 3:37 am
Has thanked: 2161 times
Been thanked: 865 times

Re: KLV-Spectr-RT with real full time kernel 6.1.38-rt13c

Post by geo_c »

Yes MOD+space is working well for me.

I've added two more key bindings that I think you'll find useful if you use this OS frequently. They move windows from the stack and place them in the master, and remove them. They work well.

Code: Select all

 bind[master_del]	 	= MOD+comma
 bind[master_add]		= MOD+period
 

EDIT:

Sofiya wrote: Thu Oct 12, 2023 12:49 pm

I added binds for the H and L keys to expand the window to the right and left by pressing Mode+h Mode+l
and also up and down if the windows are located horizontally

Code: Select all

 bind[master_grow]	    = MOD+h
 bind[master_shrink]	= MOD+l

Yes, these two were still working because they are default key bindings. And life is good with those two active!

I think what I could do is look at the default key bindings in addition your modifications, and create a list of all the key bindings as a helpful guide.

You've turned this Spectr into a little masterpiece IMO. I was just using bspwm earlier and it's superb also, but there's something about Spectr that really appeals to me. I haven't spent that much time in Awesome yet, but I'll be getting more familiar as time passes.

Last edited by geo_c on Thu Oct 12, 2023 1:40 pm, edited 3 times in total.

geo_c
Old School Hipster, and Such

User avatar
Sofiya
Posts: 2164
Joined: Tue Dec 07, 2021 9:49 pm
Has thanked: 1411 times
Been thanked: 1449 times

Re: KLV-Spectr-RT with real full time kernel 6.1.38-rt13c

Post by Sofiya »

geo_c wrote: Thu Oct 12, 2023 1:18 pm

Yes MOD+space is working well for me.

I've added two more key bindings that I think you'll find useful if you use this OS frequently. They move windows from the stack and place them in the master, and remove them. They work well.

Code: Select all

 bind[master_del]	 	= MOD+comma
 bind[master_add]		= MOD+period
 

these keys where is the period and comma??

KL
PUPPY LINUX Simple fast free

geo_c
Posts: 2861
Joined: Fri Jul 31, 2020 3:37 am
Has thanked: 2161 times
Been thanked: 865 times

Re: KLV-Spectr-RT with real full time kernel 6.1.38-rt13c

Post by geo_c »

Sofiya wrote: Thu Oct 12, 2023 1:27 pm
geo_c wrote: Thu Oct 12, 2023 1:18 pm

Yes MOD+space is working well for me.

I've added two more key bindings that I think you'll find useful if you use this OS frequently. They move windows from the stack and place them in the master, and remove them. They work well.

Code: Select all

 bind[master_del]	 	= MOD+comma
 bind[master_add]		= MOD+period
 

these keys where is the period and comma??

I don't know much about keyboard encoding, but on US QWERTY they are on the bottom alpha row like this:

(z) (x) (c) (v) (b) (n) (m) (,) (.) ##last two, comma then period##

geo_c
Old School Hipster, and Such

geo_c
Posts: 2861
Joined: Fri Jul 31, 2020 3:37 am
Has thanked: 2161 times
Been thanked: 865 times

Re: KLV-Spectr-RT with real full time kernel 6.1.38-rt13c

Post by geo_c »

Added comments in above post: viewtopic.php?p=100798#p100798

geo_c
Old School Hipster, and Such

User avatar
Sofiya
Posts: 2164
Joined: Tue Dec 07, 2021 9:49 pm
Has thanked: 1411 times
Been thanked: 1449 times

Re: KLV-Spectr-RT with real full time kernel 6.1.38-rt13c

Post by Sofiya »

geo_c wrote: Thu Oct 12, 2023 1:32 pm
Sofiya wrote: Thu Oct 12, 2023 1:27 pm
geo_c wrote: Thu Oct 12, 2023 1:18 pm

Yes MOD+space is working well for me.

I've added two more key bindings that I think you'll find useful if you use this OS frequently. They move windows from the stack and place them in the master, and remove them. They work well.

Code: Select all

 bind[master_del]	 	= MOD+comma
 bind[master_add]		= MOD+period
 

these keys where is the period and comma??

I don't know much about keyboard encoding, but on US QWERTY they are on the bottom alpha row like this:

(z) (x) (c) (v) (b) (n) (m) (,) (.) ##last two, comma then period##

In Russian also they are in the lower alpha line
------------------------------------------------------------------------------------
MOD+? that's what he can do - give out desktops in the middle

Attachments
Screenshot.png
Screenshot.png (277.04 KiB) Viewed 4567 times

KL
PUPPY LINUX Simple fast free

geo_c
Posts: 2861
Joined: Fri Jul 31, 2020 3:37 am
Has thanked: 2161 times
Been thanked: 865 times

Re: KLV-Spectr-RT with real full time kernel 6.1.38-rt13c

Post by geo_c »

Sofiya wrote: Thu Oct 12, 2023 1:40 pm

MOD+? that's what he can do - give out desktops in the middle

On US keyboard this is:
MOD+/

geo_c
Old School Hipster, and Such

User avatar
Sofiya
Posts: 2164
Joined: Tue Dec 07, 2021 9:49 pm
Has thanked: 1411 times
Been thanked: 1449 times

Re: KLV-Spectr-RT with real full time kernel 6.1.38-rt13c

Post by Sofiya »

geo_c wrote: Thu Oct 12, 2023 1:53 pm
Sofiya wrote: Thu Oct 12, 2023 1:40 pm

MOD+? that's what he can do - give out desktops in the middle

On US keyboard this is:
MOD+/

I have an English_Russian keyboard and I also have Mod+ /

KL
PUPPY LINUX Simple fast free

geo_c
Posts: 2861
Joined: Fri Jul 31, 2020 3:37 am
Has thanked: 2161 times
Been thanked: 865 times

Re: KLV-Spectr-RT with real full time kernel 6.1.38-rt13c

Post by geo_c »

These two I added now. They switch the stack windows from vertical split to horizontal:

Code: Select all

 bind[stack_dec]		= MOD+Shift+comma
 bind[stack_inc]		= MOD+Shift+period
 

geo_c
Old School Hipster, and Such

User avatar
Sofiya
Posts: 2164
Joined: Tue Dec 07, 2021 9:49 pm
Has thanked: 1411 times
Been thanked: 1449 times

Re: KLV-Spectr-RT with real full time kernel 6.1.38-rt13c

Post by Sofiya »

Yes, before I forget, the system tray is located on the right after the time and date. so if you mark nm-aplet as autostart, then the network will be visible on the right after the time and date
in general something like that, universal

Attachments
2023-10-12_17-30.png
2023-10-12_17-30.png (17.98 KiB) Viewed 4525 times
Last edited by Sofiya on Thu Oct 12, 2023 2:31 pm, edited 2 times in total.

KL
PUPPY LINUX Simple fast free

geo_c
Posts: 2861
Joined: Fri Jul 31, 2020 3:37 am
Has thanked: 2161 times
Been thanked: 865 times

Re: KLV-Spectr-RT with real full time kernel 6.1.38-rt13c

Post by geo_c »

For now I think that completes all the necessary key bindings to navigate and size windows.

Tonight I will work on a key binding guide.

geo_c
Old School Hipster, and Such

Post Reply

Return to “KLV-Spectr”