it:linux:lxde

Config

Die OpenBox config von LXDE ist unter „~/.config/openbox/lxde-rc.xml“ zu finden.

<mousebind button="A-Right" action="Drag">
  <action name="Resize">
    <edge>bottomright</edge>
  </action>
</mousebind>
<keybind key="A-x">
  <action name="Execute">
    <command>lxterminal</command>
  </action>
</keybind>
<keybind key="A-f">
  <action name="Execute">
    <command>firefox</command>
  </action>
</keybind>
<keybind key="A-t">
  <action name="Execute">
    <command>thunderbird</command>
  </action>
</keybind>
<keybind key="A-m">
  <action name="ToggleMaximizeFull">
  </action>
</keybind>
<applications>
...
  <application class="Lxterminal">
    <focus>yes</focus>
  </application>
</applications>

Das „class“ Attribut lässt sich mittels

obxprop | grep "^_OB_APP"

bestimmen.

xrandr --output DVI-0 --auto --scale 2x2 --left-of DisplayPort-0 --output DVI-1 --auto --right-of DisplayPort-0 --output DisplayPort-0 --auto

Um das beim Autostart auch zu machen: .config/autostart/lxrandr-autostart.desktop

[Desktop Entry]
Type=Application
Name=LXRandR autostart
Comment=Start xrandr with settings done in LXRandR
Exec=xrandr --output DVI-0 --auto --scale 2x2 --left-of DisplayPort-0 --output DVI-1 --auto --right-of DisplayPort-0 --output DisplayPort-0 --auto
OnlyShowIn=LXDE

Unter /usr/share/X11/xorg.conf.d/20-radeon.conf anlegen:

Section "Device"
  Identifier  "My Graphics Card"
  Option  "AGPMode"               "8"   #not used when KMS is on
  Option  "AGPFastWrite"          "off" #could cause instabilities enable it at your own risk
  Option  "SWcursor"              "off" #software cursor might be necessary on some rare occasions, hence set off by default
  Option  "EnablePageFlip"        "on"  #supported on all R/RV/RS4xx and older hardware and set off by default
  Option  "AccelMethod"           "EXA" #valid options are XAA and EXA. EXA is the newest acceleration method and it is the default.
  Option  "RenderAccel"           "on"  #enabled by default on all radeon hardware
  Option  "ColorTiling"           "on"  #enabled by default on RV300 and later radeon cards.
  Option  "EXAVSync"              "on"  #default is off, otherwise on
  Option  "EXAPixmaps"            "on"  #when on icreases 2D performance, but may also cause artifacts on some old cards
  Option  "AccelDFS"              "on"  #default is off, read the radeon manpage for more information
EndSection

Ganz wichtig: EXAVSync=on entfernt jedes image tearing und performance Problem, dass ich mit den „offiziellen“ Treibern hatte…

  • it/linux/lxde.txt
  • Zuletzt geändert: 2016/01/30 02:08
  • von admin