CDE: Difference between revisions
imported>User No edit summary |
imported>User No edit summary |
||
Line 122: | Line 122: | ||
./switchtheme ../palettes/Arizona.dp 8 3 22 false true false | ./switchtheme ../palettes/Arizona.dp 8 3 22 false true false | ||
== Changing volume and brightness with media keys == | |||
Add the following to ~/.dt/dtwmrc | |||
Keys DtKeyBindings | |||
{ | |||
<Key>XF86AudioLowerVolume root|icon|window|ifkey f.exec "amixer set Master -q 5%-" | |||
<Key>XF86AudioRaiseVolume root|icon|window|ifkey f.exec "amixer set Master -q 5%+" | |||
<Key>XF86AudioMute root|icon|window|ifkey f.exec "amixer set Master -q toggle" | |||
# Replace light with program of choice to control brightness | |||
<Key>XF86MonBrightnessUp root|icon|window|ifkey f.exec "light -A 1" | |||
<Key>XF86MonBrightnessDown root|icon|window|ifkey f.exec "light -U 1" | |||
} | |||
== Example configuration == | == Example configuration == | ||
Line 162: | Line 173: | ||
</nowiki>}} | </nowiki>}} | ||
== | == Useful links == | ||
* https://sourceforge.net/p/cdesktopenv/wiki/CustomisingCDE/ | * https://sourceforge.net/p/cdesktopenv/wiki/CustomisingCDE/ | ||