Author Topic: OpenBox config options  (Read 1295 times)

Offline Yankee

  • Hero Member
  • *****
  • Posts: 1477
  • In theory, theory=practice, in practice ???
OpenBox config options
« on: December 06, 2011, 03:51:49 PM »

In Openbox 2011 :

1)  Mouse was moving faster than the screen.

in terminal run this command:

xset q | grep -A 1 Pointer

The above will give the default values.

terminal output :

Control:  acceleration:  2/1    threshold:  4

in terminal run this command:

xset m 1/4 1

This was the best setting tried.  Acceleration was
reduced from 2/1 to 1/4 and threshold was increased
from 4 pixels to 1 pixel for mouse movement.
Very smooth so far.  This works in /home/user/.config/openbox/autostart.sh
without the trailing ampersand and is not hardware
specific.   Type xset m 1/4 1 at the end of the file to set
as default mouse speed.


2)  Reduce display brightness as a default setting in OpenBox. 

Install xbacklight from Synaptic.

in root terminal run this command:

xbacklight -set 60

This will reduce display brightness to 60% or whatever
brightness you prefer.   Adjust as you prefer.
This works in /home/user/.config/openbox/autostart.sh
without the trailing ampersand and is not hardware
specific.   Type xbacklight -set 60 at the end of the file
to set the default screen brightness.

in root terminal run this command:

xbacklight -get   

This will show the current brightness level.


3)  Intel video drivers (GMA 900'S) and font display quality.

Change /etc/X11/xorg.conf slightly.

Change this:

Section "Device"
    Identifier "device1"
    VendorName "Intel Corporation"
    BoardName "Intel 810 and later"
    Driver "intel"
    Option "DPMS"
EndSection

To this:

Section "Device"
    Identifier "device1"
    VendorName "Intel Corporation"
    BoardName "Intel 810 and later"
    Driver "intel"
    Option "DebugWait" "true"
EndSection

This enables the DebugWait option on the card.   May work
on other Intel cards as well with this problem.  This causes the driver
to read the buffers more carefully eliminating font
distortion.   Check after updating the video driver to be sure it's still there.


Now if I could only get it to...

Have a good one.

FF

 ;D
ASUS EeePc 900HA netbook  1.6 Ghz Atom CPU  1GB RAM
160 GB internal HD    Seagate 250 GB USB portable drive 
Intel ‎Mobile 945GSE Integrated Graphics Controller
Atheros AR242x/AR542x Wireless Network Adapter
Intel (N10/ICH7 Family) High Definition Audio
Dynex 5-Button Wired Optical Mouse
LXDE

Offline melodie

  • Hero Member
  • *****
  • Posts: 5942
  • XMMP=Jabber, free instant messaging protocol !
    • PCLinuxOS Fr
Re: OpenBox config options
« Reply #1 on: December 08, 2011, 04:43:45 PM »
Hi Ferdes,

Thanks for the tips. A few questions for you : I wonder if the mouse acceleration would not be just better being deactivated directly in the options of the xorg configuration in the PCC ?

Could you point to the docs which helped you find out each of theses tricks ?

What about the console commands ? Should they be turned by the users who need them, into script shells and placed in the $HOME/.config/openbox/scripts directory to be launched from the autostart.sh file ?

Have a good [something|day|whatever] too ! :)

melodie at swissjabber dot ch - IRC #pclinuxos-fr sur freenode

Offline Yankee

  • Hero Member
  • *****
  • Posts: 1477
  • In theory, theory=practice, in practice ???
Re: OpenBox config options
« Reply #2 on: December 09, 2011, 11:46:47 AM »
Hi Ferdes,

Thanks for the tips. A few questions for you : I wonder if the mouse acceleration would not be just better being deactivated directly in the options of the xorg configuration in the PCC ?

That setting doesn't stay on my computer. 

Quote
Could you point to the docs which helped you find out each of theses tricks ?

This has 3 ways of adjusting the mouse.
https://wiki.archlinux.org/index.php/Mouse_acceleration

This was from a xorg-bugzilla leading to this thread.   See comment 40.
https://launchpad.net/+search?field.text=745608

xbacklight is in Synaptic.    xbacklight --help is fairly simple.

Quote
What about the console commands ? Should they be turned by the users who need them, into script shells and placed in the $HOME/.config/openbox/scripts directory to be launched from the autostart.sh file ?

Very possible.


FF
 :D
ASUS EeePc 900HA netbook  1.6 Ghz Atom CPU  1GB RAM
160 GB internal HD    Seagate 250 GB USB portable drive 
Intel ‎Mobile 945GSE Integrated Graphics Controller
Atheros AR242x/AR542x Wireless Network Adapter
Intel (N10/ICH7 Family) High Definition Audio
Dynex 5-Button Wired Optical Mouse
LXDE