Monday, September 29, 2014

How to mount and unmount Samsung Galaxy Devices on Fedora 20

First of all you will need some packages. You can install using yum:

sudo yum install gcc-c++ fuse-devel libmtp libmtp-devel glib-devel glib2-devel file-devel

then download jmtps library

git clone https://github.com/kiorky/jmtpfs.git

and build it:

cd jmpts/
./configure
make
sudo make install

Now make edit the /etc/fuse.conf to allow other mount the device:
Change the line:

# user_allow_other

to

user_allow_other


Then make a directory to mount the device:

mkdir -p ~/My_Device

Now you can mount your device using the following command:

jmtpfs -o allow_other ~/My_Device

Now you can copy files from your PC to your device or backwards

When you finished, you have to unmount thee device using the command:

fusermount -u ~/My_Device

You can make two scripts with the command above.

echo -e "#/bin/bash\n# Author: Nikos Papakonstantinou <npapak@gmail.com>\nmkdir -p ~/My_Device\njmtpfs -o allow_other ~/My_Device" > imount | chmod +x imount

and

echo -e "#/bin/bash\n# Author: Nikos Papakonstantinou <npapak@gmail.com>\nfusermount -u ~/My_Device" > iumount | chmod +x iumount

source: https://ask.fedoraproject.org/en/question/9606/folder-opening-in-terminal-but-not-in-nautilus-file-manager/


Saturday, September 6, 2014

How to install Viber on Fedora 20

Viber is a proprietary cross-platform instant messaging voice-over-Internet Protocol software for smartphones developed by Viber Media. In addition to text messaging, users can exchange images, video and audio media messages. The client software is available for Mac OS, Android, BlackBerry OS, iOS, Series 40, Symbian, Bada, Windows Phone, and Microsoft Windows. A Linux version is available for Ubuntu 64-bit. Viber works on both 3G/4G and Wi-Fi networks. Viber has over 100 million monthly active users from its 280 million global registered users.
But there is not Linux version for Fedora 64-bit and thus I will tell you how to install Viber on Fedora 20.

First, download Linux version of Viber from here or by executing the command:


wget http://www.viber.com/dl/linux

Next execute the command:

ar p viber.deb viber.tar.gz | tar zx

Now there are two folders (usr and opt). Create a new folder by executing the command:

mkdir Viber

and move these two folders into the new folder by executing the commands:

mv usr/ Viber/
mv usr/ Viber/

Now move this folder to /opt:

sudo mv Viber/ /opt

and create a symboling link to executable file:

sudo ln -s /opt/Viber/opt/viber/Viber /usr/bin/Viber

and try Viber.

Viber &

Source: https://ask.fedoraproject.org/en/question/45112/viber-on-fedora/

Monday, November 25, 2013

How to install ATI Catalyst on Fedora 19 x86_64.

First of all I had to say that there is a catalyst driver in rpmfusion-nonfree-updates repository with name akmod-catalyst.x86_64 or kmod-catalyst.x86_64. Akomd-catalyst is preferred because there is not need to reinstall the drivers in every kernel update. But in the latest kernel versions these divers do not work properly.

Thus, I try to solve this problem, because fan was spinning in full speed and the graphics card's temperature was too high.

So, the  procedure is very simple.
First remove all the previous versions of drivers by executing the command:

sudo yum remove xorg-x11-drv-catalyst.x86_64 akmod-catalyst.x86_64

Then, we have to restore mesa-libGL libraries by executing the command:

sudo yum reinstall mesa-libGL*

We also have to install the 32-bit version of these libraries because the are needed for the new drivers, by executing the command:

sudo yum install mesa-libGL.i686 mesa-dri-drivers

Drivers also need some extra kernel packages. Install them with the command:

sudo yum install kernel-devel.x86_64 kernel-modules-extra.x86_64 kernel-tools.x86_64 kernel-tools-libs.x86_64 kernel-tools-libs-devel.x86_64

Now you have to download the proper drivers for your PC from here. I recommend you to download the beta drivers. They are more stable than stable versions.

Now navigate througth the folder and find the download file. Unzip it with the command:

unzip amd-catalyst-13.11-beta6-linux-x86.x86_64.zip (file name is an example, just press the first letters of the file and use Tab key for auto-complete the file name)

Give to the unzipped file execute permissions with the command:

chmod u+x amd-catalyst-13.11-beta6-linux-x86.x86_64.run

and now run the script with root permissions by executing the commnad:

sudo ./amd-catalyst-13.11-beta6-linux-x86.x86_64.run

Follow the guide and and typical installation, NOT custom.
After the finish of the wizard, if a window not popped up for asking restart, just restart your PC.

Now the drivers are installed properly.

P.S.: In case of kernel update, just re-install the drivers, or install a newer version of them.

UPDATE:

If you already have install the latest version of drivers and you have to re-install, you have first to uninstall them, and then re-install them.

So, use the command:

sudo ./amd-catalyst-13.11-beta6-linux-x86.x86_64.run --uninstall=force

to uninstall the drivers, restore mesa-libGL libraries by executing the command:

sudo yum reinstall mesa-libGL*

and then re-install the drivers as described before.


Monday, April 15, 2013

How to install Raspbian and Autostart XBMC in Raspeberry Pi

Some weeks before, I bought a Raspberry Pi to make it, a media center with XBMC. As a Fedoda Fan the first OS which i try to install was ARM Fedora Edition. It was easy to install it, but XBMC did not supported. The second OS which i tried to install was OpenELEC. OpenELEC was what I wanted, because XBMC stareted in boot and I could manage the OS through ssh, but there was a problem with official XBMC addons, which I couldn't install them neither from XMBC repository, nor from zip files.

Finally, I tried to install Raspbian and install XBMC in Rapsbian, and it was a successful try.

This is what I did to Install and set Rapsbian and XBMC.

First you have to download the latest version of Raspbian from here.

Second you need a n SD card (mine is 8GB) formated with a single FAT32 (MS-DOS or Windows formatted) partition.

Copy the installer files from this zip file onto the top level directory.

On a Raspberry Pi with an attached monitor and keyboard boot with the SD card to start the installer software. The partition and files on this card will be overwritten during the installation process.

Now you can configure your Rasbian before instillation start. Change the password of "pi" user if you want (default password is raspberry), enable ssh server or whatever you want to set. It is very important to expand the FS to whole SD card. Press finish, reboot and Rasbian is now installed to your Raspberry Pi.

Now use sudo apt-get update  to update repositories.

Now you have to update the firmware of Rapsberry. This is very easy. if you follow this guide.

Now you have to install XBMC. To install it follow the instructions below:

Open /etc/apt/sources.list.d/raspi.list :

sudo vi /etc/apt/sources.list.d/raspi.list

and put this line in the end:

deb http://archive.mene.za.net/raspbian wheezy contrib

and import the archive signing key:

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-key 5243CDED

Then update the package lists:

sudo apt-get update

You can then install it as you would with any other package, for example, with apt-get:

sudo apt-get install xbmc

The user which you're going to run XBMC as needs to be a member of the following groups:

audio video input dialout plugdev 

If the input group doesn't exist, you need to create it:

addgroup --system input

and setup some udev rules to grant it ownership of input devices (otherwise the keyboard won't work in XBMC), by placing the following in /etc/udev/rules.d/99-input.rules:

SUBSYSTEM=="input", GROUP="input", MODE="0660"

Running

To run XBMC, run:

xbmc-standalone 

from a VT (i.e. not under X). XBMC accesses the display directly and not via Xorg.

If you want XBMC to automatically start when the system boots, edit /etc/default/xbmc and change ENABLED to 1:

ENABLED=1

You also need to set the user which XBMC should run as (the xbmc user is not automatically created at the moment). Run:

sudo service xbmc start 

to test this.

Saturday, March 2, 2013

How to configure HP Printers/Scanners/Faxes in Linux

Yesterday, I tried to configure my new HP Printer/Scanner under Fedora 18.

My first attempt was from Fedora Settings, but the printer didn't work ever.

So I decided to make some search for drivers on the internet and I found this:

http://hplipopensource.com/hplip-web/install_wizard/index.html

With this link the installation became very easy.

You have to select the distribution which you use, the version you use, the type of HP device, and the proper model.

After this you will download an script file with name: hplip-X.X.X.run ( X.X.X is the version of the script file, mine was hplip-3.13.2.run)

Now you have to give execute permissions to this file:

chmod +x hplip-X.X.X.run

and now just run it:

./hplip-X.X.X.run

and follow the orders which described in the script. It may take some time because the script download and install all the required files from repositories. In the end of the script, a GUI window will open and you have to unplug and re-plug your device to be discovered from the wizard.

When you finish with the script and the wizard, your device will be available for use.

P.S.: For scanner owners, the script installs sane and xsane for your scanner. If you are familiar with terminal, you can use sane for scanning images. This link may help you. If you prefer the GUI to scan your images,  xsane may not work in your system, because there is a bug in nvidia closed drivers (maybe and in ati closed drivers). So i suggest you to use simple-scan under Fedora distros. You can find it in default repos with:

sudo yum install simple-scan

now run it:

simple-scan

and now scan an image!


Friday, February 15, 2013

How to install Steam on Fedora 18

Yesterday, Valve announced Steam for Linux. For Ubuntu users, its easier to install Steam because, they can download the client from here and just install it.
For Fedora User it is little bit harder. You can follow this tutorial to install Stem on your Fedora system.

Fist of all you had to download the repository:

$ wget http://spot.fedorapeople.org/steam/steam.repo

and place it with the other repositories:

$ sudo mv steam.repo /etc/yum.repos.d/

After you have to install Steam

$ sudo yum install steam

And the Steam now installed to your system. You can run it from terminal with command:

$ steam

or from GUI.


Thursday, February 7, 2013

Android Wifi Sync...

Όπως μπορείτε να δείτε και στο section About Me..., είμαι κι εγώ ένας απο αυτούς που αρνούνται να χρησιμοποιήσουν κάποιο άλλο λειτουργικό σύστημα, εκτός απο τα αγαπημένα μου Linux. Για τον λόγο αυτο λοιπόν, έπρεπε να βρω ένα τρόπο ώστε να μπορώ να κάνω synchronize το αγαπημένο Samsung Galaxy SIII, γιατι όσο περίεργο και αν σας φαίνεται, αν και το Android ειναι βασισμένο σε Linux, για εμπορικούς σκοπούς, ήταν αρκετα δύσκολο ως και αδύνατο να καταφέρει κανεις να κανει sync απο καιποιο Linux distro. Έτσι λοιπόν, ψάχνωντας και ρωτώντας, σαν νέος Android user, είδα οτι υπάρχουν καποια apps στο Google Play με τα οποία μπορείς να κάνεις ότι θέλεις synchronize χώρις φυσικα να έχεις κανει root το τηλέφωνο σου. Κατεβάζωντας λοιπόν πολλά απο αυτα τα apps και δοκιμάζοντάς τα, κατέληξα οτι το πιο λειτουργικό και εύκολο σε χρήση, καθώς και εμφανίσιμο είναι το AirDroid. Όπως θα δείτε στο video που ακολουθεί, η χρήση του είναι πάραπου απλή και μπορείτε να το χρησιμοποιήσετε από οποιοδήποτε λειτουργικό θέλετε εσείς χωρίς να χρειαστεί να εγκαταστήσετε drivers ή κάτι αλλο. Το μόνο που θα χρειαστείτε είναι να κατεβάσετε το app στο Android τηλέφωνο σας και απλα να κανετε click εδώ. Όλα τα άλλα είναι απλα μετά...