The officially official Devuan Forum!

You are not logged in.

#276 Re: Hardware & System Configuration » Screen Brightness app for SysTray? » 2025-01-07 14:56:56

@mtbvfr - you don't need to comment out any lines for the gamma settings. If you want to play with the gamma settings, just click on the gamma button when the window comes up and you can adjust it. If you run it a second time, it won't show your last setting. I obviously don't understand how it works.

#277 Re: Devuan » Devuan runit system pauses during first boot at net connect manager. » 2025-01-07 11:29:15

I didn't have to do anything special to get sddm to work. It is being handled by runit. Here are the relevant commands I used to install kde.

apt install xorg xinit xterm
apt install kde-standard  xserver-xorg-video-all xserver-xorg-input-all --no-install-recommends
reboot
apt install sddm --no-install-recommends
reboot

I don't have any good ideas for why sddm is running but you don't see it. Is there anything in the sddm log file? (/var/log/sddm.log)

I'd say check the sddm config file, but there doesn't seem to be a simple sddm.conf. Another option might be to replace sddm with lightdm or some other display manager that has a normal config file instead of unintelligible stuff in /etc/pam.d.

#278 Re: Hardware & System Configuration » Screen Brightness app for SysTray? » 2025-01-07 10:34:00

This one is a little fancier and requires yad to be installed. It gives you a graphical slider. I'm not sure I did the gamma parts right and I never use that.

#!/usr/bin/env bash
# set_bright3b

set -x

# Set these names according to what xrandr tells you.
# For a single monitor, comment out the second xrandr command
# at the bottom of the script.

monitor_1="LVDS-1"
monitor_2=""

get_current_values () {
	
	current_bright=$(xrandr --verbose | grep -m1 Brightness | cut -d"." -f2)
	
	if  [ "$current_bright" = 0 ] ; then
		let current_bright="9"
	fi
	
	current_gamma=$(xrandr --verbose |grep -m1 Gamma | cut -d":" -f3)
	gamma1="$current_gamma"
}

select_brightness () {
	
	br1=$(yad --scale --title=Brightness --width=300 --min-value=2 --max-value=10  --value="${current_bright:0:1}" \
		--mark=2:2  --mark=3:3 --mark=4:4 --mark=5:5 --mark=6:6 --mark=7:7 --mark=8:8 --mark=9:9 --mark=10:10 \
		--page=1 --button=OK:0 --button="Gamma":1 --button=Exit:2)
		
		exit_code="$?"
		
		if [[ $exit_code -eq 1 ]] ; then
			br1="${current_bright:0:1}"
			select_gamma
		elif [[ $exit_code -eq 2 ]] ; then
			exit 0
		fi
}

select_gamma () {
	gm1=$(yad --form --field=Gamma:NUM "${current_gamma}\!0.5..1.5\!0.1\!1")
	gamma1="${gm1:0:3}"
}

get_current_values
select_brightness

if [ "$br1" = 10 ] ; then
	bright1="1.0"
	bright2="1.0"
else
	bright1="0.$br1"
	bright2="$bright1"
	# Uncomment the following 3 lines if monitor2 should be less bright.
	#br2="$br1"
	#(( br2-=1 ))
	#bright2="0.$br2"
fi

xrandr --output "$monitor_1" --brightness "$bright1" --gamma "${gamma1}:${gamma1}:${gamma1}"
#xrandr --output "$monitor_2" --brightness "$bright2" --gamma "${gamma1}:${gamma1}:${gamma1}"

exit 0

#279 Re: Other Issues » Is Refracta-snapshot and installer available/working in Excalibur? » 2025-01-06 21:39:38

I don't know what's going on with excalibur size. I just made a refracta excalibur i386 No-X iso with the last 686-pae kernel and it comes out to 1.5G using xz compression instead of 700MB like the daedalus iso. Looks like the excalibur iso has fewer packages installed, too.

Every release gets bigger, but this is the biggest jump I've seen.

#280 Re: Other Issues » Is Refracta-snapshot and installer available/working in Excalibur? » 2025-01-04 12:48:44

I already did try it yesterday. The iso with zstd booted about 5 seconds faster than xz in qemu. That was about 1 minute, 20 seconds of which were at the boot menu. Building the iso was about 2 minutes faster (9 vs. 11). I haven't tried it on usb yet.

This will be in the next build of refractasnapshot. I already added support for zstd in the initramfs.

#281 Re: Off-topic » [SOLVED] "A future for the i386 architecture" and other good(???) news » 2025-01-03 22:01:03

Perfect! Thanks, I forgot about snapshot.debian.org.

I got linux-image, linux-headers and linux-source for 6.10.9-1 696-pae.

#282 Re: Off-topic » [SOLVED] "A future for the i386 architecture" and other good(???) news » 2025-01-03 15:20:25

The 32-bit kernels in excalibur and ceres have been removed. Did anyone happen to save the last deb packages for 686-pae? The last live-iso I made has 6.5 from last April. Not that using those versions is a real solution since they won't get security updates. But it would be nice to have an iso with the last one.

Meanwhile, I've made an excalibur 32-bit live-iso with the daedalus backports kernel. That's another unsatisfactory solution for the same and other reasons, but it does work.

N.B. When trying to upgrade my i386 excalibur VM, aptitude puked on the t64 versions of packages. 'apt upgrade' and 'apt dist-upgrade' worked ok and all the t64 packages got installed.

#283 Re: Installation » [SOLVED] No exit from sleep after devuan installation » 2025-01-02 22:09:11

testing=excalibur NOW. When debian trixie (current testing) becomes stable, then sid (unstable) will move down to testing and all our forked packages will still be for trixie until excalibur goes stable.

That's why we recommend using codenames in sources.list.

#284 Re: Other Issues » Is Refracta-snapshot and installer available/working in Excalibur? » 2025-01-02 22:00:30

You can change the compression type for the squashfs in /etc/refractasnapshot.conf. Let me know if zstd works. I'm on chimaera at the moment and it doesn't seem to be an option.

For faster response on opening programs/files, use the toram option. For a live usb use toram=/path/to/filesystem.squashfs
Go make coffee while you're waiting for it to boot.

#285 Re: Devuan » Devuan runit system pauses during first boot at net connect manager. » 2024-12-31 19:32:50

I did a minimal install of daedalus with runit in qemu and then added xorg and kde-standard without recommends. I can confirm that on reboot into the installed system I don't get a login prompt until I press ENTER. After installing sddm, it boots to a graphical login screen.

User's subdirectories get created on first login to the graphical desktop. I got them.

#286 Re: Other Issues » [SOLVED] Which runlevel for umountfs and umountroot (via sysv-rc-conf)? » 2024-12-23 22:20:41

For reference, here's what mine look like (using sysvinit). I think they look the same as what GlennW posted, except I put the files in alphabetical order.
Note that it uses Default-Stop, not Default-Start.

#! /bin/sh
### BEGIN INIT INFO
# Provides:          umountfs
# Required-Start:
# Required-Stop:     umountroot
# Default-Start:
# Default-Stop:      0 6
# Short-Description: Turn off swap and unmount all local file systems.
# Description:
### END INIT INFO
#! /bin/sh
### BEGIN INIT INFO
# Provides:          umountroot
# Required-Start:
# Required-Stop:
# Should-Stop:       halt reboot kexec
# Default-Start:
# Default-Stop:      0 6
# Short-Description: Mount the root and /usr filesystems read-only.
### END INIT INFO

#287 Re: Hardware & System Configuration » [SOLVED] I can't install hplip on Excalibur » 2024-12-21 22:43:38

The version in ceres will probably be in excalibur in less than a week. You didn't do anything wrong. You would need to install more packages or do an upgrade with the ceres repo enabled to screw up the system.

#288 Re: Other Issues » [SOLVED] Question about grub background on liveCD/DVD/USB menu » 2024-12-11 21:57:50

If you're using refractasnapshot, replace /usr/lib/refractasnapshot/iso/isolinux/splash.png with the 640x480 png of your choice. (.jpg should work, too.) It will be copied to the right places for booting the iso with isolinux and/or grub if you arranged it to work with bios and/or uefi.

#289 Re: Other Issues » [SOLVED] Question about update-rc.d » 2024-12-11 18:49:51

After 'init 3' command, you don't need to use the service command. They will start (unless you screwed with all the symlinks.) I use sysv-rc-conf to turn services off in runlevel 2.

Not sure what you have in mind, but one way to get root would be to have yad start a terminal that runs su -c 'init 3' and then it'll ask for root pass in the terminal. If you don't want the user to see a terminal, I think you can use yad to take a password and feed it to the command. I'm not as clear on this. See /usr/lib/refracta2usb/functions/function.mkloop around lines 104 and 176 for an example.

#290 Re: Other Issues » [SOLVED] Question about update-rc.d » 2024-12-11 17:02:12

No issues going to runlevel 3 except you have to be root (or sudo). Just don't try this on a distro that disables the display manager in runlevel 3 (like Refracta desktop isos). In that case you'd have to do 'init 4' or 'init 5' or re-enable the dm in 3.

#291 Re: Other Issues » [SOLVED] Question about update-rc.d » 2024-12-11 10:17:05

Turn them off in runlevel 2, and then the command to turn them on is

init 3

#292 Re: Installation » [SOLVED] Remove auto-start of X, want to start manually » 2024-12-09 22:37:55

Assuming you took the default desktop install, your display manager would be slim. Also assuming you installed sysvinit and not runit or openrc as the init system, you can just disable your display manager.

update-rc.d slim defaults-disabled

or maybe you have lightdm instead of slim.

After that, you'll get a console login and then you can run startx to get the desktop.

#293 Re: Hardware & System Configuration » Swapon bash:command not found ? » 2024-12-05 09:59:16

2. Put

RESUME=none

in /etc/initramfs-tools/conf.d/resume and then run

update-initramfs -u

If you want to hibernate to disk, replace "none" with the uuid of your swap partition.

4. When you install task-*-desktop, your dependencies have dependencies. It's easier to remove stuff if you start minimal and add only what you need. This might solve the pipewire problem - you can have alsa without the "p".

Synaptic: if you modded /etc/default/su you can just get a root terminal and run

synaptic

#294 Re: Hardware & System Configuration » Swapon bash:command not found ? » 2024-12-04 18:14:28

Another way to revert su to the old behavior is to put the following in /etc/default/su (which you will probably have to create).

ALWAYS_SET_PATH yes

#295 Re: Installation » Devuan 5 not Booting on 2005 Toshiba Tecra A7 Intel Centrino Duo » 2024-12-04 01:30:26

It is still around, but it's not in the repo. That would require some re-coding, and I'm afraid to mess with it.
This is only useful for live-isos, not for installer isos:
https://sourceforge.net/projects/refrac … b/download

#296 Re: Other Issues » [SOLVED] Pcmanfm offers free appimages of krita 5.2.3 and other bugs??? » 2024-12-02 21:57:45

I tried that desktop file and it does create the option to 'open terminal here' but it doesn't work. Message is "invalid desktop entry file". when I try to execute it.

#297 Re: Other Issues » [SOLVED] Pcmanfm offers free appimages of krita 5.2.3 and other bugs??? » 2024-12-02 18:32:45

PCManFM 1.3.2 in daedalus, and I see no third option in the right-click menu. Just folder or file are the choices.

#298 Re: Other Issues » Is Refracta-snapshot and installer available/working in Excalibur? » 2024-12-01 20:53:27

Yeah, that second one is the one you provided. Default is to use gzip.

Squashfs  is  a  highly compressed read-only filesystem for Linux.  It uses either gzip/xz/lzo/lz4/zstd compression to compress both files, inodes and directories.

#299 Re: Installation » Devuan 5 not Booting on 2005 Toshiba Tecra A7 Intel Centrino Duo » 2024-11-30 15:14:36

You should be able to get to a boot device menu by pressing F12 or possibly some other key. The POST screen will tell you.

How did you prepare the live usb? Do you have another computer to test the usb stick to make sure it boots?

#300 Re: Other Issues » Is Refracta-snapshot and installer available/working in Excalibur? » 2024-11-28 19:13:24

Yes, snapshot and installer versions in excalibur/ceres work. I've been making desktop-live isos about once a month, but I have not released any because I was hoping that installer isos would appear and get tested first. We're still waiting for that to happen.

Board footer

Forum Software