2014-02-13

Running Skype 2.2 on Linux Mint 16




It works for 32bit and 64bit Mint 16 (I tested on Mate)
I use skype-ubuntu_2.2.0.35-1_i386.deb

if you try to start skype from teraminal, this is what you will see

$ skype
Segmentation fault


To fix this, download

libglib2.0-0_2.34.1-1ubuntu1_i386.deb

 from

http://packages.ubuntu.com/search?keywords=libglib2.0-0

quantal-updates (libs): GLib library of C routines
2.34.1-1ubuntu1: i386

extract deb file (you can do it whit the graphical archive extractor)

 and then start skype with prealoded lib like this:

$ Exec=env LD_PRELOAD=/home/{user}/Downloads/libglib2.0-0_2.34.1-1ubuntu1_i386/usr/lib/i386-linux-gnu/libgobject-2.0.so.0.3400.1 /usr/bin/skype

Test your skype, type in:

 (mushroom)

You should not see text! :) Like me! :)




Usefull link:
https://bbs.archlinux.org/viewtopic.php?id=154571&p=2

Mint 16 currently use "2.38.1" version of GLib C routines.
I tried preload newer version  "2.39.4", with the hope that they fix it,
 bus sadly they don't and the outcome was the same.   



Sharing file edit ability between two users in Linux

I create two Desktop users, “beggar” and “mr” using graphical tool “Users and Groups”.

By default every user have its own group with the same name, and some other groups.
You can check it with command

$id {userName}

$ id mr
uid=1001(mr) gid=1001(mr) groups=1001(mr)mr

$ id beggar
uid=1000(beggar) gid=1000(beggar) groups=1000(beggar),4(adm),24(cdrom),27(sudo),30(dip),46(plugdev),112(lpadmin),
119(sambashare)

By default when user creates new file, file permission is:
 read/write for owner and read only for group and others.
We have to change it to:
 read/write for owner and group and readonly for others.
Then users in the same group can edit files.

There is two configuration files.
Applies for files created by command line   ~/.bashrc
Applies for files created by X applications   ~/.profile
Add this line

umask 002

at the end of the file or create these files if they not exists. Do it for both users.

Permission Table:
Umask  Created Files   Created Directories
-------------------------------------------------------------
000  666 (rw-rw-rw-)     777  (rwxrwxrwx)
002  664 (rw-rw-r--)  775  (rwxrwxr-x)
022  644 (rw-r--r--)         755  (rwxr-xr-x)
027  640 (rw-r-----)         750  (rwxr-x---)
077  600 (rw-------)          700  (rwx------)
277  400 (r--------)            500  (r-x------)
-------------------------------------------------------------


I will use command usermod to add user to a group with these options:

-G, --groups GROUPS           new list of supplementary GROUPS
  -a, --append                  append the user to the supplemental GROUPS
                                mentioned by the -G option without removing
                                him/her from other groups

So, if I want to allow user “beggar” edit files created by user “mr”, I need to add user “beggar” to group “mr”.

$usermod -a -G mr beggar

Now “beggar” can edit files created by “mr”
And the opposite,  if I want to allow user “mr” edit files created by user “beggar”,  I need to add user “mr” to group “beggar”

$usermod -a -G beggar mr

then “mr” can edit files created by “beggar”

Before you can test it, you have to LOGOUT and LOGIN!

From now on  “beggar” and  “mr” can edit each others files! :)
Happy ending!

2014-02-12

MINT 16 XFCE Review

First of all very very good Desktop Environment. Great performance.
I liked a lot, everything what comes directly from XCFE.
And also new menu is great to!


If you use double click title bar to maximize window.
Unless you very fast clicker :) you may want to change default Double Click Time:

 


There is a trick with separator to manage panels properly.
If you want to keep some item in right corner you have to create transparent separator to take empty panel space, otherwise all items wil be arranged left.


Sadly XFCE don’t have some components for Desktop Environment, so you have to borrow from gnome

Login screen

Taken from gnome, looks like it works.

Users and Groups

Not exists, can do it in terminal or you can install “gnome-system-tools”, this way you can manage users graphically. It works OK, no issues and fits pretty good.

Screensaver - Lock screen - Switch user 


Aaa…
It looks like some embedded device not a PC.
I guess it’s some sort of funky workaround…
This part does not fit to the rest of the  MINT XFCE content.
You can install “gnome-screensaver” and remove “xscreensaver”, bud then you lose graphical settings of your screensaver. I was unable to find handle on that so by default screensaver starts after 10min if desktop is idle.
The issue is still unresolved and I already give up trying.
Now my target is MINT MATE 16.

One more remark

I did not understand what philosophy they use for new window location.
When you open new application or file browser window, it appears for example in bottom left corner, and it's not the last position where it was before.
So new applications windows jumping around the screen...
I'm not sure why and what this feature depend on...