#StackBounty: #linux #debian #xorg #magic-sysrq Can't figure out the way to trigger Magic Sys Keys via keyboard debian 9 lxdm 0.53-…

Bounty: 50

I use a debian 9 with Magic Sys Keys enabled :

sysctl -a | grep sysrq
kernel.sysrq = 1

if I trigger in CLI, it works :

echo f > /proc/sysrq-trigger

I have something like :

emergency sync trigerred

from tty1.

But when I try to do alt+Print/Syst+s from tty1, I switch from tty1 to xorg tty7 with in xorg log :

[  1019.608] (II) AIGLX: Suspending AIGLX clients for VT switch
[  1044.548] (II) AIGLX: Resuming AIGLX clients after VT switch

Kernel :

$ uname -r
4.9.0-6-amd64

I use xfce4 4.12.3

No keyboard shortcut with this combo in xfce4 applications menu -> parameters -> keyboard -> keyboard shortcuts (translated from my mind French to English)

I tried with a fresh new user and it’s the same problem.

I tried with no xfce4 session, just tty1 and lxdm on tty7, I still switch to lxdm tty7 if I type the keyboard shortcut

Any clue ?

EDIT 20180802

Same thing with cinnamon DM 3.2.7, if I hit alt+Print/Syst+s from tty1, I switch from tty1 to xorg tty


Get this bounty!!!

#StackBounty: #linux #debian #xorg #magic-sysrq Can't figure out the way to trigger Magic Sys Keys via keyboard debian 9 lxdm 0.53-…

Bounty: 50

I use a debian 9 with Magic Sys Keys enabled :

sysctl -a | grep sysrq
kernel.sysrq = 1

if I trigger in CLI, it works :

echo f > /proc/sysrq-trigger

I have something like :

emergency sync trigerred

from tty1.

But when I try to do alt+Print/Syst+s from tty1, I switch from tty1 to xorg tty7 with in xorg log :

[  1019.608] (II) AIGLX: Suspending AIGLX clients for VT switch
[  1044.548] (II) AIGLX: Resuming AIGLX clients after VT switch

Kernel :

$ uname -r
4.9.0-6-amd64

I use xfce4 4.12.3

No keyboard shortcut with this combo in xfce4 applications menu -> parameters -> keyboard -> keyboard shortcuts (translated from my mind French to English)

I tried with a fresh new user and it’s the same problem.

I tried with no xfce4 session, just tty1 and lxdm on tty7, I still switch to lxdm tty7 if I type the keyboard shortcut

Any clue ?

EDIT 20180802

Same thing with cinnamon DM 3.2.7, if I hit alt+Print/Syst+s from tty1, I switch from tty1 to xorg tty


Get this bounty!!!

#StackBounty: #linux #debian #xorg #magic-sysrq Can't figure out the way to trigger Magic Sys Keys via keyboard debian 9 lxdm 0.53-…

Bounty: 50

I use a debian 9 with Magic Sys Keys enabled :

sysctl -a | grep sysrq
kernel.sysrq = 1

if I trigger in CLI, it works :

echo f > /proc/sysrq-trigger

I have something like :

emergency sync trigerred

from tty1.

But when I try to do alt+Print/Syst+s from tty1, I switch from tty1 to xorg tty7 with in xorg log :

[  1019.608] (II) AIGLX: Suspending AIGLX clients for VT switch
[  1044.548] (II) AIGLX: Resuming AIGLX clients after VT switch

Kernel :

$ uname -r
4.9.0-6-amd64

I use xfce4 4.12.3

No keyboard shortcut with this combo in xfce4 applications menu -> parameters -> keyboard -> keyboard shortcuts (translated from my mind French to English)

I tried with a fresh new user and it’s the same problem.

I tried with no xfce4 session, just tty1 and lxdm on tty7, I still switch to lxdm tty7 if I type the keyboard shortcut

Any clue ?

EDIT 20180802

Same thing with cinnamon DM 3.2.7, if I hit alt+Print/Syst+s from tty1, I switch from tty1 to xorg tty


Get this bounty!!!

#StackBounty: #linux #debian #xorg #magic-sysrq Can't figure out the way to trigger Magic Sys Keys via keyboard debian 9 lxdm 0.53-…

Bounty: 50

I use a debian 9 with Magic Sys Keys enabled :

sysctl -a | grep sysrq
kernel.sysrq = 1

if I trigger in CLI, it works :

echo f > /proc/sysrq-trigger

I have something like :

emergency sync trigerred

from tty1.

But when I try to do alt+Print/Syst+s from tty1, I switch from tty1 to xorg tty7 with in xorg log :

[  1019.608] (II) AIGLX: Suspending AIGLX clients for VT switch
[  1044.548] (II) AIGLX: Resuming AIGLX clients after VT switch

Kernel :

$ uname -r
4.9.0-6-amd64

I use xfce4 4.12.3

No keyboard shortcut with this combo in xfce4 applications menu -> parameters -> keyboard -> keyboard shortcuts (translated from my mind French to English)

I tried with a fresh new user and it’s the same problem.

I tried with no xfce4 session, just tty1 and lxdm on tty7, I still switch to lxdm tty7 if I type the keyboard shortcut

Any clue ?

EDIT 20180802

Same thing with cinnamon DM 3.2.7, if I hit alt+Print/Syst+s from tty1, I switch from tty1 to xorg tty


Get this bounty!!!

#StackBounty: #linux #debian #xorg #magic-sysrq Can't figure out the way to trigger Magic Sys Keys via keyboard debian 9 lxdm 0.53-…

Bounty: 50

I use a debian 9 with Magic Sys Keys enabled :

sysctl -a | grep sysrq
kernel.sysrq = 1

if I trigger in CLI, it works :

echo f > /proc/sysrq-trigger

I have something like :

emergency sync trigerred

from tty1.

But when I try to do alt+Print/Syst+s from tty1, I switch from tty1 to xorg tty7 with in xorg log :

[  1019.608] (II) AIGLX: Suspending AIGLX clients for VT switch
[  1044.548] (II) AIGLX: Resuming AIGLX clients after VT switch

Kernel :

$ uname -r
4.9.0-6-amd64

I use xfce4 4.12.3

No keyboard shortcut with this combo in xfce4 applications menu -> parameters -> keyboard -> keyboard shortcuts (translated from my mind French to English)

I tried with a fresh new user and it’s the same problem.

I tried with no xfce4 session, just tty1 and lxdm on tty7, I still switch to lxdm tty7 if I type the keyboard shortcut

Any clue ?

EDIT 20180802

Same thing with cinnamon DM 3.2.7, if I hit alt+Print/Syst+s from tty1, I switch from tty1 to xorg tty


Get this bounty!!!

#StackBounty: #linux #debian #xorg #magic-sysrq Can't figure out the way to trigger Magic Sys Keys via keyboard debian 9 lxdm 0.53-…

Bounty: 50

I use a debian 9 with Magic Sys Keys enabled :

sysctl -a | grep sysrq
kernel.sysrq = 1

if I trigger in CLI, it works :

echo f > /proc/sysrq-trigger

I have something like :

emergency sync trigerred

from tty1.

But when I try to do alt+Print/Syst+s from tty1, I switch from tty1 to xorg tty7 with in xorg log :

[  1019.608] (II) AIGLX: Suspending AIGLX clients for VT switch
[  1044.548] (II) AIGLX: Resuming AIGLX clients after VT switch

Kernel :

$ uname -r
4.9.0-6-amd64

I use xfce4 4.12.3

No keyboard shortcut with this combo in xfce4 applications menu -> parameters -> keyboard -> keyboard shortcuts (translated from my mind French to English)

I tried with a fresh new user and it’s the same problem.

I tried with no xfce4 session, just tty1 and lxdm on tty7, I still switch to lxdm tty7 if I type the keyboard shortcut

Any clue ?

EDIT 20180802

Same thing with cinnamon DM 3.2.7, if I hit alt+Print/Syst+s from tty1, I switch from tty1 to xorg tty


Get this bounty!!!

#StackBounty: #linux #debian #xorg #magic-sysrq Can't figure out the way to trigger Magic Sys Keys via keyboard debian 9 lxdm 0.53-…

Bounty: 50

I use a debian 9 with Magic Sys Keys enabled :

sysctl -a | grep sysrq
kernel.sysrq = 1

if I trigger in CLI, it works :

echo f > /proc/sysrq-trigger

I have something like :

emergency sync trigerred

from tty1.

But when I try to do alt+Print/Syst+s from tty1, I switch from tty1 to xorg tty7 with in xorg log :

[  1019.608] (II) AIGLX: Suspending AIGLX clients for VT switch
[  1044.548] (II) AIGLX: Resuming AIGLX clients after VT switch

Kernel :

$ uname -r
4.9.0-6-amd64

I use xfce4 4.12.3

No keyboard shortcut with this combo in xfce4 applications menu -> parameters -> keyboard -> keyboard shortcuts (translated from my mind French to English)

I tried with a fresh new user and it’s the same problem.

I tried with no xfce4 session, just tty1 and lxdm on tty7, I still switch to lxdm tty7 if I type the keyboard shortcut

Any clue ?

EDIT 20180802

Same thing with cinnamon DM 3.2.7, if I hit alt+Print/Syst+s from tty1, I switch from tty1 to xorg tty


Get this bounty!!!

#StackBounty: #linux #debian #xorg #magic-sysrq Can't figure out the way to trigger Magic Sys Keys via keyboard debian 9 lxdm 0.53-…

Bounty: 50

I use a debian 9 with Magic Sys Keys enabled :

sysctl -a | grep sysrq
kernel.sysrq = 1

if I trigger in CLI, it works :

echo f > /proc/sysrq-trigger

I have something like :

emergency sync trigerred

from tty1.

But when I try to do alt+Print/Syst+s from tty1, I switch from tty1 to xorg tty7 with in xorg log :

[  1019.608] (II) AIGLX: Suspending AIGLX clients for VT switch
[  1044.548] (II) AIGLX: Resuming AIGLX clients after VT switch

Kernel :

$ uname -r
4.9.0-6-amd64

I use xfce4 4.12.3

No keyboard shortcut with this combo in xfce4 applications menu -> parameters -> keyboard -> keyboard shortcuts (translated from my mind French to English)

I tried with a fresh new user and it’s the same problem.

I tried with no xfce4 session, just tty1 and lxdm on tty7, I still switch to lxdm tty7 if I type the keyboard shortcut

Any clue ?

EDIT 20180802

Same thing with cinnamon DM 3.2.7, if I hit alt+Print/Syst+s from tty1, I switch from tty1 to xorg tty


Get this bounty!!!

#StackBounty: #debian #networking #network-interface How to make wlan to always be the default route? (ip route list)

Bounty: 50

Whenever I add my 4G modem to my raspberry, it gets on top of the default routes ou ip route list, however I want everything to go through wlan, and only use the 4G modem to receive SSH connections.

I’ve found this answer on how to disable the default routes: https://serverfault.com/a/836708

however, after reboot, the 4G modem comes back to the top.

How do I make wlan0 to always be the first rule on default?


Get this bounty!!!

#StackBounty: #debian #keyboard-shortcuts #xfce #xkb execute command to swap caps lock and ctrl at startup

Bounty: 50

I’m a bit puzzled why this is not working as intended. My goal is to map the caps lock key to control. I’m using debian. For this I’m using the following command

/usr/bin/setxkbmap -layout "$(setxkbmap -print | awk -F + '/xkb_symbols/ {print $2}')" -option ctrl:nocaps

which works perfectly fine if I execute it via the terminal. However, I want this to be done at startup or login and always execute it manually. I’ve tried to add this command to the automatic startup session application in XFCE as well as putting the command in my ~/.profile. However, both options don’t seem to work. I still have to execute it manually (which after it is correctly mapped). What am I doing wrong?


Get this bounty!!!