Page 1 of 1

I suggest just a few fixes

Posted: 11. May 2026, 16:50
by inukaze
Hi there, well

1 - Please just the upgrade for salix, just put kernel-lts on available upgrades. or some mode of the select keep the priority for the kernel i prefer, i prefer the LTS Kernels.

This suggestions is because in the 2 last weeks, the system first detect linux-5.15.202, after a week, 5.15.204, after 3 days, 5.5.205, after 3 days more, 5.5.206, This latest is the LTS Kernel version available too in Kernel.org, well i go try to download 6.1.172 Becuase i use nvidia drivers 390.157 for my GPU Nvidia GeForce GT 620, just for try if not had problems and i don't need communitary patch for make it work.

2 - Please fix the bugs with Flatpak QT Apps, like Rosalie RMG ( Rosalie Mupen64Plus GUI ) and Dolphin-Emu, because when i try to use « Choose Directory » ever make me select a File, and make the app just hang-up because its not the type of date expected by that option.

3 - The Salix Update Manager, why ever open twice, one without ask for admin password, and another asking for admin password,

i already had explain on spanish language, the things i do for my own optimizations on this post -> viewtopic.php?t=8958

i had try to fix by my own hand with the follow process [Ignore the spanish text comenntaries] :

Code: Select all

sudo su
mv /usr/bin/salix-update-manager /usr/bin/salix-update-manager.real

Code: Select all

cat << 'EOF' > /usr/bin/salix-update-manager
#!/usr/bin/env bash

# NOTA :	Este es un guion para llamar a otro personalizado
#		Es por si alguna actualizacion reemplaza este archivo
#		se me haga muy facil volver a escribirlo.

# Verificar si existe el guion personalizado
if [ -x /usr/local/bin/salix-update-manager.geb ]; then
    /usr/local/bin/salix-update-manager.geb
fi

exit 0
EOF

chmod +x /usr/bin/salix-update-manager

Code: Select all

cat << 'EOF' > /usr/local/bin/salix-update-manager.geb
#!/usr/bin/env bash
# Guion para evitar colisiones del gestor de actualizaciones y verificar descargas

# Establecer la pantalla para que funcione correctamente
export DISPLAY=:0.0

# 1. Verificar si el binario real ya se está ejecutando
if pgrep -f "/usr/bin/salix-update-manager.real" > /dev/null; then
    echo "El gestor ya está en ejecución. Abortando."
    exit 1
fi

# 2. Lista de procesos que podrían bloquear la base de datos de paquetes
PROCESOS_BLOQUEO=("slapt-get" "slackpkg" "slpkg" "sbopkg")

for proceso in "${PROCESOS_BLOQUEO[@]}"; do
    if pgrep "$proceso" > /dev/null; then
        echo "El sistema está ocupado por $proceso. Cancelando."
        exit 1
    fi
done

# 3. Sincronizar la base de datos de paquetes de forma silenciosa
# Esto evita que la interfaz gráfica se quede "diske buscando" horas
sudo /usr/sbin/slapt-get --update > /dev/null 2>&1

# 4. Comprobar si hay paquetes realmente nuevos para instalar
# Usamos la simulación para contar las líneas que indican nuevas versiones
ACTUALIZACIONES=$(/usr/sbin/slapt-get --upgrade --simulate | grep -i "instalar" | wc -l)

if [ "$ACTUALIZACIONES" -gt 0 ]; then
    echo "Se encontraron $ACTUALIZACIONES paquetes. Iniciando..."
    /usr/bin/salix-update-manager.real
else
    echo "No hay actualizaciones disponibles. Cerrando."
fi

exit 0


EOF

chmod +x /usr/local/bin/salix-update-manager.geb

Code: Select all

cp /etc/sudoers /etc/sudoers.original
joe /etc/sudoers

Code: Select all

## sudoers file.
##
## This file MUST be edited with the 'visudo' command as root.
## Failure to use 'visudo' may result in syntax or file permission errors
## that prevent sudo from running.
##
## See the sudoers man page for the details on how to write a sudoers file.
##

##
## Host alias specification
##
## Groups of machines. These may include host names (optionally with wildcards),
## IP addresses, network numbers or netgroups.
# Host_Alias	WEBSERVERS = www1, www2, www3

##
## User alias specification
##
## Groups of users.  These may consist of user names, uids, Unix groups,
## or netgroups.
# User_Alias	ADMINS = millert, dowdy, mikef

##
## Cmnd alias specification
##
## Groups of commands.  Often used to group related commands together.
# Cmnd_Alias	PROCESSES = /usr/bin/nice, /bin/kill, /usr/bin/renice, \
# 			    /usr/bin/pkill, /usr/bin/top
# Cmnd_Alias	REBOOT = /sbin/halt, /sbin/reboot, /sbin/poweroff

##
## Defaults specification
##
## You may wish to keep some of the following environment variables
## when running commands via sudo.
##
## Locale settings
# Defaults env_keep += "LANG LANGUAGE LINGUAS LC_* _XKB_CHARSET"
##
## Run X applications through sudo; HOME is used to find the
## .Xauthority file.  Note that other programs use HOME to find   
## configuration files and this may lead to privilege escalation!
# Defaults env_keep += "HOME"
##
## X11 resource path settings
# Defaults env_keep += "XAPPLRESDIR XFILESEARCHPATH XUSERFILESEARCHPATH"
##
## Desktop path settings
# Defaults env_keep += "QTDIR KDEDIR"
##
## Allow sudo-run commands to inherit the callers' ConsoleKit session
# Defaults env_keep += "XDG_SESSION_COOKIE"
##
## Uncomment to enable special input methods.  Care should be taken as
## this may allow users to subvert the command being run via sudo.
# Defaults env_keep += "XMODIFIERS GTK_IM_MODULE QT_IM_MODULE QT_IM_SWITCHER"
##
## Uncomment to use a hard-coded PATH instead of the user's to find commands
# Defaults secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
##
## Uncomment to send mail if the user does not enter the correct password.
# Defaults mail_badpass
##
## Uncomment to enable logging of a command's output, except for
## sudoreplay and reboot.  Use sudoreplay to play back logged sessions.
# Defaults log_output
# Defaults!/usr/bin/sudoreplay !log_output
# Defaults!/usr/local/bin/sudoreplay !log_output
# Defaults!REBOOT !log_output

##
## Runas alias specification
##

##
## User privilege specification
##
root ALL=(ALL:ALL) ALL

## Uncomment to allow members of group wheel to execute any command
%wheel ALL=(ALL:ALL) ALL


## Same thing without a password
# %wheel ALL=(ALL:ALL) NOPASSWD: ALL

## Uncomment to allow members of group sudo to execute any command
# %sudo	ALL=(ALL:ALL) ALL

## Uncomment to allow any user to run sudo if they know the password
## of the user they are running the command as (root by default).
# Defaults targetpw  # Ask for the password of the target user
# ALL ALL=(ALL:ALL) ALL  # WARNING: only use this together with 'Defaults targetpw'

## Read drop-in files from /etc/sudoers.d
@includedir /etc/sudoers.d

#
# =================================================================================
#
#	Permitir a mi usuario « inukaze» 
#	Gestionar servicios específicos
#	de Slackware sin contraseña
#
# =================================================================================



#ORIGINAL#ESTO NO SIRVE#inukaze ALL=(ALL) NOPASSWD:/bin/mount, /sbin/mount, /sbin/mount.cifs, /etc/samba/credencial, /usr/local/bin/carpcomp, /home/inukaze/.credencial, /usr/bin/sync, /usr/bin/tee /proc/sys/vm/drop_caches, /usr/bin/nice



# Gestión de módulos y prioridades del sistema
inukaze ALL=(ALL) NOPASSWD: /bin/mount
inukaze ALL=(ALL) NOPASSWD: /sbin/mount
inukaze ALL=(ALL) NOPASSWD: /sbin/mount.cifs
inukaze ALL=(ALL) NOPASSWD: /usr/bin/sync
inukaze ALL=(ALL) NOPASSWD: /usr/bin/tee /proc/sys/vm/drop_caches
inukaze ALL=(ALL) NOPASSWD: /sbin/modprobe
inukaze ALL=(ALL) NOPASSWD: /usr/bin/nice
inukaze ALL=(ALL) NOPASSWD: /usr/bin/renice



# Actualización del sistema (Salix-Update-Manager / slapt-get)
inukaze ALL=(ALL) NOPASSWD: /usr/sbin/slapt-get --update
inukaze ALL=(ALL) NOPASSWD: /usr/sbin/slapt-get --upgrade --simulate



# Control de TeamViewer (Demonio de fondo)
inukaze ALL=(ALL) NOPASSWD: /usr/local/bin/rc.d/rc.teamviewerd start
inukaze ALL=(ALL) NOPASSWD: /usr/local/bin/rc.d/rc.teamviewerd stop
inukaze ALL=(ALL) NOPASSWD: /usr/local/bin/rc.d/rc.teamviewerd restart
inukaze ALL=(ALL) NOPASSWD: /usr/bin/killall -9 teamviewerd


# Virtualización QEmu / KVM / Libvirt
inukaze ALL=(ALL) NOPASSWD: /usr/bin/virsh
inukaze ALL=(ALL) NOPASSWD: /usr/sbin/libvirtd
inukaze ALL=(ALL) NOPASSWD: /usr/local/bin/rc.d/rc.libvirt start
inukaze ALL=(ALL) NOPASSWD: /usr/local/bin/rc.d/rc.libvirt stop
inukaze ALL=(ALL) NOPASSWD: /usr/local/bin/rc.d/rc.libvirt status



# VirtualBox (6.1.50)
inukaze ALL=(ALL) NOPASSWD: /usr/local/bin/rc.d/rc.vboxdrv start
inukaze ALL=(ALL) NOPASSWD: /usr/local/bin/rc.d/rc.vboxdrv stop
inukaze ALL=(ALL) NOPASSWD: /usr/local/bin/rc.d/rc.vboxdrv restart
inukaze ALL=(ALL) NOPASSWD: /usr/local/bin/rc.d/rc.vboxdrv status



i restart the entire pc after of that i just open a terminal and test :

Code: Select all

sudo -l
User inukaze may run the following commands on Inukaze:
(ALL : ALL) ALL
(ALL) ALL
(ALL) NOPASSWD: /bin/mount
(ALL) NOPASSWD: /sbin/mount
(ALL) NOPASSWD: /sbin/mount.cifs
(ALL) NOPASSWD: /usr/bin/sync
(ALL) NOPASSWD: /usr/bin/tee /proc/sys/vm/drop_caches
(ALL) NOPASSWD: /sbin/modprobe
(ALL) NOPASSWD: /usr/bin/nice
(ALL) NOPASSWD: /usr/bin/renice
(ALL) NOPASSWD: /usr/sbin/slapt-get --update
(ALL) NOPASSWD: /usr/sbin/slapt-get --upgrade --simulate
(ALL) NOPASSWD: /usr/local/bin/rc.d/rc.teamviewerd start
(ALL) NOPASSWD: /usr/local/bin/rc.d/rc.teamviewerd stop
(ALL) NOPASSWD: /usr/local/bin/rc.d/rc.teamviewerd restart
(ALL) NOPASSWD: /usr/bin/killall -9 teamviewerd
(ALL) NOPASSWD: /usr/bin/virsh
(ALL) NOPASSWD: /usr/sbin/libvirtd
(ALL) NOPASSWD: /usr/local/bin/rc.d/rc.libvirt start
(ALL) NOPASSWD: /usr/local/bin/rc.d/rc.libvirt stop
(ALL) NOPASSWD: /usr/local/bin/rc.d/rc.libvirt status
(ALL) NOPASSWD: /usr/local/bin/rc.d/rc.vboxdrv start
(ALL) NOPASSWD: /usr/local/bin/rc.d/rc.vboxdrv stop
(ALL) NOPASSWD: /usr/local/bin/rc.d/rc.vboxdrv restart
(ALL) NOPASSWD: /usr/local/bin/rc.d/rc.vboxdrv status

Re: I suggest just a few fixes

Posted: 12. May 2026, 05:49
by gapan
inukaze wrote: 11. May 2026, 16:50 1 - Please just the upgrade for salix, just put kernel-lts on available upgrades. or some mode of the select keep the priority for the kernel i prefer, i prefer the LTS Kernels.
I'm not really sure I understand what you mean, but have you looked at these?
viewtopic.php?t=8946
viewtopic.php?t=8920
inukaze wrote: 11. May 2026, 16:50 This suggestions is because in the 2 last weeks, the system first detect linux-5.15.202, after a week, 5.15.204, after 3 days, 5.5.205, after 3 days more, 5.5.206, This latest is the LTS Kernel version available too in Kernel.org, well i go try to download 6.1.172 Becuase i use nvidia drivers 390.157 for my GPU Nvidia GeForce GT 620, just for try if not had problems and i don't need communitary patch for make it work.
I'm still not sure what you mean. Do you mean that the kernel should not be upgraded at the repos?

If so, you can control that in your installation. You should have the kernel packages listed in the EXCLUDE list in your /etc/slapt-get/slapt-getrc (which is the default setting).
inukaze wrote: 11. May 2026, 16:50 2 - Please fix the bugs with Flatpak QT Apps, like Rosalie RMG ( Rosalie Mupen64Plus GUI ) and Dolphin-Emu, because when i try to use « Choose Directory » ever make me select a File, and make the app just hang-up because its not the type of date expected by that option.
I'm not sure you understand that, but we are neither the developers of those app, or their maintainers in flathub.
inukaze wrote: 11. May 2026, 16:50 3 - The Salix Update Manager, why ever open twice, one without ask for admin password, and another asking for admin password,
Probably because you are using two different installations for your flatpaks the --system one and the --user one.

All the other stuff you have changed are just weird hacks.

Re: I suggest just a few fixes

Posted: 13. May 2026, 02:04
by inukaze
gapan wrote: 12. May 2026, 05:49
inukaze wrote: 11. May 2026, 16:50 1 - Please just the upgrade for salix, just put kernel-lts on available upgrades. or some mode of the select keep the priority for the kernel i prefer, i prefer the LTS Kernels.
I'm not really sure I understand what you mean, but have you looked at these?
viewtopic.php?t=8946
viewtopic.php?t=8920

i had forgot that XD on 2025 i see post like that.
inukaze wrote: 11. May 2026, 16:50 This suggestions is because in the 2 last weeks, the system first detect linux-5.15.202, after a week, 5.15.204, after 3 days, 5.5.205, after 3 days more, 5.5.206, This latest is the LTS Kernel version available too in Kernel.org, well i go try to download 6.1.172 Becuase i use nvidia drivers 390.157 for my GPU Nvidia GeForce GT 620, just for try if not had problems and i don't need communitary patch for make it work.
I'm still not sure what you mean. Do you mean that the kernel should not be upgraded at the repos?

No i mean, just stop the appareance of a new kernel after some days becuase feel like a rolling release something like :
Saturday : Linux-5.15.193
Sunday : Linux-5.15.194
Monday : Linux-5.15.195
Tuesday : Linux-5.15.196
Wednesday : Linux-5.15.197
Thursday : Linux.5.15.198
Friday : Linux-5.15.199
Sunday : Linux-5.15.203
Wednesday : Linnux-5.15.204
Saturday : Linux-5,15.205
Monday : Linux-5.15.206

Because is just annoying, and for that i suggest prefer center on LTS Kernel versions

If so, you can control that in your installation. You should have the kernel packages listed in the EXCLUDE list in your /etc/slapt-get/slapt-getrc (which is the default setting).
inukaze wrote: 11. May 2026, 16:50 2 - Please fix the bugs with Flatpak QT Apps, like Rosalie RMG ( Rosalie Mupen64Plus GUI ) and Dolphin-Emu, because when i try to use « Choose Directory » ever make me select a File, and make the app just hang-up because its not the type of date expected by that option.
I'm not sure you understand that, but we are neither the developers of those app, or their maintainers in flathub.

Im not sure you undertstand that, but the problem is just xdg-portals and another things i yet not determine but the issue is inside with xdg, not outside.

inukaze wrote: 11. May 2026, 16:50 3 - The Salix Update Manager, why ever open twice, one without ask for admin password, and another asking for admin password,
Probably because you are using two different installations for your flatpaks the --system one and the --user one.

All the other stuff you have changed are just weird hacks.
i just use « --system » if flatpak install some deps on user level i don't know
All the other stuff i had change is just becuase my hardware is old, and i need the softwares works just on demand (just active their requiered services before start, and finish the services not really need it by the systemd, just turn off, just for i had enough free resources for the moment i need it, for me is not usefull all servicies i need and not need it all activated at the same time just for some day i just need do a one thing and close a program )

Re: I suggest just a few fixes

Posted: 13. May 2026, 05:37
by gapan
inukaze wrote: 13. May 2026, 02:04 i just use « --system » if flatpak install some deps on user level i don't know
All the other stuff i had change is just becuase my hardware is old, and i need the softwares works just on demand (just active their requiered services before start, and finish the services not really need it by the systemd, just turn off, just for i had enough free resources for the moment i need it, for me is not usefull all servicies i need and not need it all activated at the same time just for some day i just need do a one thing and close a program )
I'm sure that if you run

Code: Select all

flatpak list --user --all
you will find that you have something installed in your user installation and you forgot about it.

As for the other comment and systemd (?), I don't see how this has anything to do with all your previous comments.