You are not logged in.
Hello guys, i managed to setup arch on my laptop and configure it how i like but i have a few problems that i cannot resolve myself:
1. xbindkeys is not loading the config at startup
~/.xbindkeysrc
###########################
# xbindkeys configuration #
###########################
#
# Version: 0.1.3
#
# If you edit this, do not forget to uncomment any lines that you change.
# The pound(#) symbol may be used anywhere for comments.
#
# A list of keys is in /usr/include/X11/keysym.h and in
# /usr/include/X11/keysymdef.h
# The XK_ is not needed.
#
# List of modifier (on my keyboard):
# Control, Shift, Mod1 (Alt), Mod2 (NumLock),
# Mod3 (CapsLock), Mod4, Mod5 (Scroll).
#
# Another way to specifie a key is to use 'xev' and set the
# keycode with c:nnn or the modifier with m:nnn where nnn is
# the keycode or the state returned by xev
#
# This file is created by xbindkey_config
# The structure is :
# # Remark
# "command"
# m:xxx + c:xxx
# Shift+...
keystate_numlock = enable
#keystate_scrolllock = enable
#keystate_capslock = enable
#Mute
"pactl set-sink-mute 0 toggle"
m:0x0 + c:121
XF86AudioMute
#Lower Volume
"sh -c "pactl set-sink-mute 0 false ; pactl set-sink-volume 0 -5%""
m:0x0 + c:122
XF86AudioLowerVolume
#Raise Volume
"sh -c "pactl set-sink-mute 0 false ; pactl set-sink-volume 0 +5%""
m:0x0 + c:123
XF86AudioRaiseVolume
#
# End of xbindkeys configuration
~/.xinitrc
xbindkeys
exec startxfce4
As the wiki states xbindkeys must be added before the line that starts your DE, i tried to add it after the line also i added "-p" but nothing seems to work. For now im typing xbindkeys -p in terminal after boot to load the config.
2. How to limit volume to 100% ?
When i use the sound keys volume goes beyond 100% and the sound gets really bad and there is not gui popping up when i use the sound keys so i dont know how much i'm increasing the volume.
Last edited by vereeq (2017-05-26 07:39:33)
Offline
Perhaps xbindkeys is being started *too early*.
I use a BASH script which is executed by XFCE's startup, containing:
(sleep 13 && nice -n -1 /usr/bin/sxhkd) &
(sxhkd is a lightweight replacement to xbindkeys.)
Offline
2. How to limit volume to 100% ?
When i use the sound keys volume goes beyond 100% and the sound gets really bad and there is not gui popping up when i use the sound keys so i dont know how much i'm increasing the volume.
You will get better help for this if you start a separate thread. https://wiki.archlinux.org/index.php/Co … ow_to_post
Are you using pulseaudio or straight alsa?
Offline
How are you starting X. My guess is you are using some display manager & your .xinitrc is not being read.
Arch is home!
https://github.com/Docbroke
Offline