<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>linux on Moritz Halbritter's personal blog</title><link>https://www.mkammerer.de/tags/linux/</link><description>Recent content in linux on Moritz Halbritter's personal blog</description><generator>Hugo -- gohugo.io</generator><language>en-US</language><lastBuildDate>Thu, 13 Aug 2020 08:22:44 +0200</lastBuildDate><atom:link href="https://www.mkammerer.de/tags/linux/index.xml" rel="self" type="application/rss+xml"/><item><title>Big QT applications when running Mate on a hi-DPI display</title><link>https://www.mkammerer.de/blog/big-qt-applications-when-running-mate-on-a-hi-dpi-display/</link><pubDate>Thu, 13 Aug 2020 08:22:44 +0200</pubDate><guid>https://www.mkammerer.de/blog/big-qt-applications-when-running-mate-on-a-hi-dpi-display/</guid><description>I got a new laptop at work, a Lenovo P1gen2. It has a 4k internal display built in, which has caused nothing but immense pain on the crappy Linux graphics stack. Of course it has a built-in nvidia card, with all the driver nightmare that comes with that.
Anyway, I installed Fedora 32 Mate on it, and surprise surprise, everything was very tiny. Fortunately there&amp;rsquo;s a fix in Mate for that:</description></item><item><title>Using Gnome Keyring with git</title><link>https://www.mkammerer.de/blog/using-gnome-keyring-with-git/</link><pubDate>Mon, 10 Aug 2020 16:26:42 +0200</pubDate><guid>https://www.mkammerer.de/blog/using-gnome-keyring-with-git/</guid><description>if you&amp;rsquo;re using git on https:// hosted repositories, it will sometimes ask you for a password. If you are lazy and don&amp;rsquo;t want to type it every time, there&amp;rsquo;s a concept called credential storage.
I looked for a way to store the passwords which I type into git in the gnome keyring, because I don&amp;rsquo;t like it when they are stored in a plaintext file (which they are, if you use credential.</description></item><item><title>Go: gcc-5 not found</title><link>https://www.mkammerer.de/blog/go-gcc-5-not-found/</link><pubDate>Mon, 01 Jun 2020 09:40:38 +0200</pubDate><guid>https://www.mkammerer.de/blog/go-gcc-5-not-found/</guid><description>I stumbled over a strange error when using a CGO package (in my case it was go-sqlite3). When running
go get github.com/mattn/go-sqlite3 go failed with
exec: &amp;quot;gcc-5&amp;quot;: executable file not found in $PATH And that&amp;rsquo;s right, I have no gcc-5 command, no idea where go picks that up. I have gcc, though.
After some unsuccessful searching for that error, I decided to fix it the quick and dirty way with</description></item><item><title>Fedora 31, Nouveau and the laggy external screen</title><link>https://www.mkammerer.de/blog/fedora-31-nouveau-and-the-laggy-external-screen/</link><pubDate>Mon, 02 Dec 2019 09:10:09 +0100</pubDate><guid>https://www.mkammerer.de/blog/fedora-31-nouveau-and-the-laggy-external-screen/</guid><description>I just updated my system via dnf update, and after a reboot, my external screen was extremly laggy (like 1 second lag). After some debugging, trying the binary nvidia driver (couldn&amp;rsquo;t get the display to work after all), I investigated what dnf updated. Executed dnf history, searched for the update command, and executed dnf history info 57 (where 57 is the transaction id).
It showed an update of the X server, which I suspected caused the lag.</description></item><item><title>Broken Nvidia driver or: clean up old DKMS modules</title><link>https://www.mkammerer.de/blog/broken-nvidia-driver-or-clean-up-old-dkms-modules/</link><pubDate>Tue, 25 Dec 2018 14:58:45 +0100</pubDate><guid>https://www.mkammerer.de/blog/broken-nvidia-driver-or-clean-up-old-dkms-modules/</guid><description>On my laptop at work I ran into a strange issue with the binary nvidia driver. The Laptop has a mobile nvidia GPU and I use the driver from https://negativo17.org/. After a while, I suspect after multiple driver and kernel updates, the nvidia driver no longer loads and the system falls back to the Nouveau driver. At least my display works, but battery life is much worse. I went to investigate why the binary driver doesn&amp;rsquo;t work anymore and stumbled over DKMS.</description></item><item><title>Use ssh-agent in MATE</title><link>https://www.mkammerer.de/blog/use-ssh-agent-in-mate/</link><pubDate>Mon, 13 Aug 2018 11:04:39 +0200</pubDate><guid>https://www.mkammerer.de/blog/use-ssh-agent-in-mate/</guid><description>Update: As of Mate 1.20.3, shipped with Fedora 29, this is no longer necessary. When you use the key for the first time a prompt pops up, asking for the password.
I recently read an article about the password encryption of SSH keys, stating that the old SSH format is useless and insecure. The article explained an option how to use the new format, or just use ed25519 keys, as they use the new format by default.</description></item><item><title>Limit tor connections</title><link>https://www.mkammerer.de/blog/limit-tor-connections/</link><pubDate>Wed, 09 May 2018 17:46:54 +0200</pubDate><guid>https://www.mkammerer.de/blog/limit-tor-connections/</guid><description>When running a Tor relay behind a consumer-grade router (or a crappy piece of plastic like the routers provided by Vodafone), it can bring the router to a grinding halt. A tor relay connects to multiple other relays, sometimes with 1000 connections or more. Turns out that the NAT implementation in those routers isn&amp;rsquo;t that good.
I was looking for a way to limit the connections a Tor relay can open.</description></item><item><title>Enigmail failure when sending signed mails</title><link>https://www.mkammerer.de/blog/enigmail-failure-when-sending-signed-mails/</link><pubDate>Wed, 09 May 2018 17:38:48 +0200</pubDate><guid>https://www.mkammerer.de/blog/enigmail-failure-when-sending-signed-mails/</guid><description>I wanted to send a GPG signed email, using Thunderbird and Enigmail. When hitting the send button, nothing happend. After taking a look in the Enigmail log, I found this:
2018-01-16 14:52:43.481 [DEBUG] errorHandling.jsm: parseErrorOutputWith: return with c.errorMsg = gpg: Beglaubigung fehlgeschlagen: Inappropriate ioctl for device gpg: [stdin]: sign+encrypt failed: Inappropriate ioctl for device 2018-01-16 14:52:43.481 [DEBUG] execution.jsm: EnigmailExecution.fixExitCode: agentType: gpg exitCode: undefined statusFlags 0 2018-01-16 14:52:43.481 [DEBUG] encryption.jsm: encryptMessageEnd: command execution exit code: undefined 2018-01-16 14:52:44.</description></item><item><title>Lenovo Laptop keyboard backlight</title><link>https://www.mkammerer.de/blog/lenovo-laptop-keyboard-backlight/</link><pubDate>Tue, 08 May 2018 17:36:45 +0200</pubDate><guid>https://www.mkammerer.de/blog/lenovo-laptop-keyboard-backlight/</guid><description>After installing Mate, my keyboard backlight on my P50 and my X250 is always on the brightest setting after rebooting. Especially when working in a dark room, this is really unpleasant.
This fixes it:
gsettings set org.mate.power-manager kbd-brightness-on-ac 0 gsettings set org.mate.power-manager kbd-backlight-battery-reduce false I found it in this forum.</description></item><item><title>GTK Dark Theme and Firefox</title><link>https://www.mkammerer.de/blog/gtk-dark-theme-and-firefox/</link><pubDate>Tue, 08 May 2018 15:40:20 +0200</pubDate><guid>https://www.mkammerer.de/blog/gtk-dark-theme-and-firefox/</guid><description>I prefer dark themes on my GUIs. One great dark theme is the Arc-Dark theme.
Installing it on Fedora (dnf install arc-theme) was painless, as was activating it in Mate. Unfortunately, Firefox has some problems with that theme. If the website creator didn&amp;rsquo;t style his input boxes explicitly, Firefox choose some color from the GTK theme for the input box. It can happen that the website looks like crap or, even worse, you type gray text into a gray textbox.</description></item><item><title>KeepassX in GTK+ look on Mate</title><link>https://www.mkammerer.de/blog/keepassx-in-gtk-look-on-mate/</link><pubDate>Mon, 09 Apr 2018 18:09:19 +0200</pubDate><guid>https://www.mkammerer.de/blog/keepassx-in-gtk-look-on-mate/</guid><description>I&amp;rsquo;m currently testing the MATE desktop environment, and one of my most used applications is KeepassX. KeepassX is a QT4 application, and it looks like a Windows application when run on the MATE desktop. Apparentlty the default look and feel selection strategy of QT fails.
I studied the Qt article in the ArchWiki on how to set the style for QT applications. They recommend using the qtconfig-qt4, which isn&amp;rsquo;t available on Fedora 27.</description></item><item><title>Custom keyboard layouts in Gnome</title><link>https://www.mkammerer.de/blog/custom-keyboard-layouts-in-gnome/</link><pubDate>Sun, 03 Dec 2017 11:29:38 +0100</pubDate><guid>https://www.mkammerer.de/blog/custom-keyboard-layouts-in-gnome/</guid><description>To complete the custom keyboard layout story (see the Cinnamon and the XFCE post), here&amp;rsquo;s the guide for enabling custom keyboard layouts in Gnome 3:
If you just want to use the german umlauts with an US keyboard, XKB already includes a layout for that. Gnome 3 just doesn&amp;rsquo;t show it by default. To get Gnome 3 to show it, install the gnome-tweak-tool, navigate to &amp;ldquo;Keyboard &amp;amp; Mouse&amp;rdquo; and enable the first checkbox, &amp;ldquo;Show extended input sources&amp;rdquo;.</description></item><item><title>Custom keyboard layouts in Cinnamon</title><link>https://www.mkammerer.de/blog/custom-keyboard-layouts-in-cinnamon/</link><pubDate>Sun, 03 Dec 2017 10:22:26 +0100</pubDate><guid>https://www.mkammerer.de/blog/custom-keyboard-layouts-in-cinnamon/</guid><description>I&amp;rsquo;m using a US keyboard, but my native language is german. Sometimes I have to write the dreaded german umlauts (ö ü ä ß) and I don&amp;rsquo;t want to switch only for that to a german keyboard. Turns out that Linux is flexible enough so that you can remap some keys on the US layout to produce the umlauts.
Some other people on the internet also had these problems. This GitHub repository contains a keymap which maps the umlauts to [Right Alt Key] + [o, u, a, s] and some other cool combinations.</description></item><item><title>JavaFX on Fedora 27</title><link>https://www.mkammerer.de/blog/javafx-on-fedora-27/</link><pubDate>Fri, 17 Nov 2017 15:10:35 +0100</pubDate><guid>https://www.mkammerer.de/blog/javafx-on-fedora-27/</guid><description>The standard java-1.8.0-openjdk package on Fedora doesn&amp;rsquo;t include JavaFX (which is needed for some GUI applications). You can get it on Fedora 27 by installing the java-1.8.0-openjdk-openjfx package.</description></item><item><title>Custom Keyboard Layouts With Linux</title><link>https://www.mkammerer.de/blog/custom-keyboard-layouts-with-linux/</link><pubDate>Mon, 14 Sep 2015 20:58:19 +0200</pubDate><guid>https://www.mkammerer.de/blog/custom-keyboard-layouts-with-linux/</guid><description>I am from Germany and have an external english keyboard, the keys you need for programming are better positioned on the US layout than on the german. But sometimes I do other things beside programming (yes, really!), and then I need the german umlauts (ü, ö, ä, ß). My laptop has a german keyboard built in, so I additionally want to be able to switch the layout completely to german.</description></item><item><title>Running docker on Linux Mint 17</title><link>https://www.mkammerer.de/blog/running-docker-on-linux-mint-17/</link><pubDate>Thu, 26 Feb 2015 22:39:47 +0100</pubDate><guid>https://www.mkammerer.de/blog/running-docker-on-linux-mint-17/</guid><description>I tried to run docker on Linux mint. When executing sudo docker info I get the error message:
FATA[0000] Cannot connect to the Docker daemon. Is 'docker -d' running on this host? sudo service docker.io start showed the PID of the docker daemon, but ps says it isn&amp;rsquo;t running. Turns out, the docker package from Linux Mint is broken.
Here are the instructions to run docker on Linux Mint:</description></item></channel></rss>