Monday, October 29, 2012

How to remove wine entries from context menu

After you install wine, it puts itself as an option in the context menu (right click menu) for certain file types. In the very most cases I personally don't want to open a text file or an html file using wine (I generally need wine to open a few .exe files like a forex terminal, and nothing more).

Here is how to quickly remove wine entries from the context menu on Linux:

Go to /home/yourUsername/.local/share/applications/

You'll see a number of wine-extension-***.desktop files - they are responsible for the fact that you see wine as an option for certain file types.
Delete / rename all / some of those wine .desktop files to stop seeing wine as a program to open files in the context menu.

Also, remove wine entries in the file:

Wednesday, October 17, 2012

How to change GDM cursor theme Gnome 3 Sabayon

If you change the cursor theme on your system (Advanced Settings Gnome 3), you find out the new theme is used when you're logged in, but the login screen on Gnome 3 still uses the default pointer theme. Well, it's quite typical for Sabayon, polish is not the aim of the distro, its advantages lay in other things, so Sabayon's KDE flavor has the same behavior (see this post).

I tried to resolve the issue with the cursor theme the same way I did for KDE (see the post from above), but it didn't work. So I had to resort to cheating. I installed the theme I wanted (DMZ, yeah, old good DMZ) and then:

How to change GDM cursor theme Gnome 3 (in case changing in system settings doesn't affect the theme at login):

gksu -> nemo -> /usr/share/cursors/xorg-x11/ -> rename the default Adwaita theme to something else -> rename the theme you want to be used as default to Adwaita.

It's a cheat, it's not the way things should work in a distro, but it gives me the expected result. Sad but true.

Tuesday, October 16, 2012

How to minimize all windows in Gnome 3

Thanks God it's possible to assign a shortcut to minimize all open application windows in Gnome 3.

Here is how:

System Settings ->  Keyboard -> Shortcuts -> Navigation.
Find "Hide all normal windows" and assign a key to minimize all the windows.

Things to do on OpenSuse 12.2 LXDE

1) Update the system as always :)

2) Add a keyboard layout switcher to the panel and support for another layout (if needed) as described here, for example.

3) Okay, it's handy to have numLock on at system start-up on LXDE. Below is
How to turn numlock on at system startup LXDE:

As a superuser edit the file /etc/lxdm/lxdm.conf
Find the line:


Uncomment it (remove the # sign) and change 0 to 1. Logout, login. Numlock should be on at system startup now.

4) Ok, I remember this bothered me about YaST since OpenSuse 11 - the package manager closes itself   after a package is installed. If you want to install another batch of packages after a 1st one, you need to relaunch the package manager. Here is how to prevent it from closing:

5) One bad thing about LXDE on OpenSuse 12.2 - on my system if I click "logout", nothing happens, the system hangs up. Hopefully, this will get fixed.

6) You need a screenshot app (would you believe print screen launches some Paint like app to save the snapshot? It does!). I installed Shutter (I'd prefer to have a simpler one, though).

7) Can you believe you have no archiving tool on Opensuse 12.2 LXDE? At least a GUI one? Well, at the very least there was no working one. Installed xarchiver from some repo (

8) LibreOffice failed to start, returning this error when launched from terminal:

[Java framework] Error in function createSettingsDocument (elements.cxx).
javaldx failed!

The solution is to change ownership to your user over the folder /home/username/.config:
su chown -vR username:users ~/.config

9) Installed MS fonts by using this package - fetchmsttfonts. It does what it says - fetches the fonts from a source outside the repos.

10) - this post explains how to set keyboard shortcuts on LXDE. I would like to have ctrl+alt+T back for terminal, and ctrl+escape for a system monitor app.

After installing the MS fonts, the system fonts got ugly. Yes, it's now typical OpenSuse. The fonts in QT apps look too small (e.g. skype).

The good thing about OpenSuse 12.2 LXDE is that it features a customized sound control app (which is not present on a vanilla LXDE install) which works with the multimedia keys on the keyboard out of the box.

Thursday, October 11, 2012

KDE theme gets too dark with desktop effects disabled

I am really happy about KDE's default theme - Air. It looks fine for me, and I don't want to change it.

I also never have desktop effects enabled on KDE (and on any DE) as I never need it. However, every time I disable the desktop effects on my KDE system, I notice that the Air theme gets too dark which is unpleasant, unaesthetic and simply makes the letters on, say, the Task Manager hardly discernible.

I really wanted to get the light grey color of the theme back. So I've notice the following manipulation usually helps get the theme back to being light-color:

System settings -> Desktop effects -> Advanced - then switch between the Compositing types and QT graphics systems until you notice your Air theme stops being dark and gets light-grey.

The behavior of those settings is a bit unpredictable for me, as various options have brought in the same result (right now I use OpenGL / Native, and I have the light theme, but I remember I've used other options in the Advanced tab on my other KDE installations before to get the theme light). Anyway, the good thing is that switching between those options does work.

Sabayon Linux - to choose or not to choose

Sabayon Linux is one of my favorite Linux distros. It is based on Gentoo, but this fact is of little importance for me personally.

I decided to make a summary of why I like Sabayon, and what I dislike about it, or in other words, to list  what are the pros and cons of Sabayon Linux for me. This is just a subjective opinion.

Sabayon: To choose or not to choose:

• Rolling release. Rolls stably.
• Multimedia codecs installed out of the box
• Proprietary graphics drivers installed out of the box
• Latest software, latest DEs versions
• GUI package manager, powerful command line package management utility
• Restricted software available in the repo (Flash, Oracle Java, proprietory Virtualbox, Opera), no unnecessary philosophy
• Large repository
• Relatively light on resources, not bloated,  fast and responsive
• Binary distro - apps are quickly installed
• Source-based distro - compile if you like
• Uses the Anaconda installer, easy to deploy
• Generally, sufficiently user-friendly
• Little customisation, vanilla DEs
• Rather poor artwork
• Lack of polish
(it’s your duty to make sure GTK apps look acceptably on KDE, or that you use the same cursor theme both for welcome screen and after logged in; etc.)
• Corrupt packages in the repo on rare occasions
• Apps may behave not as expected or feature non-optimal default settings
(e.g., winFF won’t just work and convert videos, the user’s intervenience is needed to configure the app)
• Latest software, less testing, bugs may occur
(e.g. on Sabayon you’ll be one of the first to find out Clementine’s multimedia keys support is broken in a new version)
For me, the pros outweigh the cons. What really makes me addicted to Sabayon is that I have the latest software, easily, with no fuss, and little effort.

Probably, I need to try Arch, another prominent rolling distro, to be able to truly appreciate Sabayon. Something tells me, though, Arch would consume more time on system configuration while Sabayon doesn't, it just ships the latest software to you in a couple of clicks.