The officially official Devuan Forum!

You are not logged in.

#351 Re: Other Issues » Is it possible to install a package permanently on Live ? » 2025-01-17 19:18:08

If you run refractasnapshot in a live session, be sure to edit the config file to use some real storage space for the work directory and the snapshot directory.

If you make a live-usb with an extra partition for full persistence, you can install packages and they will still be there on the next reboot. If you run apt-upgrade and apt-update on such a system, it will install the updated packages into the persistent volume. You could keep updating such a system until you fill up your usb stick. Better to update the iso and re-image the read-only part of the stick.

#352 Re: Installation » Live cd unable to boot with secure boot enabled » 2025-01-10 19:04:00

Thanks for testing. Here's a new live iso. This one has bootx64.efi and shimx64.efi.signed in efi/boot. I made this one using refractasnapshot and had to copy the shim into the iso build tree manually. If it works, I'll work it into live-sdk so it gets into the official isos.

devuan_5_signed-test_amd64-20250110_1825.iso
https://distro.ibiblio.org/refracta/files/experimental/

sha256sum:

ec458d2e023b7d6abc982c8c0f690250c562133a5b0491ced3226602d662903d  devuan_5_signed-test_amd64-20250110_1825.iso

#353 Re: Hardware & System Configuration » Screen Brightness app for SysTray? » 2025-01-08 09:02:07

I meant the setting for the gamma. For example, if you set it to 0.8 and then run the script again, the gamma settings window comes up and shows the value as 1.4 instead of 0.8.

If you need the desktop to come up at a decreased brightness, you could add the one-liner script that was posted above in your startup applications.

#354 Re: Devuan Derivatives » Refracta "Good-bye i386" iso » 2025-01-08 01:17:41

Oh, duh! I did it. See, I'm so distraught over this I didn't even notice the size of those packages. Thanks.

#355 Devuan Derivatives » Refracta "Good-bye i386" iso » 2025-01-07 16:05:46

fsmithred
Replies: 6

I guess this is the last 32-bit Refracta "release". In quotes because I normally don't publish isos for the new release before Debian freezes their testing suite. But this one has the last 686-pae kernel that was in Trixie/Excalibur until they removed it.

https://get.refracta.org/files/testing/

Release notes:

This is the No-X version of Refracta 13 using the last 686-pae kernel
available in Devuan Excalibur (and since removed from the repository).
Kernel packages including source are in the user's home in case you
feel like compiling or need to reinstall. If you lose them, they can be
found at snapshot.debian.org with a bit of searching.

At this time, Trixie/Excalibur has not even gone into freeze, so as soon
as you get this iso, it'll be outdated.

I'm not sure what the point of this is, since you won't be able to get kernel
security updates, but I figured I should make a final 32-bit Refracta iso.

fsmithred    January 7, 2025

P.S. If anyone knows why this iso is twice as big as the daedalus version, I'd be interested to get the explanation.
Thanks

#356 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.

#357 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.

#358 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

#359 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.

#360 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.

#361 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.

#362 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.

#363 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.

#364 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.

#365 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.

#366 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

#367 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.

#368 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.

#369 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.

#370 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.

#371 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

#372 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.

#373 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

#374 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

#375 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

Board footer

Forum Software