Tuesday, December 4, 2012

Run multiple Skypes under linux

In order to run several Skypes there should be a separate skype config folder in your home directory for each skype process.

$ mkdir ~/.Skype_1
$ skype --dbpath=~/.Skype_1 &

$ mkdir ~/.Skype_n
$ skype --dbpath=~/.Skype_n &

Tuesday, May 8, 2012

C++: First steps on Fedora

Install compiler, autoconf and automake tools:

$ sudo yum install gcc gcc-c++ autoconf automake

autoconf - a tool for producing configure scripts for building, installing and packaging software on computer systems where a Bourne shell is available [1];

automake - a programming tool that produces portable makefiles for use by the make program, used in compiling software [2];

GNU GCC C compiler (gcc)  - the package contains a GNU Compiler Collection;

GNU GCC C++ compiler (gcc-c++) - the package adds C++ support to the GNU Compiler Collection [3].

$ man g++

gcc - GNU project C and C++ compiler
When you invoke GCC, it normally does preprocessing, compilation, assembly and linking. The "overall options" allow you to stop this process at an intermediate stage.  For example, the -c option says not to run the linker.  Then the output consists of object files output by the assembler.

Friday, April 13, 2012

Configure FTP server on Fedora 16/17

This post is about the configuration of FTP server for the specified users.

$ sudo yum install vsftpd
$ sudo nano /etc/vsftpd/vsftpd.conf

ftpd_banner=Welcome to FTP server!!
max_per_ip=5 # Max number of allowed connections per IP Address.
max_clients=5 # Max number of different IP Addressed which are allowed to connect.

Wednesday, April 11, 2012

Install Lexmark Z600 printer driver on Fedora 16/17

$ sudo yum install glibc-2.* cups-libs-1.5.* compat-libstdc++-33.i686 popt.i686 cups-libs.i686

Download CJLZ600LE-CUPS-1.0-1.TAR.gz.

$ tar xvzf CJLZ600LE-CUPS-1.0-1.TAR.gz
$ export _POSIX2_VERSION=199209
$ tail -n +143 z600cups-1.0-1.gz.sh > install.tar.gz
$ tar -xvzf install.tar.gz
$ sudo rpm -ivh z600cups-1.0-1.i386.rpm z600llpddk-2.0-1.i386.rpm
$ sudo systemctl restart cups.service

 Add the printer using the Lexmark Z600 driver in System > Administration > Printing.

Source: http://heuristically.wordpress.com/2010/12/03/install-lexmark-x1150-printer-driver-fedora/

Install Skype on Fedora 16/17

$ sudo yum install alsa-lib.i686 fontconfig.i686 freetype.i686 glib2.i686 libSM.i686 libXScrnSaver.i686 libXi.i686 libXrandr.i686 libXrender.i686 libXv.i686 libstdc++.i686 pulseaudio-libs.i686 qt.i686 qt-x11.i686 zlib.i686

Download Skype for Fedora from here: http://www.skype.com/intl/en-us/get-skype/on-your-computer/linux/

$ sudo yum install skype-

Gedit configuration

Here is some useful configuration for gedit:

Open gedit and go to Edit > Preferences

View tab:
Display line numbers = true
Highlight current line = true
Highlight matching brackets = true

Editor tab:
Tab width = 4
Enable automatic indentation = true
Create a backup copy of files before saving = false

Sunday, February 12, 2012

How to make QDialogs movable in Gnome 3

$ su -c "yum install gconf-editor"

Press Alt+F2 and enter 'gconf-editor' to open it.

Desktop > Gnome > Shell > Windows (attach_modal_dialogs = false)

Type 'r' in Alt+F2 prompt to restart Gnome shell and see the changes.

In Fedora 17 there is no "shell > windows" configuration, so the alternative is:

$ gsettings set org.gnome.shell.overrides attach-modal-dialogs "false"

Saturday, February 11, 2012

Thursday, February 9, 2012

Fedora: Startup Applications Preferences

To configure desktop startup programs and save the current session run Startup Applications Preferences from terminal:

$ gnome-session-properties