Creating systemd integration to set desired color scheme at boot time
See original GitHub issueThe default blue backlight colors are loaded on boot. Any changes applied through the aucc
command are not permanent.
Since elevated privileges are necessary to communicate with the USB controller, placing an aucc
script in your Desktop environment’s start folder (e.g. .config/autostart-scripts/
) is not comfortable, since you will be prompted for your sudo
password each time your display manager starts up plasma or gnome (or whichever environment you prefer).
Instead, the following should happen:
- The GUI or command line tool writes the desired color scheme (or
aucc
parameters) into a system configuration file, like/etc/aucc.conf
. - A
systemd
service is created and enabled for auto-start during boot, which runsaucc
with root privileges, applying the color scheme from/etc/aucc.conf
to the USB keyboard controller.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:5 (4 by maintainers)
Top Results From Across the Web
Use systemd to Start a Linux Service at Boot - Linode
Create a Custom systemd Service ... This script will log the time at which it is initialized, then loop infinitely to keep the...
Read more >Chapter 10. Managing Services with systemd
Socket-based activation — At boot time, systemd creates listening sockets for all system services that support this type of activation, and passes the...
Read more >Scheduling tasks with systemd timers on Linux
One such tool is systemd timers, whose primary purpose is to schedule and run tasks during startup or repeatedly after a system boot....
Read more >Ubuntu 22.04: Beautiful Outside, Ugly Inside!
Ubuntu 22.04 is noticeably slow in boot time. ... For example, you won't be able to install the GNOME extension through Firefox and...
Read more >The Buildroot user manual
Avoids the build time of the cross-compilation toolchain, which is often very ... if set and non-empty, to use an alternate color-scheme in...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@LeoniePhiline
I do not know if you received my feedback on the donation, but I’ll leave it here anyway:
when suspending the leds return to normal for me by pressing any key, already while hibernating, hibernation does not work very well on my laptop with fedora 30 silverblue, I believe it is some issue