The default settings on Ubuntu did not work well with me. Here’s what I’ve did to configure according to my taste.
Create a file
/usr/share/X11/xorg.d directory . The configuration files in this directory are processed in alphabetical order. Therefore, prefixing the file with 52 ensures that the default settings in 50-synaptics.conf file are overruled.
# Tap is left click only, 2 finger click -> right button, 3 finger click -> middle button
Option "TapButton2" "0"
Option "ClickFinger2" "3"
Option "ClickFinger3" "2"
# enable horizontal two-finger scrolling (vertical is enabled by default)
Option "HorizTwoFingerScroll" "1"
# configure softbutton areas
# only enable the bottom right corner as right click. Disable middle click completely. Disable trackpoint right click on the top section.
Option "SoftButtonAreas" "80% 0 82% 0 0 0 0 0"
Option "SecondarySoftButtonAreas" "0 0 0 0 0 0 0 0"
You need to restart the display manager with the following command
sudo lightdm restart .
Additionally, the “disable touchpad while typing” option in the mouse settings didn’t work. To fix,
- Make sure the option “disable touchpad while typing” is unchecked. Otherwise touchpad might not work correctly.
- Add the following command to the startup applications.
syndaemon -i 1 -R -d -K
If you are coming from Windows background, you might have hard time adapting to how Firefox behaves under Linux. Basically Firefox does not go back to the previous page when the
backspace key is pressed.
After making a thorough search on the web, I came to the conclusion that this is indeed an intended behavior and have some philosophical roots. To make long short, the proponents of this behavior state that
backspace key is intended to be used when correcting a mistake. And since going back to a page is not result of an error but simply part of surfing the web it should “not” use
backspace for this.
Although I can appreciate the logic behind it, I’m against challenging well-established habits that have no practical implications just to be logically sound.
Here’s how to bend Firefox to respect your old habit.
about:config to the address bar.
- Start typing “browse” to locate the entry
- Double-click on the “value” column to change it
0 (it is set as
2 by default)
OpenSuse 13.1 ships with KDE 4.11 which was not working fine with me. I needed
openconnect for VPN access to my institution however, the openconnect NetworkManager plugin was not working properly.
As soon as I installed the plugin along with the openconnect base package, the NetworkManager widget started not showing any connections etc. Plus, I was not able to use the openconnect plugin anyway as it didn’t allow me to type in the VPN server I’d like to connect to.
When I tested openconnect from the terminal, it was working perfectly. Therefore I decided that the problem might be in KDE.
So I decided to upgrade the factory shipped KDE 4.11 to the latest version (4.13 as of now). Below are the instructions I’ve followed.
- Add repositories for KDE SC and Extras Packages. The following repositories are from OpenSuse and they point to the latest version of KDE available.
sudo zypper ar -f http://download.opensuse.org/repositories/KDE:/Current/openSUSE_13.1/ "KDE SC Packages"
sudo zypper ar -f http://download.opensuse.org/repositories/KDE:/Extra/KDE_Current_openSUSE_13.1/ "KDE Extras
- Update the system to use updates from the newly installed repositories. Using
--from limits zypper to use updates only from the specified repositories.
sudo zypper dup --from "KDE SC Packages"
sudo zypper dup --from "KDE Extras"
- Reboot the system to reflect all the changes made.
To install mysql as a service, run the following commands from the support-files directory in the installation. In my case
$ cp mysql.server /etc/init.d/mysql
$ chmod +x /etc/init.d/mysql
$ chkconfig --add mysql
$ systemctl enable mysql
Then, you can simply start mysql with the following command.
$ sudo /etc/init.d/mysql start
This is a list of changes I usually make after a fresh OpenSuse installation.
Changes in System
Install Oracle Java. Instructions are here.
Changes in KDE
Add Windows style keyboard shortcut
Meta + D to Show Desktop
Global Keyboard Shortcuts -> Kwin -> Show Desktop
Lock screen with
Meta + L
Global Keyboard Shortcuts -> The KDE Session Manager -> Lock Session
Disable Background Services
Configure Desktop – > Desktop Search -> Uncheck Enable Nepomuk Semantic Desktop
Software Management -> Uninstall Akonadi
Akonadi and Nemopuk consume a lot of resources and result in significant lags in the user interface even in top machines. I never experienced applications opening slowly after disabling these two services. Credit to here.
for /r %%a in (*.*) do (
MOVE "%%a" "c:\single\%%~nxa"
Adapted from http://stackoverflow.com/a/11721037 .