<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Desktop &amp; laptop on Benjamin Italiaander</title><link>https://tlnd.org/topic/desktop/</link><description>Recent content in Desktop &amp; laptop on Benjamin Italiaander</description><generator>Hugo</generator><language>en</language><lastBuildDate>Mon, 27 Feb 2023 14:12:45 +0100</lastBuildDate><atom:link href="https://tlnd.org/topic/desktop/index.xml" rel="self" type="application/rss+xml"/><item><title>Kitty Terminal: My Working Config</title><link>https://tlnd.org/Linux/cli/kitty_terminal/</link><pubDate>Mon, 27 Feb 2023 14:12:45 +0100</pubDate><guid>https://tlnd.org/Linux/cli/kitty_terminal/</guid><description>&lt;blockquote&gt;
&lt;p&gt;📦 &lt;em&gt;This page comes from my GitHub repository &lt;a href="https://github.com/Benjamin-Italiaander/kitty_terminal_working_config_example" class="external-link" target="_blank" rel="noopener"&gt;kitty_terminal_working_config_example&lt;/a&gt; and is updated automatically when I change it there.&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h1 id="-kitty-terminal-my-working-config"&gt;🐱 Kitty Terminal: My Working Config&lt;/h1&gt;
&lt;p&gt;&lt;a href="https://sw.kovidgoyal.net/kitty/" class="external-link" target="_blank" rel="noopener"&gt;kitty&lt;/a&gt; is a fast, GPU-accelerated terminal for Linux and macOS. I switched to it from GNOME Terminal + &lt;a href="https://zellij.dev/" class="external-link" target="_blank" rel="noopener"&gt;Zellij&lt;/a&gt;, because kitty does everything I used a multiplexer for (tabs, splits, layouts) and a lot more: it shows images, makes file names clickable, and has small built-in tools called &lt;strong&gt;kittens&lt;/strong&gt;.&lt;/p&gt;</description></item><item><title>Keyboard not working on Fujitsu Lifebook on Fedora 36</title><link>https://tlnd.org/Linux/fedora/Keyboard_not_working_on_Fujitsu_Lifebook_on_Fedora/</link><pubDate>Fri, 19 Aug 2022 00:00:00 +0000</pubDate><guid>https://tlnd.org/Linux/fedora/Keyboard_not_working_on_Fujitsu_Lifebook_on_Fedora/</guid><description>&lt;p&gt;After installing Fedora Linux 36 on my Fujitsu Lifebook U7410, the keyboard stopped working. I fixed it by editing the GRUB configuration.&lt;/p&gt;
&lt;p&gt;Add the following line at the bottom of &lt;code&gt;/etc/default/grub&lt;/code&gt;:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-sh" data-lang="sh"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="nv"&gt;GRUB_CMDLINE_LINUX&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;&amp;#34;&lt;/span&gt;&lt;span class="nv"&gt;$GRUB_CMDLINE_LINUX&lt;/span&gt;&lt;span class="s2"&gt; i8042.reset i8042.nomux i8042.nopnp i8042.noloop&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;After editing the file, regenerate the GRUB configuration:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-sh" data-lang="sh"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;grub2-mkconfig -o &lt;span class="s2"&gt;&amp;#34;&lt;/span&gt;&lt;span class="k"&gt;$(&lt;/span&gt;readlink -e /etc/grub2.cfg&lt;span class="k"&gt;)&lt;/span&gt;&lt;span class="s2"&gt;&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Now reboot.&lt;/p&gt;
&lt;h2 id="easier-on-current-fedora-grubby"&gt;Easier on current Fedora: grubby&lt;/h2&gt;
&lt;p&gt;Fedora&amp;rsquo;s own tool adds kernel options to every installed kernel, without editing files:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-sh" data-lang="sh"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sudo grubby --update-kernel&lt;span class="o"&gt;=&lt;/span&gt;ALL --args&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;&amp;#34;i8042.reset i8042.nomux i8042.nopnp i8042.noloop&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sudo grubby --info&lt;span class="o"&gt;=&lt;/span&gt;DEFAULT &lt;span class="c1"&gt;# check the &amp;#34;args&amp;#34; line&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;To remove them again: &lt;code&gt;sudo grubby --update-kernel=ALL --remove-args=&amp;quot;i8042.reset i8042.nomux i8042.nopnp i8042.noloop&amp;quot;&lt;/code&gt;.&lt;/p&gt;</description></item><item><title>Install Linux on a Fujitsu Lifebook</title><link>https://tlnd.org/Linux/fedora/Install_Linux_from_USB_on_fujitsu_lifebook/</link><pubDate>Fri, 01 Jan 2021 00:00:00 +0000</pubDate><guid>https://tlnd.org/Linux/fedora/Install_Linux_from_USB_on_fujitsu_lifebook/</guid><description>&lt;p&gt;I was trying to install Fedora 36 from USB on my Fujitsu Lifebook U7410, but it would not boot from the USB stick:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;set_second_stage() failed: invalid Parameter
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;Something has gone seriously wrong: shim_init() failed Invalid Parameter
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;You can avoid this problem by making the bootable USB stick with the &lt;a href="https://www.ventoy.net/en/index.html" class="external-link" target="_blank" rel="noopener"&gt;Ventoy USB tool&lt;/a&gt;.&lt;/p&gt;</description></item><item><title>Shortcuts on the Fedora desktop</title><link>https://tlnd.org/Linux/fedora/fedora_desktop_shortcut/</link><pubDate>Wed, 28 Sep 2016 00:00:00 +0000</pubDate><guid>https://tlnd.org/Linux/fedora/fedora_desktop_shortcut/</guid><description>&lt;h1 id="shortcuts-on-the-fedora-desktop"&gt;Shortcuts on the Fedora desktop&lt;/h1&gt;
&lt;h4 id="move-the-selected-window-to-the-workspace-on-the-left"&gt;Move the selected window to the workspace on the left&lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;Super + Shift + Page Up&lt;/li&gt;
&lt;/ul&gt;
&lt;h4 id="move-the-selected-window-to-the-workspace-on-the-right"&gt;Move the selected window to the workspace on the right&lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;Super + Shift + Page Down&lt;/li&gt;
&lt;/ul&gt;</description></item><item><title>Firefox Already Running</title><link>https://tlnd.org/Linux/firefox/</link><pubDate>Sat, 17 Sep 2016 00:00:00 +0000</pubDate><guid>https://tlnd.org/Linux/firefox/</guid><description>&lt;h1 id="firefox-is-already-running"&gt;Firefox is already running&lt;/h1&gt;
&lt;p&gt;If you try to open Firefox and get the message &lt;em&gt;&amp;ldquo;Firefox is already running&amp;rdquo;&lt;/em&gt;, close all Firefox windows and try this script. It removes the leftover lock files:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="cp"&gt;#!/bin/bash
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;find ~/.mozilla -name &lt;span class="s2"&gt;&amp;#34;*lock&amp;#34;&lt;/span&gt; -print0 &lt;span class="p"&gt;|&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="k"&gt;while&lt;/span&gt; &lt;span class="nv"&gt;IFS&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nb"&gt;read&lt;/span&gt; -r -d &lt;span class="s1"&gt;&amp;#39;&amp;#39;&lt;/span&gt; file&lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="k"&gt;do&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="nb"&gt;echo&lt;/span&gt; &lt;span class="s2"&gt;&amp;#34;removing &lt;/span&gt;&lt;span class="nv"&gt;$file&lt;/span&gt;&lt;span class="s2"&gt;...&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; rm &lt;span class="s2"&gt;&amp;#34;&lt;/span&gt;&lt;span class="nv"&gt;$file&lt;/span&gt;&lt;span class="s2"&gt;&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="k"&gt;done&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Make sure Firefox is really closed first (&lt;code&gt;pgrep -a firefox&lt;/code&gt; shows nothing).&lt;/p&gt;
&lt;p&gt;The script only looks in &lt;code&gt;~/.mozilla&lt;/code&gt;. Depending on how Firefox is installed, the profile can also be in:&lt;/p&gt;</description></item></channel></rss>