CDE: Difference between revisions

imported>User
No edit summary
imported>User
No edit summary
Line 162: Line 162:


</nowiki>}}
</nowiki>}}
== Useful sources ==
== 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"
  }
 
 


* https://sourceforge.net/p/cdesktopenv/wiki/CustomisingCDE/
* https://sourceforge.net/p/cdesktopenv/wiki/CustomisingCDE/