u/Global_Conference_75

How do i get superfxctl to work on openrc?

Its mainly made for systemd so i was wondering how some other people got it working.

Edit: got it working after reading the damn source code. change the config to Integrated or Hybrid or use sudo supergfx --mode Integrated or Hybrid or Vfio to change.

sudo tee /etc/init.d/supergfxd <<EOF
#!/sbin/openrc-run

description="Super Graphics Daemon"
command="/usr/bin/supergfxd"
command_background=true
pidfile="/run/supergfxd.pid"

# This is the crucial part that sets the required environment variable
export IS_SERVICE=1

depend() {
    need localmount
    after bootmisc
}

sudo chmod +x /etc/init.d/supergfxd

sudo tee /etc/supergfxd.conf <<EOF
{
  "mode": "Hybrid", #Integrated , Hybrid , Vfio 
  "vfio_enable": false,
  "vfio_save": false,
  "always_reboot": false,
  "no_logind": true,
  "logout_timeout_s": 180,
  "hotplug_type": "None"
}

sudo rc-update add supergfxd
sudo rc-service supergfxd start
sudo supergfxctl -g #print current mode
reddit.com
u/Global_Conference_75 — 5 days ago
▲ 2 r/Asustuf+1 crossposts

control A15 FA506 keyboard lights on linux

kernel:Artix 7.0

ROG control center keeps showing "LED mode failed" when attempting to change light to rainbow or other settings.

Openrgb from aur crashes as soon as i change to mode to rainbow or other ones.

The physical keys do not work to control the colour, only the brightness (Fn + up arrow or down arrow)

reddit.com
u/Global_Conference_75 — 8 days ago