Category Archives: Linux

Visual Studio Code – Linux mouse middle click

If you want to use your mouse’s middle click to paste under Linux with Visual Studio Code, you need to add the property editor.selectionClipboard in your user’s settings.

Mine looks like this :

{
    "editor.selectionClipboard" : true,
    "files.trimTrailingWhitespace": true,
    "explorer.workingFiles.maxVisible": 15
}

How to disable baloo in latest KDE (and Kubuntu 14.04)

[ Update 2014-04-20 ]
More stuff to get rid of.
And please vote : https://bugs.kde.org/show_bug.cgi?id=331932

I’m not using any semantic desktop and don’t really care about all the search and indexing stuff. Some may find it useful but I don’t.
There is no real way to remove baloo in latest KDE (what you get if you install  Kubuntu 14.04).

So here is how you can get rid of it (from a shell) :

$> sudo mv /usr/bin/baloo_file /usr/bin/baloo_file.orig
$> sudo ln -s /bin/true /usr/bin/baloo_file
$> sudo mv /usr/bin/baloo_file_cleaner /usr/bin/baloo_file_cleaner.orig
$> sudo ln -s /bin/true /usr/bin/baloo_file_cleaner
$> sudo mv /usr/bin/baloo_file_extractor /usr/bin/baloo_file_extractor.orig
$> sudo ln -s /bin/true /usr/bin/baloo_file_extractor
$> echo ‘Indexing-Enabled=false’ >> $HOME/.kde/share/config/baloofilerc
$> ps ax | grep baloo
$> kill all_pid_you_get_above

Relogin and check to be sure.

To clean up baloo cache folder:

$> rm -r $HOME/.local/share/baloo/

Optimus + Linux == Video below

I have a Dell XPS 15 Touch running Kubuntu 13.10 64 bits (and windows 8.1 but it is useless as OS).
The machine is awesome: new i7, 16gb of ram and full SSD. This thing is flying!

But I also have a dual video card: a system with an Intel and nvidia card side by side called optimus.
Nvidia choose to NOT support this on Linux.

So as Linus below (check the video, it’s worth it) :

Nvidia Fuck You!