-
Senior Member
registered user
Create ~/.xsessionrc for quick session changes
Since ~/.xsessionrc is activated by xsession why not use it ? Just create it in your home folder and use it to make quick settings to X. Here is an example of mine:
# turn off default screensaver
xset s off s noblank s 0 0
# Set mouse accelaration. Works before LXDE takes over. To change final setting edit ~/.config/lxsession/LXDE/desktop.conf
xset m 5/2 4
# Set gamma correction
xgamma -rgamma 1.05 -ggamma 1.15 -bgamma 1.136
# Load monitor ICC profile
dispwin -d 1 ~/.config/color-profiles/IBMTPLCD.ICM
# Start xcompmgr
xcompmgr -a &
# Start clipboard-daemon
clipboard-daemon &
# Start keyboard layout switcher
setxkbmap -option '' 'us,bg' ',phonetic' 'grp:alt_shift_toggle,grp_led:scroll'
# Enable key sequence to kill the X server. Old behaviour
setxkbmap -option terminate:ctrl_alt_bksp
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Apple Macbook Pro 8-Core i9 16" 1TB 64GB RAM Space Gray MVVK2LL/A 2019 USED
$898.00
Intel - Core i9-13900K 13th Gen 24 cores 8 P-cores + 16 E-cores 36M Cache, 3 ...
$689.99
AMD Ryzen 9 5950X 16-core 32-thread Desktop Processor
$319.99
Intel - Core i7-13700K 13th Gen 16 cores 8 P-cores + 8 E-cores 30M Cache, 3.4...
$489.99
Apple Mac Pro Processor Tray 5,1 2010 2012 2.4ghz 8 core
$79.99
HP EliteDesk 800 G4 Micro Intel Core i5-8500T 2.1GHz 8GB RAM 256GB SSD W11P WIFI
$120.00
Intel - Core i7-12700K Desktop Processor 12 (8P+4E) Cores up to 5.0 GHz Unloc...
$419.99
Intel - Core i9-12900K Desktop Processor 16 (8P+8E) Cores up to 5.2 GHz Unloc...
$619.99
Dell Optiplex 5060 SFF 8th Gen Core i7 3.2GHZ 16GB 512GB Win 11 Pro
$249.00
Lenovo IdeaCentre 3 07IRB8 Desktop Intel Core i5-13400 16GB 512GB SSD W11H
$429.99