Ozgur's Blog

Random ramblings of personal nature

Manjaro Setup


I use Manjaro. There are many reasons but principally it comes with a lot of applications I use as its default. Like ubuntu and other debian derivatives it comes with office apps and python. But when you add yakuake, steam and other applications to the mix it becomes my go-to distro. I think I only install redshift and spotify post-install and post-update.

Personally I find its performance much faster than *buntu derivatives. But That's... my subjective opinion.

Machine Setup

Desktop - Fixing Random Freezes

Original Post

Find the Power Supply Idle Control in the BIOS settings and change it from auto to Typical Current Idle

Desktop - Nvidia Tearing Problem

My desktop, a Ryzen 1600X using Asus a320m-k mobo & Nvidia gpu works out of the box - mostly. After installing proprietary drivers the screen tearing becomes a problem. To fix this, we need to turn on `force full composition pipeline':

First we run nvidia-settings as a superuser, because we will need to change our conf file:

sudo nvidia-settings

Then in this screen we'll find X Server Display Configuration and turn on force full composition pipeline and hit apply.


Then we need to click Save to X Configuration file and save our file to:


rt2800usb Speed Fix

Well, I use a Dark RangeMAX wi-fi usb dongle to connect to the internet. But it runs in half speed unless you don't enter this command:

echo "options rt2800usb nohwcrypt=y" | sudo tee /etc/modprobe.d/rt2800usb.conf

This will make mac80211 to take care of the crypto with software encryption/decryption

If rt2800usb is loaded with nohwcrypt=1, mac80211 takes care of the crypto with software encryption/decryption and thus, MFP can be used.

Source: https://patchwork.kernel.org/patch/8886411/

OR to make it effective immediately without any reboot

echo "options rt2800usb nohwcrypt=y" | sudo tee /etc/modprobe.d/rt2800usb.conf 
sudo modprobe -rfv rt2800usb 
sudo modprobe -v rt2800usb

Laptop - 3k Resolution woes in a 13' screen and Bumblebee

The laptop I use is a Clevo W230ST. I find its resolution too high, because I can't read a single thing without squinting my eyes.

Resolution fix

The desktop resolution is easy to fix. We run Displays and change our resolution to a much comfy 1920x1080. But that doesn't change our SDDM (The first login screen we encounter post boot). To change its resolution we create 50-monitor.conf in the


folder and fill in with these values:

Section "Monitor"
    Identifier   "eDP1"
    Option "Enable" "true"
    Option "PreferredMode" "1920x1080"

After we reboot we'll encounter the SDDM with the specified resolution.


This doesn't happen due to UEFI boot but in case someone is having problem regarding the OS selection screen is too slow to render, due to its size (because it tries to draw it in 3000xsomething resolution) here is the fix.

Open /etc/default/grub with your text editor of choice sudo-ed and find this value and change it from auto to:


Bumblebee and Steam

After we install bumblebee from following these steps we find that

optirun steam

first gives us our user not being in the bumblebee group. That's easy to fix:

sudo gpasswd -a <username> bumblebee

Then after we reboot and try to run Steam with our NVIDIA card it will complain about not being able to find a .so file.

There are two approaches to "solve" this problem. The first is, not running Steam with our Nvidia but our games only which is done via right clicking on the game, getting to its properties and in its command run selection we write

primusrun %command%


We can run steam via

optirun -b primus steam

To make it run from Nvidia card. I think the first approach is more sensible.

Basic System Operations

Updating system with Pacman

To update our package repositories and our system we use -Syu switch. I remember it by saying "Seeyou" :)

sudo pacman -Syu

Installing Stuff via Pacman

To install a software with pacman we use -S switch and enter its name. If we want to perform a search in the repositories we use -Ss switch:

sudo pacman -Ss neovim  # search for neovim in the repositories
sudo pacman -S neovim  # install neovim

Removing Stuff from our System

To remove a software and its related packages if they aren't used by anything else we use -Rns switch:

sudo pacman -Rns neovim

Using AUR - Arch User Repository

Arch, and by extension Manjaro, has access to software not only in its official repository but also listed in AUR - Arch User Repository. This repository contains software maintained by other users which can be built and installed to your system via makepkg. For example, even though Dropbox has official clients for deb and rpm, it doesn't publish an arch build. That's done via AUR.

We first go to dropbox's AUR page and download a snapshot. Usually it is a good idea to read the comments and check whether the package is out of date as of the time you are trying to download. Out of date packages usually work but that's not a guaranteed thing.

Anyway, snapshot is a tar.gz file, to extract it we use gunzip and tar:

gunzip dropbox.tar.gz
tar -xvf dropbox.tar

Then we cd to dropbox folder and use

makepkg -Acs

This command will download any missing packages to build&run our software and build a package which pacman will understand. After it finishes building it we install it via:

pacman -U dropbox-...-.xz