Date: Mon, 27 Apr 2020 17:57:47 +0000 From: bugzilla-noreply@freebsd.org To: gnome@FreeBSD.org Subject: [Bug 221452] sysutils/consolekit2: session's active state lost when switching between virtual terminals Message-ID: <bug-221452-6497-uDuRxQeCKa@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-221452-6497@https.bugs.freebsd.org/bugzilla/> References: <bug-221452-6497@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D221452 --- Comment #13 from Christina Mueller <chris@mumac.de> --- That's actually a little customized. I use lightdm but I had to add a few scripts to /usr/local/etc/X11/xinit/xinitrc.d to get things working the way= I like. Changes to lightdm.conf: * xserver-allow-tcp=3Dtrue * greeter-hide-users=3Dtrue * [XDMCPServer] enabled=3Dtrue There's one file from consolekit in xinitrc.d, 90-consolekit, which is unchanged. The files I added are: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D 50-login_conf.sh: # Lightdm, for one, doesn't process /etc/login.conf and there's no pam modu= le # to step in, either, thus we have to patch this somehow. For now, we'll # simply check if BLOCKSIZE is set and, if not, set BLOCKSIZE and PATH # to sane default values. if [ -z "$BLOCKSIZE" ] ; then =20 PATH=3D/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/home/l= ocal/bin:~/bin BLOCKSIZE=3DK export BLOCKSIZE fi =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D 50-mouse_config.sh: #--------------------------------------------------------------------------= ---- # Set property for given input device and property name (e.g. # "Device Accel Constant Deceleration"). # # NOTE: The expectation is that this won't be called more than a few times # during X startup (<10), thus there's no point optimizing or caching # anything. Famous last words... # xinp_set_prop() { local device=3D"$1" local property=3D"$2" local value=3D"$3" local id local pi # find device ID id=3D`xinput --list --id-only $device` # find property index for $prop pi=3D`xinput --list-props $id | sed -e "s/$property (\([^)]*\).*/\1/" -e = t -e d` if [ -n "$pi" ] ; then xinput --set-prop $id $pi $value fi } xinp_set_prop sysmouse "Device Accel Constant Deceleration" 1.7 xinp_set_prop sysmouse "Mouse Middle Button Emulation" 0 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D 50-caps_compose.sh: #!/bin/sh # configure caps lock as compose key; never needed caps lock, anyway... setxkbmap -option compose:caps --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-221452-6497-uDuRxQeCKa>