Ivan Tomica

Category: Blog

Total 127 Posts

Modifiers only input sources

In Fedora Workstation (using Gnome 3) keyboard shortcut for changing input source defaults to using Super+Space key combination and Super+Shift+Space for switching it back. But what happens if you want to use your “modifiers” to change your keyboard layout?

“One of the main causes of the fall of the Roman Empire was that, lacking zero, they had no way to indicate successful termination of their C programs.” – Robert Firth

Swap file

First step is to create empty file (I’ll create 1GB one). You can do that by issuing one of the following commands (you’ll need to be root): fallocate -l 1G /swapfile or dd if=/dev/zero of=/swapfile bs=1M count=1024 After that change permissions on that file so nobody else can read it:

Continue Reading

Solarized tema za Chrome

Budući da sam fan palete boja “Solarized” odlučio sam si napraviti temu za Google Chrome u tom stilu. :-) Za preuzimanje i instalaciju teme kliknite ovdje. *Tema je izrađena pomoću stranice “Theme Beta“.

Dodavanje diska u LVM

Scenarij: Instalirali smo poslužitelj te je nakon nekog vremena ponestalo prostora na istom. Ne želimo ništa brisati već želimo proširiti disk, kako to možemo najlakše napraviti?