Wednesday, February 19, 2014

Fedora 19 Gnome Synaptics Vertical Edge Scroll Permanently

Hi, just playing around and accidentally delete my ~/.config ~/.gnome and ~/.gnome2.
All my settings are reset and my touchpad no longer be able to vertical edge scrolling.
Googling with a little light pointing me to do $ man synaptics. 

The manual page was like hieroglyph but re-read over and over again earned
me some of knowledge to set some of the synaptics properties.
So here is my ~/.profile, i added 2 lines of the properties at the end of the file

xinput --set-prop "SynPS/2 Synaptics TouchPad" "Synaptics Edge Scrolling" 1 1 0

As the manual says:

Synaptics Edge Scrolling
              8 bit (BOOL), 3 values, vertical, horizontal, corner

where the "1 1 0" meaning Vertical "on", Horizontal "on", Corner "off".

Happy scrolling ^^

Tuesday, February 18, 2014

Linux Gnome Login to Black Screen and Loop

Arghh... Linux Gnome Login to Black Screen and Loop. Something gone wrong
and i do not know what caused the loop. The ~/.xsession-errors shows:

[2350:2350:3195506791:ERROR:chrome_browser_main_x11.cc(62)] X IO Error detected
thunderbird12: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.0.
gnome-panel: Fatal IO error 0 (Success) on X server :0.0.
thunderbird12: Fatal IO error 2 (No such file or directory) on X server :0.0.
exe: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.0.
exe: Fatal IO error 2 (No such file or directory) on X server :0.0.
XOpenDisplay() failed
gnome-power-manager: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.0.

** (gnome-power-manager:1850): WARNING **: Failed to send buffer

** (gnome-power-manager:1850): WARNING **: Failed to send buffer
The application 'gnome-power-manager' lost its connection to the display :0.0;
most likely the X server was shut down or you killed/destroyed
the application.

To be honest i don't understand what was going on. Googling for hours end up
with a conclusion that the ~/.config has gone wrong. Since login using other user
account works fine. Then i come out with:

1. Open other terminal Ctrl+Alt+F2
2. $ sudo service gdm stop
3. Using current terminal issue $ sudo service gdm start
4. Expected result is new gnome session is running
5. And then shutdown/reboot the OS from the gnome session
    *) It forces the current configutation saved into ~/.config ~/.gnome ~/.gnome2
6. Expected result is after rebooting you are already be able to login and no more loop.

The solution above does not required to delete any files. Happy solving ^^