La Boina Roja

The struggles off a future RHCE….


2 Comments

How to fix Parole’s “Gstreamer backend error” in Fedora 20

I wrote this how to after receiving comments from Rudolf and Pavlo on my earlier how to regarding this issue.

If you get this screen:

updategstreamererror

All you have to do is fire up Terminal and type:

parole --xv false

updategstreamererror2

There might not be much screen activity after you have typed this command, but trust me Parole will work now  photo nodding.gif

When typing the command above,  it is very important that you are NOT logged in as root!!!! If you are, you will get this error message:

updategstreamererror3

If this how to doesn’t work, check this one!

(Remember, you can always do the cliccie for a larger piccie  photo puh2.gif)

Advertisements


Leave a comment

Recommendation: Introduction to Linux (LFS101x)

lfs101x

While I have been quite happy with sites like Coursera, Udacity, Codecademy, edX etc. etc. Sites where you can study Computer Sciences, among st one of the many subjects, online for free. I always wondered why Linux was the great missing factor on all these sites. Well that has changed  photo cheerlie.gif

I am happy to announce that edX will start a free online Linux introductory course  photo worshippy.gif It will start in the 3rd quarter of 2014. You can sign up here.

I would love to hear from people who followed this course  photo thumbsup.gif


Leave a comment

How to get Java working in Fedora 20

Suppose you want to play Minecraft, in order to do that you need to have Java installed. You don’t have to worry about versions since Java is backwards compatible, meaning the latest version of Java is capable of running software that was built in an earlier version. In this “how to” we are going to install OpenJDK which is basically a free and open source variant of Java  photo nodding.gif

Fire up Terminal and log in as root:

su

Then type:

yum install -y java-1.7.0-openjdk

java1

Mind you  photo piidea.gif if you need Java to be working in your browser too, you need to install the IcedTea plug in. You install this by typing the following command in Terminal (make sure that your are logged in as root!):

yum install -y icedtea-web

java2

To check if Java installation was succesful, go this site. You will see this screen:

javacheck1

Press on the “Verify Java version” button.

A yellow pop-up screen will appear asking for your permission to run.

javacheck2

I choose to press on the “Run this time” button  photo puh2.gif After you pressed on either button, some stuffies will go on on your screen, if Java is sucessfuly installed you will see this screen:

javacheck3

And you are done  photo thumbsup.gif

(Remember, you can always do the cliccie for a larger piccie photo puh2.gif)


Leave a comment

How to make typing along with Python tutorials easier.

A lot of youtube vids use IDLE in their tutorial, there is absolutely nothing wrong with that. In matter of fact, it makes typing along easier if you use IDLE too, but situations like in the picture below piss me off photo piangry.gif!

typealong1

I prefer this  photo shiny.gif it saves me the hassle of changing screens.

typealong2

So what happened in the second picture? Well, I used Python’s built in interpreter which you can open by simply typing python in the terminal. Look:

typingalong3

And I made the terminal’s background color transparent by changing it’s transparency. You do this by

Edit > Preferences

typingalong4

The following screen will appear, select the tab Appearance, in this tab you can change the transparency settings.

typingalong5

If you are finished with the interpreter but have other stuff to do in terminal, all you have to do is press CTRL d and the interpreter will close and you can do whatever you need to do in terminal.

typingalong6

(Yes, another se7en  photo heart.gif!)

(Remember, you can always do the cliccie for larger piccie photo puh2.gif)


4 Comments

How to install screensavers in Fedora 20

Fedora 20, Xfce comes with no screensavers pre-installed  photo piangry.gif Just take a look.

Menu > Settings > Setting > Settings Manager

screensaver1

If you click on Settings Manager, this screen will open.

screensaver2

If you click on Screensaver, you’ll get this an empty screen to pick your screensaver from  photo pigrin.gif

screensaver3

Well ain’t that just prime  photo emo.gif

Let’s fix this!

Fire up terminal and type:

su

After you have typed your password, type either one off the commands below:

This command for the earlier Fedora versions until 21:

yum install xscreensaver-base xscreensaver-extras xscreensaver-extras-base xscreensaver-gl-base xscreensaver-gl-extras

This command for the Fedora versions from 22:

dnf install xscreensaver-base xscreensaver-extras xscreensaver-extras-base xscreensaver-gl-base xscreensaver-gl-extras

After a while you will be asked if you want to continue, press

y

And you are done!

If you open the screen now, you will see this.

screensaver4

While I am not a fan of the Matrix movies, I do like this screensaver. It just makes me feel more geeky photo heart.gif!

I found the code for installing the screensavers here.

(Remember, you can always do the cliccie for a larger piccie  photo puh2.gif)


2 Comments

How to stop Fedora 20 from being slow, freezing and giving black screens.

Last Saturday, I bought a new netbook and tried to install Fedora 20 on it. It was quite an interesting experience, if I had to describe it in two words, I would call the entire experience pure horror. I installed Fedora quite some times, I stopped counting after the 5th install  photo shutup.gif

I fucked up the couple of first installations by using an usb stick which I previously used to install Lubuntu and I didn’t see any harm in NOT wiping the usb stick clean first  photo emo.gif I just  re-used it with Fedora usb creator. I am not going to bore you with the details, but let’s just say I have learned that when creating a bootable usb stick, I should wipe it clean first photo bloos.gif

When I finally managed to install Fedora 20, I noticed it was slow, it would freeze especially during multi tasking, and eventually I would get a black screen that would last 20 seconds. The culprit being my Radeon HD 8280 videocard  photo piangry.gif

I managed to solve the problem, and of course I am sharing my solution with you  photo picool.gif

The usual screenshots are missing, I didn’t dare to take them while solving the problem. I was too afraid my system would freeze. Before you do this “how to” make sure your system is updated! (You do this by typing “yum update” in terminal).

Here we go:

Go to this site and download the drivers.

amdcatalyst
(Yes, I know you can use the “wget” command instead. But when I used it, I couldn’t see when the file was finished downloading and therefore couldn’t unzip the file because it probably wasn’t finished downloading.)

After the file has finished downloading move it to your home directory (in my case it was /home/roja/) so it looks like this.

amdzip

Why you ask? Well it is just to make your life easier, as from now on you only have to copy and paste the following commands  photo nodding.gif

Fire up terminal. Log in as root, you do this by typing:

su

After you have typed your password, type:

unzip amd-catalyst-13.12-linux-x86.x86_64.zip

Then type this:

chmod a+x amd-catalyst-13.12-linux-x86.x86_64.run

Now type this:

yum install gcc binutils make kernel-devel kernel-headers

When this process is finished type:

./amd-catalyst-13.12-linux-x86.x86_64.run

The drivers will be installed, at some point an installation wizard will appear, you can click on “agree”. When asked choose “automatic installation”.

When the installation was finished I got an error report, I chose to ignore it  photo clown.gif Then a window popped saying I had to reboot, which I did. After the reboot, Fedora was fast as lightening and the black screens were gone  photo cheerlie.gif

(Remember, you can always do the cliccie for a larger piccie  photo puh2.gif)


Leave a comment

How to fix the “The SONY database is corrupted.” error in Linux

I would like to point out that when I got and fixed this error I was drunk  photo emo.gif (Yeah I know, you can go fuck yourself now  photo talktothehand.gif) So the usual screen shots are missing.

The other thing I would like to point out, is this “How to” doesn’t cover a fix for the SD card, since I don’t have one.

Let’s get started  photo loveit.gif

If you get this error in Calibre:

The SONY database is corrupted. Delete the file /Volumes/READER/Sony_Reader/database/books.db on your reader and then disconnect reconnect it. If you are using an SD card, you should delete the file on the card as well. Note that deleting this file will cause your reader to forget any notes/highlights, etc.

Chances are that all files on your Reader are “locked” meaning they are read only. If you go to your file manager all the files on your Reader will have a little lock down on the right side of them and it will look like this:

locked file

I would like to point out, that in case of the error ALL the files will have this little lock! I just added one little lock for the sake of this “How to”!

In order to remove “books.db“, you need to get writing rights on the files on your  Reader. You do that by typing this in your Terminal:

sudo mount -o remount,rw /media/READER

After you have typed your password, there will be no screen activity in your Terminal, but if you go to your file manager you will see that all the files on your  Reader are unlocked.

Now you can remove “books.db“:

booksdb

After removal of said file, you now can use Calibre without restarting and without reconnecting your Reader  photo thumbsup.gif

(Remember, you can always do the cliccie for a larger piccie).

P.S.:

I can’ t help but wonder if just typing the terminal command (without removing the file) would have been sufficient  photo clown.gif but then again I was drunk. So I guess I’ll never know  photo schater.gif

Edit 15/12/2013:

I just realised, that by using this method I did not loose my notes and pictures, I only “lost” related to my book library  photo thumbsup.gif