You are not logged in.
@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.
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
rebootI 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.
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 0I 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.
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.
Perfect! Thanks, I forgot about snapshot.debian.org.
I got linux-image, linux-headers and linux-source for 6.10.9-1 696-pae.
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.
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.
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.
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.
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 INFOThe 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.
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.
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.
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.
Turn them off in runlevel 2, and then the command to turn them on is
init 3Assuming 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-disabledor 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.
2. Put
RESUME=nonein /etc/initramfs-tools/conf.d/resume and then run
update-initramfs -uIf 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
synapticAnother 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 yesIt 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
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.
PCManFM 1.3.2 in daedalus, and I see no third option in the right-click menu. Just folder or file are the choices.
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.
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?
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.