Category Archives: Tips and tricks

Changing IP to static on Fedora,CentOS and Oracle Linux

DHCP is great but there usually comes a time when you need to make sure that your IP stays always the same. This post outlines the steps you can take to setup a static IP on Fedora, Centos and Oracle Linux.

Before you begin do these two steps in terminal:

yum -y install net-tools

ip a

After ip a, you will see something like this:

2: eno1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
link/ether dc:4a:3e:43:dc:1c brd ff:ff:ff:ff:ff:ff
inet 9.1.1.11/24 brd 9.1.1.255 scope global dynamic eno1
valid_lft 68056sec preferred_lft 68056sec
inet6 fe80::593e:cf18:df4e:f815/64 scope link
valid_lft forever preferred_lft forever Continue reading

Run Gui application in a Docker

RunIT Browser was first introduced in PostX Gnu/Linux Debian base. Now, since Fedora base is coming there are dependency issues, which will inhibit RunIT functionality.

One way to run the browser is via Docker. With below commands you can easily run RunIT Browser in a docker container. Here I will be running a Debian Stretch based container. 

Continue reading

Essential terminal tricks you should know

Here are few of my favorite terminal tricks that might be useful to other users as well.

1. Your live media automatically logs you in but you need to set a custom DPI value, Press Control+ALT+F3 (usually also F4,F5,F6 will work) and open another instance of a virtual terminal. The actual number of terminals depends upon system settings. From another virtual terminal instance you can easily start a new session. This time around the automatic login should not happen since the live media already has reached this goal with the initial instance. This trick might not work with heavy window managers but with lightweight ones it should work just fine. Continue reading

Post updated. Small fonts and window frames: a problem of lightweight window managers

Original entry from 6th of March

Usually things go fine. You have your Openbox, Fluxbox, PekWM or Awesome  etc.  window manager running and everything scales up nicely. Sometimes you end up into a situation where you are not that lucky: window frames are too small and the desktop font is just too tiny Рand you cannot even read the text properly.

Luckily, the previous issues are easy to fix. Usually, the root cause of them is that you have a big display and your window manager does not know how to size things correctly by itself. Another reason might be that you have changed your wires. For example, I replaced a broken old HDMI wire with a newer one and the issues appeared. You should edit your .Xresources file to apply changes to Gtk and QT programs alike. If you are only using GTK apps it might be a bit easier to change your DPI value via .Xdefaults file. Continue reading