64 bit only – antiX-21-runit-beta2 available for testing.

Forum Forums antiX-development Development 64 bit only – antiX-21-runit-beta2 available for testing.

  • This topic has 209 replies, 18 voices, and was last updated Sep 22-8:07 pm by olsztyn.
Viewing 15 posts - 166 through 180 (of 209 total)
  • Author
    Posts
  • #66820
    Member
    olsztyn
    Helpful
    Up
    0

    Run it first from terminal to make sure it works and assign the commands to a key-combination (on whatever WM you use).

    Yes, each of the 3 WMs you mentioned should have a configuration file in which the you can specify your customized keybinds

    Thank you Xecure and skidoo for the process to enable keybindings for desktop switching.
    Simple and effective enhancement…

    Also just wanted to confirm that in testing (actually now using most of the time) antiX-runit-21 B2 I have not encountered any material issues.

    – CUPS service comes up on boot and printing works fine
    – Networking (SMB/CIFS) works as expected – properly maps to SMB shares. I did not test NFS but it should work also.
    – Bluetooth service can be enabled via runit-service-manager.
    – UFW comes up active after reboot.
    – Slimski works fine for me except the actual default sessiontype is determined after username is entered and Enter key pressed, not necessarily sessiontype that is initially displayed. The parameter ‘Default sessiontype’ in slimski.local.conf – not sure it takes default value specified there. I am using the ‘default’ theme, not antiX, so it might be just related to my theme though…

    Just one minor observation, not material – I am not sure saving state across reboots works for me yet, such as remembering the last WiFi or backlight level on Live. It might be that I missed something to configure…

    In general, except some minor configuration to finalize in my environment, it appears to me antiX runit 21 B2 is ready for full time use.
    Thanks and Regards. Great accomplishment…

    • This reply was modified 2 weeks, 2 days ago by olsztyn.
    • This reply was modified 2 weeks, 2 days ago by olsztyn.
    #67255
    Member
    olsztyn
    Helpful
    Up
    0

    Update:
    The only material issue with Runit 21 B2 (could be Sysvinit too, I did not have the time to test yet) is the following and it appears to have to do with sound volume controls compile of C code.
    When I add the standard hardware volume controls

    static const char *upvol[] = { “/usr/bin/amixer”, “sset”, “Master”, “5%+”, NULL };
    static const char *downvol[] = { “/usr/bin/amixer”, “sset”, “Master”, “5%-“, NULL };
    static const char *mutevol[] = { “/usr/bin/amixer”, “sset”, “Master”, “toggle”, NULL };

    to config.h for DWM and compile the C code of DWM it compiles correctly just as in antiX 19.4 (I did include the required X11 header – #include <X11/XF86keysym.h> ), however the hardware volume controls do not work in the executable DWM when so compiled under antiX 21 B2.
    As a temporary workaround I keep compiling under antiX 19.4 and copying the resulting DWM executable to antiX 21 B2 /usr/local/bin.

    Do I need to use different (updated?) libraries under antiX 21 B2 (it is runit, but this should not make any difference in this case) to compile, so as to make sound volume hardware controls work?
    Just to mention, sound volume controls work fine in IceWM and Herbstluftwm, apparently as these are pre-compiled so do not require compilation under antiX 21 B2…

    Any ideas will be greatly appreciated…

    • This reply was modified 1 week, 3 days ago by olsztyn.
    • This reply was modified 1 week, 3 days ago by olsztyn.
    #67261
    Member
    manyroads
    Helpful
    Up
    0

    @olsztyn FWIW… I use the following in sxhkd with both dwm & i3wm for volume control. I have not tested this in antiX21,

    #Volume Control
    XF86AudioLowerVolume
    	amixer set Master 5%- && notify-send "Volume    (Down)" -u low -t 5000 
    XF86AudioRaiseVolume
    	amixer set Master 5%+ && notify-send "Volume    (Up)" -u low -t 5000 
    XF86AudioMute
    	amixer set Master toggle && notify-send "Sound    (Toggle)" -u low -t 5000
    • This reply was modified 1 week, 3 days ago by manyroads.

    Pax vobiscum,
    Mark Rabideau - http://many-roads.com
    "For every complex problem there is an answer that is clear, simple, and wrong." H. L. Mencken
    dwm & i3wm ~Reg. Linux User #449130
    20 Jan 2021 ~ "End of an Error"

    #67263
    Member
    olsztyn
    Helpful
    Up
    0

    Thanks manyroads…
    Sorry but I am not clear where you specify these in DWM…

    Thanks and Regards…

    #67264
    Member
    manyroads
    Helpful
    Up
    0

    @olsztyn You don’t need to do very much (nothing within dwm) as long as you provide a call to sxhkd when you start x windows. I do all the work via a simple call to a script; on Debian based systems I place my ‘call’ via the following command within .xsessionrc (.xsessionrc starts auto magically at login). Here’s the content:

    # shared common keybindings (applications)
    sxhkd -c ~/.config/sxhkd/base.conf &

    Here’s my base.conf

    #               
    #	 		sxhkdrc ~ common functions              
    #       i3wm/dwm/bspwm - and most other wms                   
    #
    #########################
    # SUPER + FUNCTION KEYS #
    #########################
    # if you want to assign applications to specific tags or workspaces
    # add a command behind the application to focus on that workspace if required
    # index 0 corresponds to tag or HLWM workspace 1
    # index 1 corresponds to tag or HLWM workspace 2
    # example 
    #  Firefox & herbstclient use_index 1
    
    # Open Terminal
    super + Return
    #	xterm
    #	kitty
    	st -g=84x24+100+300
    #	urxvt
    
    # dmenu
    super + d
    	dmenu_run -c -l 20 -nb '#3B4252' -sb '#8FBCBB' -sf '#3B4252' -fn '-xos4-terminus-medium-r-*-*-14-*'
    		
    # j4-dmenu (rofi)
    alt + @button1
    	j4-dmenu-desktop --dmenu="rofi -modi drun,window,run -show drun -show-icons -sidebar-mode -location 0  -width 360"
    #	j4-dmenu-desktop --dmenu="bemenu-run -i -l 8 -n -P '>' --fn 'Source Code Pro Regular 14' --nb \#222222 --nf \#aaaaaa --sb \#000000 --sf \#ffffff --hb \#000000 --hf \#ffffff "
    
    super + F1	 
    	j4-dmenu-desktop --dmenu="rofi -modi drun,window,run -show drun -show-icons -sidebar-mode -location 0  -width 360"
    	
    # Show Keybinding Index
    super + F2
    	zenity --text-info --width=640 --height=640  --html --filename=/home/mark/.local/share/help-files/app-keybindings.html --ok-label="Quit"
    
    # system utilities
    super + F3 
    	~/.local/share/scripts/system-monitors.sh
    
    # system maintenance links
    super + F4
    	~/.local/share/scripts/system-links.sh
    	
    # old game links
    super + F5
    	~/.local/share/scripts/old-games.sh
    	
    # Pavucontrol
    super + s
    	pavucontrol
    	
    # System Quit Options
    super + q
    	~/.local/share/scripts/logout.sh
    	
    # Weater
    super + w
    		~/.local/share/scripts/weather.sh
    
    #Lock screen
    super + x
    	i3lock-fancy
    #	dm-tool lock
    
    # Kill Window
    alt + F4
    	xkill
    	
    # Touchpad
    F9
    	~/.local/share/scripts/touchpad-toggle.sh
    	
    # Screenshot
    #F10
    Print
    	xfce4-screenshooter
    	
    # Linux Links
    super + F11 
    	zenity --text-info --width=640 --height=640  --html --filename=/home/mark/.local/share/help-files/linux-links.html --ok-label="Quit"
    
    # rofi Active Tasks 
    super + F12
    	rofi -modi window -show window -show-icons -sidebar-mode
    
    # bmenu
    alt + b
    	st -g=84x24+100+300 -e bmenu
    	
    # gsimplecal
    alt + shift + c
    	gsimplecal
    	
    # calibre (books)
    alt + c 
    	./.local/share/scripts/dark-calibre.sh
    
    # Music (DeadBeef)
    alt + d
    	deadbeef
    	
    # editor
    alt + e
    	mousepad
    #	st -g=84x24+100+300 -e vim & herbstclient use_index 3
    	
    # file managers
    alt + f	
    	caja
    #	thunar
    	
    # geany
    alt + g 
    	geany
    	
    # j4-desktop-menu
    alt + j
    	j4-dmenu-desktop --dmenu="dmenu -c -l 20 -fn "-xos4-terminus-medium-r-*-*-14-*" -nb '#2E3440' -nf '#E5E9F0' -sb '#85ABAA' -sf '#000000' -i"
        
    # Lock Screen
    alt + l
    	i3lock-fancy 
    
    # eMail
    alt + m
    	thunderbird
    
    # nitrogen wallpaper
    alt + n
    	nitrogen
    	
    # office
    alt + o
    	/usr/bin/onlyoffice-desktopeditors %U
    #	libreoffice
    	
    # pamac manager
    alt + p
    	synaptic-pkexec
    
    # ranger- file manager
    alt + r
    #	urxvt -e ranger
    #	kitty -e ranger
    #	xfce4-terminal --geometry 100x30+100+300 -e ranger
    	st -g=84x24+100+300 -e ranger & herbstclient use_index 2
    
    # skype
    alt + s
    	skypeforlinux
    	
    # Debian clean & update
    alt + u
    	st -e ~/.local/share/scripts/clean-update.sh
    	
    # Virtualbox
    alt + v
    	virtualbox -style kvantum
    # & herbstclient use_index 4
    	
    # web browser        
    alt + w
    	firefox
    #	chromium
    #	opera  & herbstclient use_index 1
    
    # zim wiki
    alt + z 
    	zim
    
    # Reboot
    ctrl + alt + Delete
    	 reboot
    	 
    #Volume Control
    XF86AudioLowerVolume
    	amixer set Master 5%- && notify-send "Volume    (Down)" -u low -t 5000 
    XF86AudioRaiseVolume
    	amixer set Master 5%+ && notify-send "Volume    (Up)" -u low -t 5000 
    XF86AudioMute
    	amixer set Master toggle && notify-send "Sound    (Toggle)" -u low -t 5000 
    
    #Brightness control
    XF86MonBrightnessDown
    	xbacklight -10 && notify-send -u normal -t 5000 "Backlight    (Down)"
    XF86MonBrightnessUp
    	xbacklight +10 && notify-send -u normal -t 5000 "Backlight    (Up)"
    • This reply was modified 1 week, 3 days ago by manyroads.
    • This reply was modified 1 week, 3 days ago by manyroads.
    • This reply was modified 1 week, 3 days ago by manyroads.

    Pax vobiscum,
    Mark Rabideau - http://many-roads.com
    "For every complex problem there is an answer that is clear, simple, and wrong." H. L. Mencken
    dwm & i3wm ~Reg. Linux User #449130
    20 Jan 2021 ~ "End of an Error"

    #67268
    Member
    olsztyn
    Helpful
    Up
    0

    you provide a call to sxhkd when you start x windows.

    Thanks manyroads…
    I see… It looks like an alternate way…
    Would this be correct to say that controls defined here take effect across all WMs, so in other words there would be no need to define them within each WM separately?
    Thanks and Regards…

    #67276
    Forum Admin
    anticapitalista
    Helpful
    Up
    0

    Since dwm is not included on the iso, please take the chat/issues to another thread.
    Thanks.

    Philosophers have interpreted the world in many ways; the point is to change it.

    antiX with runit - leaner and meaner.

    #67279
    Member
    olsztyn
    Helpful
    Up
    0

    Since dwm is not included on the iso, please take the chat/issues to another thread.

    Yes, indeed. DWM does not belong in this topic.
    However, just to clarify, although manifestation of this issues happened to surface with dwm, it is not dwm issue but the fact that these hardware controls compiled under antiX 21 B2 do not work, so it is not dwm specific but could as well be the same issue should anything else be compiled under antiX 21 B2.
    Compiled under 19.4 works fine in antiX 21 B2, so perhaps some libraries in 21 B2 should be updated.
    So, e.g. if Herbstluftwm is compiled under 21 B2, it should exhibit the same issue.
    I do not see how could this be just dwm, as those hardware controls are standard and provided via include file from X11…

    #67280
    Forum Admin
    anticapitalista
    Helpful
    Up
    0

    But you said this-

    Just to mention, sound volume controls work fine in IceWM and Herbstluftwm, apparently as these are pre-compiled so do not require compilation under antiX 21 B2…

    dwm issues are not an antiX problem especially since the apps/scripts mentioned in this thread are all external to antiX and Debian bullseye.

    Philosophers have interpreted the world in many ways; the point is to change it.

    antiX with runit - leaner and meaner.

    #67281
    Member
    Xecure
    Helpful
    Up
    0

    Compiled under 19.4 works fine in antiX 21 B2, so perhaps some libraries in 21 B2 should be updated.

    It is the other way around. You need to see what libraries have been updated or changed in bullseye, and see if you need to change the libraries to build dwm.

    EDIT: in bullseye, it seems you need the packages x11proto-dev and nx-x11proto-core-dev [amd64] to get the XF86keysym.h header

    To note, I have compiled and built more than one program in antiX 21 or with bullseye libraries, and experienced no issue with said programs.

    • This reply was modified 1 week, 3 days ago by Xecure.

    antiX Live system enthusiast.
    General Live Boot Parameters for antiX.

    #67283
    Member
    olsztyn
    Helpful
    Up
    0

    It is the other way around. You need to see what libraries have been updated or changed in bullseye, and see if you need to change the libraries to build dwm.

    Thank you Xecure!
    Regards…

    #67336
    Moderator
    Brian Masinick
    Helpful
    Up
    0

    I’m running antiX 21 Runit testing again, so I updated my system. Last time I used the Dell Inspiron 5558 with runit and testing, it went well.
    I explicitly tried several things, including the repo manager, changing repositories, using the Package Installer, installed Opera, used the galternatives, etc., essentially checking out several of the things that were problematic at one earlier time in testing; everything I tried today was successful.

    antiX 21 is looking very good for runit. I’ve used both kernels and I’ve also used two systems, this one and a Lenovo Thinkpad X201, both with good results.

    (I’ve had good results with the sysvinit setup too; I’ll test that again and report in the proper location).

    Brian Masinick

    #67498
    Member
    rej
    Helpful
    Up
    0

    Hi-

    Installed on hardware, ran both kernels.

    antiX-21-b2_x64-full.iso

    Thank you! Nice work!!

    If this is of any interest:

    Apt-notifier missing parts – will not install. Synaptic and Pkg Installer. [attachment]
    ==============
    Icewm – Laptop screen resolution does not save in “CC-session-Arandr” [clicked green checkmark] in slimski on reboot.

    XFCE -“xfce-display-settings.desktop” Screen resolution saves in XFCE slimski and LightDM on reboot.
    ==============
    XFCE [slimski only]:
    Many installed applications missing icons and programs do not appear in main menu [Whisker or default] selections or search. These applications accessed only through File Manager “Applications”.
    ==============
    Imported Leafpad text files copied-pasted/dragged from MX19 on a flashdrive [Kingston SE9], turn into “Executable” in slimski. [attachment]

    Imported Leafpad text files copied-pasted/dragged from MX19 on a flashdrive [Kingston SE9], open as normal text files when imported in LightDM. [attachment].

    #67506
    Member
    Xecure
    Helpful
    Up
    0

    Apt-notifier

    It seems python-pyqt5 was removed from Debian bullseye. We may have to ask the MX team how they have solved this issue.

    cewm – Laptop screen resolution does not save in “CC-session-Arandr” [clicked green checkmark] in slimski on reboot.

    Slimski will never load a (at least for now) any saved display configuration (to avoid problems when loading the incorrect configuration, but this may change in the future).
    If you save the arandr configuration in $HOME/.screenlayout/default.sh, it will load as soon as the desktop-session starts.

    … slimski …

    As you prefer using XFCE, you don’t need desktop-session-antix to control the session. Edit /etc/slimski.local.conf and search for the line starting with
    #xsessionsdir /usr/share/xsessions
    Uncomment it. Then search for the line starting with atlogin_cmd, comment it out and add below it the command to use normal xsession login. It should look like this:

    #atlogin_cmd   setsid /usr/local/bin/desktop-session %sessiontype
    atlogin_cmd      exec /usr/bin/bash -login /etc/X11/Xsession "%sessiontype"

    After this, reboot, test again all issues reported, which previous problems should be related to desktop-session-antix

    Imported Leafpad text files copied-pasted/dragged from MX19 on a flashdrive [Kingston SE9], turn into “Executable” in slimski. [attachment]

    Another user reported something similar (all permissions applied). This is related to udevil, which is the default mounting handler used by antiX (desktop-session), and not used by normal xfce session. Maybe we should remove the raspberrypi patch and restore the use of fmask and dmask configurations.

    antiX Live system enthusiast.
    General Live Boot Parameters for antiX.

    #67530
    Member
    rej
    Helpful
    Up
    0

    Xecure-

    Great information – Thank you for the reply and hard work on antiX!!

Viewing 15 posts - 166 through 180 (of 209 total)
  • You must be logged in to reply to this topic.