Monday, November 17, 2014

Google Chrome or Chromium didn't shut down correctly on a system with Gnome Shell

On Ubuntu Gnome 14.10 and Sabayon with Gnome Shell I encountered the following situation when launching Google Chrome or Chromium after computer boot - the browsers would say:

"Google Chrome didn't shut down correctly"
"Chromium didn't shut down correctly"

and would offer to restore the previous tabs. Of course, the browsers had been shut down correctly before powering off the system.

Well, the cause of the error turned out to be simpler than I thought:








To stop getting the error uncheck "Continue running background apps when Chromim (Chrome) is closed".

In case you need to allow running background apps in the browsers, well, browse their respective bug-trackers for a relevant bug report and see if there are other solutions, workarounds, etc.

Sunday, September 7, 2014

Skype notifications pause Rhythmbox playback

When I run both Skype and Rhythmbox, Rhythmbox is paused every time a Skype notification arrives (on receiving a new incoming message, new file transfer request, incoming call,  etc.). I find it quite annoying.

There are at least 2 ways to resolve the problem I've come across:

1) turn off all Skype notifications - and Rhythmbox is never paused. However it's not a good solution at all :)

2) edit the default.pa file in /etc/pulse/

sudo gedit /etc/pulse/default.pa

find line:

load-module module-role-cork

and comment it:

# load-module module-role-cork

save file.

Log out. Login. Voila.

P.S. The OS used was Sabayon, I've also noticed the solution applies to Fedora as well.

Monday, May 19, 2014

How to install Ruby on Rails on Ubuntu 14.04 from repos

Learning Ruby on Rails programming and looking for how to install it on Ubuntu? You must have come across different tutorials showing how install RoR on Ubuntu using various ways and particularly through RVM.

However things are much easier. Ruby and RoR are available as packages in the repos.

Install Ruby on Ubuntu 14.04 - actually it comes preinstalled. To check your Ruby version type in terminal:

ruby -v

On my machine it's outputs: "ruby 1.9.3p484 (2013-11-22 revision 43786) [x86_64-linux]"

Install Ruby on Rails on Ubuntu:

sudo apt-get install ruby-railties-4.0 // this will install RoR 4.0

sudo apt-get install ruby-railties-3.2 // this will install an earlier version of RoR


Saturday, April 19, 2014

Skype mouse theme on Kubuntu 14.04 64 bit

After installing Skype on a 64 bit Kubuntu 14.04 system you notice Skype uses a different mouse theme, not the default one defined in KDE's system settings.

There was another post about what causes that, some things have changed, so here is an actual and short how to make Skype use the default mouse theme on Kubuntu 64 bit:

sudo apt-get install libxcursor1:i386

That's it.

Monday, January 13, 2014

How to change MDM cursor theme on Linux Mint KDE

After you install Linux Mint KDE which uses the MDM login screen by default, you may notice at the login screen the DMZ-White cursor theme is used. Here is how to make MDM use the cursor theme you want (in my case, I'd like it to use the Oxygen White cursor theme which is default in KDE and I like it most). Since the GUI way is easier for, here is what I did the GUI way:

kdesu dolphin

Go to

/etc/alternatives/

Find file / link

x-cursor-theme

Right click on it, edit the path in the link's Properties to point to your theme:

/usr/share/icons/oxy-white/cursor.theme

Go to

/usr/share/icons/oxy-white/

Create a file named cursor.theme

Open it and put the following:

[Icon Theme]
Inherits=oxy-white

Save. Logout. Voila.

Friday, January 3, 2014

How to change cursor theme for QT apps on Gnome Shell Opensuse 131

After you install Opensuse 13.1 Gnome Shell, you may notice the default cursor theme is Adwaita or DMZ-AA / DMZ Black, while QT apps use another theme - DMZ (white).

So, to make Skype, VLC (and all other QT apps) use the default Awaita theme (or the theme you want) on Opensuse Gnome, edit the following file and type the theme you want (in my case, I make all the apps use the black DMZ / Adwaita cursor theme):

# nano /etc/sysconfig/windowmanager
Find line

X_MOUSE_CURSOR="DMZ"

Change DMZ to DMZ-AA (or for the name of your theme of choice). Save changes.

Logout. Login. Now you see the cursor you want in Skype and other QT apps.