You are not logged in.
ich nutze aber auch oft lxqt und plasmaKDE
Offline
So you didn't click any of those links?
In particular the last one that explains what LXDM sources when it starts a session?
Offline
ok, i have /etc/profile
where exactly in that text of that file should i insert which text to autostart xbindkeys?
Offline
ok, i have /etc/profile
And you're not going to put it in there.
The rather obvious candidate would have been ~/.xprofile
Last edited by seth (2024-03-31 09:56:31)
Offline
where here?
cat /etc/profile
# /etc/profile
# Append "$1" to $PATH when not already in.
# This function API is accessible to scripts in /etc/profile.d
append_path () {
case ":$PATH:" in
*:"$1":*)
;;
*)
PATH="${PATH:+$PATH:}$1"
esac
}
# Append our default paths
append_path '/usr/local/sbin'
append_path '/usr/local/bin'
append_path '/usr/bin'
# Force PATH to be environment
export PATH
# Load profiles from /etc/profile.d
if test -d /etc/profile.d/; then
for profile in /etc/profile.d/*.sh; do
test -r "$profile" && . "$profile"
done
unset profile
fi
# Unload our profile API functions
unset -f append_path
# Source global bash config, when interactive but not posix or sh mode
if test "$BASH" &&\
test "$PS1" &&\
test -z "$POSIXLY_CORRECT" &&\
test "${0#-}" != sh &&\
test -r /etc/bash.bashrc
then
. /etc/bash.bashrc
fi
# Termcap is outdated, old, and crusty, kill it.
unset TERMCAP
# Man is much better than us at figuring this out
unset MANPATH
Last edited by lo7777799 (2024-03-31 10:00:38)
Offline
i dont have ~/.xprofile
Offline
i dont have ~/.xprofile
Add it?
How old are you?
Edit: and what distro are you running? Ubuntu?
Last edited by seth (2024-03-31 10:15:11)
Offline
ok i do it.
later i restart my pc and say you, if it starts.
thanks very much
Offline
#!/bin/bash
xbindkeys
is that good. thats all in my text file. .xprofile
Last edited by lo7777799 (2024-03-31 10:20:07)
Offline
The first line isn't a proper shebang and you don't need a shebang in that file anyway.
xbindkeys forks by default, otherwise you'd better do that.
Offline
what should i do, if i want to do that all under evdev?
maus configuration evdev
$ xev -event button | grep button
state 0x0, button 9, same_screen YES
state 0x0, button 9, same_screen YES
state 0x0, button 8, same_screen YES
state 0x0, button 8, same_screen YES
state 0x0, button 8, same_screen YES
state 0x0, button 8, same_screen YES
state 0x0, button 8, same_screen YES
state 0x0, button 8, same_screen YES9 is front thumb key and should be left ctrl. 8 is back thumb key and should be left shift.
grep -E "Name|Handlers" /proc/bus/input/devices | grep -E -B1 'Handlers.*mouse'
N: Name="Logitech G203 Prodigy Gaming Mouse"
H: Handlers=event2 mouse0N: Name="Logitech G203 Prodigy Gaming Mouse"
H: Handlers=event2 mouse0then in xorg.conf ...
Section "InputDevice"
Identifier "Evdev Mouse"
Driver "evdev"
Option "Name" "Logitech G203 Prodigy Gaming Mouse"
Option "evBits" "+1-2"
Option "keyBits" "~272-287"
Option "relBits" "~0-2 ~6 ~8"
Option "Pass" "3"
Option "CorePointer"
EndSectionthen change 1 line in server layout in xorg.conf ...
Section "ServerLayout"
Identifier "Default Layout"
Screen 0 "Monitor0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Evdev Mouse" "CorePointer"
EndSection
but what is missing for my 2 thumb keys to use it as left shift and left ctrl?
i find it well, if i know the evdev alternative.
maybe anyone can help me complete this.
Last edited by lo7777799 (2024-03-31 12:28:13)
Offline
I linked you examples on ow to do tis twice before and I also told you before that the quoted segment is irrelevant to your case.
Offline
ok, xkeybinds works after restart , thanks very much seth
Offline
https://unix.stackexchange.com/question … -udev-hwdb
shows to
https://vxnick.com/blog/2014/10/binding … -on-linux/
you linked an empty link to me, seth.
oh wait, there are informations for me, that can help.
thx seth
Last edited by lo7777799 (2024-03-31 15:10:19)
Offline