You are not logged in.
Pages: 1


Hello,
I am completely new on Xfce (my daily driver is LMDE 6 Cinnamon) but I would like to know how to use Xfce and so installed Debian 13 Xfce on another partition.
I went to Settings / Session and Startup / Automatic start of application, then add a line with the command xsct 4000.
It does not work though it does when I type the command in a terminal.
Would someone have an idea?
Thank you.
System:
Kernel: 6.12.63+deb13-amd64 arch: x86_64 bits: 64 compiler: gcc v: 14.2.0
Desktop: Xfce v: 4.20.1 Distro: Debian GNU/Linux 13 (trixie)Last edited by Odysseus (2026-01-12 09:46:28)
Linux Mint Debian Edition 6 — MX Linux 25 XFCE — Debian 13 XFCE
Laptop Brand: "Laptop with Linux" - Model: 17" Odysseus = Clevo PD70PNP
Offline


I'm unfamiliar with xsct, what package?
Offline


Hello CwF.
Here is the result of apt show:
philippe@Odysseus:~$ apt show xsct
Package: xsct
Version: 2.3-1
Priority: optional
Section: x11
Maintainer: Mike Gabriel <sunweaver@debian.org>
Installed-Size: 34,8 kB
Depends: libc6 (>= 2.34), libx11-6, libxrandr2 (>= 2:1.2.99.2)
Homepage: https://github.com/faf0/sct
Download-Size: 9848 B
APT-Manual-Installed: yes
APT-Sources: http://deb.debian.org/debian trixie/main amd64 Packages
Description: réglage de la température de couleur de l’écran
xsct (X11 set screen color temperature) est un petit programme en C pour
modifier la température de couleur de l’écran. Il peut être utilisé pour
augmenter ou diminuer la lumière bleue produite par l’écran.
.
L’outil xsct définit la température de l’écran à l’aide d’xrandr comme
redshift. Au contraire de redshift, il est composé de 80 lignes en C et ne
modifiera pas la température de l’écran automatiquement.
philippe@Odysseus:~$ Linux Mint Debian Edition 6 — MX Linux 25 XFCE — Debian 13 XFCE
Laptop Brand: "Laptop with Linux" - Model: 17" Odysseus = Clevo PD70PNP
Offline


If you run
xsct 4000in the terminal does it work?
I AM CANADIAN!
Siduction
Debian Sid
Xfce 4.20 with Wayland/Labwc
Offline


Open a terminal, execute this command:
mousepad ~/.config/autostart/xsct.desktopThat should open the text editor (if you don't have mousepad you can change it to any text editor you have installed), then paste the following text in that file:
[Desktop Entry]
Encoding=UTF-8
Type=Application
Name=XSct
Comment=redshift alternative
Exec=xsct 4000
OnlyShowIn=XFCE;
StartupNotify=false
Terminal=false
Hidden=falseSave the file and close the text editor and the terminal, log out and the command should run on login.
There's an interesting post about .desktop files in the arch wiki: https://wiki.archlinux.org/title/Desktop_entries
- Happy Hacking!
Offline


Hello Merazi,
Thank you for your answer.
It did what you wrote, deactivate my own entry in the GUI for the session autostart, logged out and in, but it does not work.
Actually it appears that the change in colour is displayed for a fraction of a second in both cases (my entry and yours).
Last edited by Odysseus (2026-01-12 00:53:29)
Linux Mint Debian Edition 6 — MX Linux 25 XFCE — Debian 13 XFCE
Laptop Brand: "Laptop with Linux" - Model: 17" Odysseus = Clevo PD70PNP
Offline


If you see it for a fraction of a second then maybe some xfce setting is overwriting it, the simplest workaround could be to create a script (you can save it on ~/.local/bin/ for example) with a delay before running the xsct command:
#!/bin/bash
sleep 1
xsct 4000After that, save it and make it executable:
chmod +x ./your_script.shAnd finally you can add it to the autostart by either using Session and Startup or by creating a .desktop file and using the script as the Exec parameter.
Try if that works. 🙏
- Happy Hacking!
Offline


Hello Merazi,
It works perfectly!
It is a pity that one cannot add a delay in Creating the command in Session (that is the case in Cinnamon).
I thank you very much!
Linux Mint Debian Edition 6 — MX Linux 25 XFCE — Debian 13 XFCE
Laptop Brand: "Laptop with Linux" - Model: 17" Odysseus = Clevo PD70PNP
Offline


You can. You can use it in the command entry line.
I AM CANADIAN!
Siduction
Debian Sid
Xfce 4.20 with Wayland/Labwc
Offline
Pages: 1
[ Generated in 0.013 seconds, 7 queries executed - Memory usage: 550.01 KiB (Peak: 566.98 KiB) ]