-
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
-
Senior Member
registered user
Hey, mecho. You've got a lot of little goodies here. I'm using 6.2.1 and I cannot locate .xessionrc anywhere. I can apply many of these ideas just as well via rc.local now that you've laid them all out so nicely. It would help to explain some of the entries a bit more. I think Krishna, or you have something somewhere on clipboard-daemon, I've used the mouse accel idea before. xcompmgr, setxkbmap, dispwin aren't familiar. Can you elucidate?
Last edited by utu; 07-24-2010 at 12:16 AM.
-
Senior Member
registered user
.xsessionrc is not in knoppix by default, but it is activated by xsession. All you need is to create it in your home folder. It is way better to use .xsessionrc to pass commands, then using rc.local
I use setxkbmap to set my dual layout keyboard, so I can type both in Bulgarian and English and switch between keyboard layouts using Alt+Shift
dispwin is part of argyll package and is used to load monitor color profiles
xcompmgr is composite manager. It gives some nice effects to X like shadows, transparency etc. It is still not very stable and I dont use shadows and transparency, but I do use the accelerated desktop it provides. At least that feature is stable enough.
clipboard-daemon is used to protect your clipboard, so you don't loose it's content when you close the source application
-
Senior Member
registered user
The second setxkbmap -option terminate:ctrl_alt_bksp
Applies the old X key sequence to restart X using Ctrl+Alt+BackSpace. Its useful sometimes if you experience some system freeze
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
![Fortinet FortiGate 60F | 10 Gbps Firewall Network Security EXPIRED (FG-60F)- New picture](/store/img/g/raUAAOSwJYhjzwg-/s-l225/Fortinet-FortiGate-60F-10-Gbps-Firewall-Network-Se.jpg)
Fortinet FortiGate 60F | 10 Gbps Firewall Network Security EXPIRED (FG-60F)- New
$226.79
![Palo Alto PA-220 Next Generation Firewall Appliance w/ Power Adapter and Cord picture](/store/img/g/n8AAAOSwlM5ma1bc/s-l225/Palo-Alto-PA-220-Next-Generation-Firewall-Applianc.jpg)
Palo Alto PA-220 Next Generation Firewall Appliance w/ Power Adapter and Cord
$59.99
![Fortinet Fortigate FG-61E Firewall Network Security Appliance ATP Bundle 1 years picture](/store/img/g/nH4AAOSwvpJlnbt9/s-l225/Fortinet-Fortigate-FG-61E-Firewall-Network-Securit.jpg)
Fortinet Fortigate FG-61E Firewall Network Security Appliance ATP Bundle 1 years
$263.99
![Cisco Meraki MX84 Cloud Managed Security Firewall Appliance UNCLAIMED MX84-HW picture](/store/img/g/KSUAAOSw~-hmULkX/s-l225/Cisco-Meraki-MX84-Cloud-Managed-Security-Firewall-.jpg)
Cisco Meraki MX84 Cloud Managed Security Firewall Appliance UNCLAIMED MX84-HW
$39.99
![Fortinet FortiWiFi-60E Network Security Appliance - White picture](/store/img/g/FmsAAOSwLRdmb3a0/s-l225/Fortinet-FortiWiFi-60E-Network-Security-Appliance-.jpg)
Fortinet FortiWiFi-60E Network Security Appliance - White
$38.40
![Dell SonicWall TZ300 5 Port Network Security Firewall Appliance APL28-0B4 picture](/store/img/g/siEAAOSwe41mcxtd/s-l225/Dell-SonicWall-TZ300-5-Port-Network-Security-Firew.jpg)
Dell SonicWall TZ300 5 Port Network Security Firewall Appliance APL28-0B4
$39.99
![Cisco ASA5506-K9 ASA 5506-X Network Security Firewall picture](/store/img/g/N60AAOSwDr1mYvWj/s-l225/Cisco-ASA5506-K9-ASA-5506-X-Network-Security-Firew.jpg)
Cisco ASA5506-K9 ASA 5506-X Network Security Firewall
$40.00
![Fortinet Fortigate-61e Security Firewall Appliance No AC Adapter/SSD picture](/store/img/g/gswAAOSwFGxkLCZX/s-l225/Fortinet-Fortigate-61e-Security-Firewall-Appliance.jpg)
Fortinet Fortigate-61e Security Firewall Appliance No AC Adapter/SSD
$54.99
![Cisco ASA 5516-X Adaptive Security Firewall Appliance Network Device picture](/store/img/g/qmEAAOSwtntmaFTz/s-l225/Cisco-ASA-5516-X-Adaptive-Security-Firewall-Applia.jpg)
Cisco ASA 5516-X Adaptive Security Firewall Appliance Network Device
$249.99
![Sophos XG310 Rev 1 Security Appliance Firewall Device XG 310 Distributed Edge 1U picture](/store/img/g/JxgAAOSwrV9mbNUv/s-l225/Sophos-XG310-Rev-1-Security-Appliance-Firewall-Dev.jpg)
Sophos XG310 Rev 1 Security Appliance Firewall Device XG 310 Distributed Edge 1U
$172.49