La Boina Roja

Linux, the struggles are real!


Leave a comment

Save Hong Kong!

savehongkong1

savehongkong2

Hong Kong is a safe place, protected by the law. People are demonstrating because the government tries to pass a law of China extradition. Which means you can get arrested in Hong Kong by China even if you’ve never physically stepped foot in China.

China recently sentenced someone 10-year jail just because she (“Lady Tianyi”) uploaded some homosexual comics, not to mention thousands of mysteriously disappearing persons who’ve said things the Chinese government disliked.

HK was a former British colony till 1997 which have been exercising rule of law and partial democracy, as opposed to China which is an authoritarian state with their own set of laws. Sadly, our law can be amended and the Chinese have the authority to interpret the law if there is any disputes.

What you, as foreigners can do, is to remember today’s as a historical fact because this might get erased in our future textbooks. Know the difference between HK and China and why HK is special. Many of us are considering immigrating and if we do move into your country I hope you’ll understand our situations. I’m sure we don’t want any trouble with the locals as well. Lastly, stay safe when you travel to HK if this bill does get pass.

Text above is not written by me but by  redditor /u/expressexpress The line I put in bold, triggered me to create this post. The pictures are taken today in Hong Kong, you can click on a picture for a larger version.

To add some perspective Hong Kong has a population of 7.4 million people, more then 1 million people are protesting. This is huge…..Unfortunately we all know how this is going to end. The drawing below is a pretty good representation of how the protest will end. Even though I dearly hope it will not be the case.

 

tank2


Leave a comment

How to get the HP OfficeJet 3833 to work on Fedora

A short and quick tutorial, just for me. You don’t like it? Feel free to FUCK OFF

sudo dnf -y install hplip-gui-3.18.12-9.fc29.x86_64

Before setting up the printer through “HPLIP Graphical Tools” make sure the printer and laptop are connected with a “USB AB cable” 🙄 I cannot use the printer over wireless, cable will have to do. Which btw, is perfectly fine for me.

Scanner has to be set up outside “HPLIP Graphical Tools” .

Simple Scan is the way to go (Xsane looks and behaves like shit 😡 )

su
dnf install simple-scan

The printer’s user manual can be found here.


Leave a comment

Me giving tech support through WhatsApp

I never tell people that “I am good with computers” ❗
What also helps it is not expected from me. But, sometimes, I can’t avoid it.
This is a vid I made for a friend who sent me a text asking for help. She was ready with popcorn to watch some awful romcom, but the vid wouldn’t play and she didn’t know what to do.

In the vid you can see how I help her out, it is in Dutch btw 😎


Leave a comment

How to install IDLE 3 in Fedora

Today was on odd day, I got two requests. One was if I was willing to sell my used panties o_O the other was if I can make a tutorial on how to install IDLE 3. In case you wonder 😕 these 2 requests came from two different people. I declined the request to sell my used panties but decided to grant the request regarding IDLE 3.

Fedora these days comes with Python 2 AND Python 3 preinstalled.  You can check it for yourself.

To see if you if Python 2 is installed, fire up terminal and type:

python

Python 2 will open, as you can see below:

python2

To exit Python 2 type:

ctrl+d

To check if you have Python 3 type:

python3

python3

You exit Python 3 the same way as Python 2.

For Python 2 you need IDLE, for Python 3 you need IDLE 3. Yep, seperate IDLEs for different Pythons 🐱 If you want to install IDLE read this post. For IDLE 3 follow instructions below.

To install IDLE 3 open terminal and type:

su

When asked type your password. Then:

dnf install python3-tools

intallidle3

After IDLE 3 is installed, to open it you need open terminal and type:

idle3

openingidle3Notice how you don’t have to be root to open IDLE 3?

****WARNING!****

Don’t close terminal while having IDLE3 open, if you do so it will close IDLE3 too!

Remember, you can always do the cliccie for a larger piccie 😛


Leave a comment

How to enter BIOS or the boot menu on a Dell

Right now I own 2 Dell laptops, yes I am quite the Dell fan ❤ It is very easy to buy the business line second hand. Those laptops are often still in a very good condition. And I love how easy Linux runs on a Dell, can't say that for other brands I owned :/

I right now own these two models:

  • Dell E5250 (bought new a couple of years ago, download user manual here)
  • Dell E7250 (bought second hand last week, download user manual here)

Yes I love 12’5 inches 😎

To enter the BIOS press (I think you need to be “On Legacy” for this to work).

F2

To enter the boot menu, which also gives you access to BIOS hit

F12

You should hit either of these buttons during start up the moment you see the Dell logo. For the love of God, don’t wait for the computer to be fully started up 🙄

****WARNING****

BIOS is NOT the place to clown around. Don’t go there unless you really HAVE to. Fucking around in BIOS (you know like modding it 😳 ) is THE way to turn your laptop in a useless brick!

I am not going deeper into the UEFI and BIOS thingy, that is not the aim off this blog. Basically UEFI is the hot new BIOS but everyone still calls it BIOS 😎 You can read a thing or two about it regarding Fedora here. Since you guys love to download the PDF’s I upload, here is PDF version of the site I am referring to.


Leave a comment

How to play vids on Reddit, Facebook, Twitter etc. etc.

If you can wonder why you can play vids on youtube, but need to  do additional shit to play vids on sites like Reddit, Facebook, Twitter etc. I will basically give you two words HTML5 and h264, don’t bother asking me anything about those subjects  o_O

I had to Google like crazy to find the solution, hence I am creating a post. Credit goes to gman1  ⭐  he shared his solution on here. I was drunk (yeah I know 🙄  go fuck yourself now) when I fixed the problem. So the usual screenshots, are missing 💡

What you basically have to do is, fire up terminal paste the following code and follow the instructions on your screen.

su

When asked type your password. Then type the following commands:

dnf install https://download1.rpmfusion.org/{free/fedora/rpmfusion-free,nonfree/fedora/rpmfusion-nonfree}-release-$(rpm -E %fedora).noarch.rpm
dnf install ffmpeg-libs compat-ffmpeg28
dnf install gstreamer1-libav gstreamer1-plugins-ugly


Leave a comment

How to change permissions on an external drive

Yes I am back again, and yes this how-to sucks major ass. But fuck it, I wrote it for ME not for you  photo fpuh.gif It took me way too fucking long to figure out, how to change the permissions on my new external 1TB hard drive  photo piangry.gif  After formatting and mounting it, the fuckface turned out to be read only. I formatted the drive to ext4, yes I love pain in the ass, how did you guess  photo emo.gif Anyways, here we go:

First find out what the new drive is called, we do this by typing:

 sudo fdisk -l

When asked, type your password.

finddriveIn my case the external hard drive is /dev/sdb1, then you need to find /dev/sdb1‘s mountpoint.

Type:

lsblk

mount

Now we know /dev/sdb1‘s mountpoint, we can type

sudo chown -R username:username /path/to/mounted/drive

Which in my specific case would look like:

sudo chown -R roja:roja /run/media/roja/6e197c29-4c0a-4172-a802-fe3068801a89/

Don’t worry peepz  photo emo.gif I used tab completion.

writing

After you typed your password, there will be no screen activity. But trust me, you can write + x to your external hard drive now  photo honger.gif

(The last command will change the owner and group of all the files on the drive, so be aware. I was so pissed in figuring this out, I didn’t give a fuck  photo emo.gif Also you can always do the cliccie for a larger piccie  photo puh2.gif)


Leave a comment

Inserting “stuff” in vi files

Yeah, I know a very professional title, it is also very clear  photo emo.gif Look, I just wrote it on here to be sure I won’t lose it. Also, it might be useful to someone else.

:r newfile.txt

Reads in newfile.txt in the current file, you can use TAB completion

:r!date

Puts the date in a file; ! reads the output of a command

:5, 22s /^/  /

Adds to two spaces before line 5 until 22, there two spaces in between the last two /.

Please, don’t ask questions about this, I don’t know what I am doing  photo shutup.gif


Leave a comment

How to create a .vimrc file and a .vim directory

As you might now Vim is highly configurable, Vim is configured through it’s configuration file called .vimrc. The thing with this file is, it doesn’t come pre-installed, you have to create it yourself, preferably in you r home directory. Want to know what/where your home directory is?

Type

echo $HOME

echohome

You might have noticed the .vimrc file starts with a dot, meaning it is a hidden file. If you type

ls -a

It will show you all the hidden files and directories, as you can see I don’t have a .vimrc file yet.

ls-a

Let’s create a .vimrc file

touch ~/.vimrc

This command will ensure that I will create a .vimrc in my home directory no matter which directory I am currently in. There might not be any screen activity going on while creating the .vimrc file, but trust me it is created.

touchvimrc

If you want to mess around with Vim color schemes then you need to have .vim directory in your home directory. Just like the .vimrc file, the .vim directory is hidden and you need create it yourself again preferably in your home directory

mkdir ~/.vim

This command ensures that the directory will be created in the home directory regardless of what directory you are in.

mkdirvim

Now the output of ls -a looks like this:

lsavim

As you can see both the .vimrc file and .vim directory have been created.

*****WARNING****

I know there is a vimrc file in /etcetcvimrc

DON’T.MESS.IN.THERE.YOU.WILL.BE.FUCKED  photo frusty.gif  photo frusty.gif  photo frusty.gif

If you insist on seeing the contents of that file type

cat /etc/vimrc

(Remember, you can always do the cliccie for a larger piccie  photo puh2.gif Disclaimer: For the sake of this tutorial I used Konsole normally I am a tty person only these days.)