<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Ubuntu on Aamnah - Frontend Web Developer</title>
    <link>https://aamnah.com/notes/ubuntu/</link>
    <description>Recent content in Ubuntu on Aamnah - Frontend Web Developer</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Mon, 24 Aug 2026 17:45:46 +0300</lastBuildDate>
    <atom:link href="https://aamnah.com/notes/ubuntu/rss.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Create desktop icon for AppImage files</title>
      <link>https://aamnah.com/notes/ubuntu/create-desktop-icon-for-appimage-files/</link>
      <pubDate>Mon, 24 Aug 2026 17:45:46 +0300</pubDate>
      <guid>https://aamnah.com/notes/ubuntu/create-desktop-icon-for-appimage-files/</guid>
      <description>&lt;p&gt;Why? Because it gets difficult to differentiate between open apps when all have the same cog icon.&lt;/p&gt;&#xA;&lt;p&gt;I will use FreeCAD as an example program here. On my system I have a folder at &lt;code&gt;~/Applications&lt;/code&gt; where i keep all the AppImage files. The icons for all the executable are kept in &lt;code&gt;~/Applications/icons&lt;/code&gt;.&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Create a &lt;code&gt;.desktop&lt;/code&gt; file under &lt;code&gt;~/.local/share/applications/&lt;/code&gt; for user or &lt;code&gt;~/.local/share/applications/&lt;/code&gt; for system&lt;/li&gt;&#xA;&lt;li&gt;Download an icon (SVG/AVIF files work fine)&lt;/li&gt;&#xA;&lt;li&gt;The &lt;code&gt;Exec&lt;/code&gt; and &lt;code&gt;Icon&lt;/code&gt; path values can be anywhere on the system, but you need to provide an &lt;strong&gt;absolute path&lt;/strong&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;Exec&lt;/code&gt; path should be an &lt;strong&gt;executable&lt;/strong&gt; file, i.e. &lt;code&gt;chmod +x&lt;/code&gt; the file&lt;/li&gt;&#xA;&lt;li&gt;Validate the file with &lt;code&gt;desktop-file-validate ~/.local/share/applications/freecad.desktop&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Update the database with &lt;code&gt;update-desktop-database ~/.local/share/applications/&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;ln&#34;&gt;1&lt;/span&gt;&lt;span class=&#34;cl&#34;&gt;touch ~/.local/share/applications/freecad.desktop&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-ini&#34; data-lang=&#34;ini&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;ln&#34;&gt;1&lt;/span&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;k&#34;&gt;[Desktop Entry]&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;ln&#34;&gt;2&lt;/span&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;na&#34;&gt;Type&lt;/span&gt;&lt;span class=&#34;o&#34;&gt;=&lt;/span&gt;&lt;span class=&#34;s&#34;&gt;Application&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;ln&#34;&gt;3&lt;/span&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;na&#34;&gt;Name&lt;/span&gt;&lt;span class=&#34;o&#34;&gt;=&lt;/span&gt;&lt;span class=&#34;s&#34;&gt;FreeCAD&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;ln&#34;&gt;4&lt;/span&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;na&#34;&gt;Comment&lt;/span&gt;&lt;span class=&#34;o&#34;&gt;=&lt;/span&gt;&lt;span class=&#34;s&#34;&gt;An open source parametric 3D CAD modeler&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;ln&#34;&gt;5&lt;/span&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;na&#34;&gt;Icon&lt;/span&gt;&lt;span class=&#34;o&#34;&gt;=&lt;/span&gt;&lt;span class=&#34;s&#34;&gt;/home/amna/Applications/icons/FreeCAD.svg&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;ln&#34;&gt;6&lt;/span&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;na&#34;&gt;Exec&lt;/span&gt;&lt;span class=&#34;o&#34;&gt;=&lt;/span&gt;&lt;span class=&#34;s&#34;&gt;/home/amna/Applications/FreeCAD.AppImage&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;ln&#34;&gt;7&lt;/span&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;na&#34;&gt;Categories&lt;/span&gt;&lt;span class=&#34;o&#34;&gt;=&lt;/span&gt;&lt;span class=&#34;s&#34;&gt;Graphics;Engineering&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;ln&#34;&gt;1&lt;/span&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;c1&#34;&gt;# provide the path for .desktop file&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;ln&#34;&gt;2&lt;/span&gt;&lt;span class=&#34;cl&#34;&gt;desktop-file-validate ~/.local/share/applications/freecad.desktop&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;ln&#34;&gt;1&lt;/span&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;c1&#34;&gt;# provide the path for the entire directory, not the file&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;ln&#34;&gt;2&lt;/span&gt;&lt;span class=&#34;cl&#34;&gt;update-desktop-database ~/.local/share/applications/&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;</description>
    </item>
    <item>
      <title>Reload /etc/fstab entries and mount drives</title>
      <link>https://aamnah.com/notes/ubuntu/reload-fstab-mount-drive-ubuntu-linux/</link>
      <pubDate>Fri, 23 Feb 2024 17:39:19 +0200</pubDate>
      <guid>https://aamnah.com/notes/ubuntu/reload-fstab-mount-drive-ubuntu-linux/</guid>
      <description>&lt;p&gt;The basic and the most common command is:&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;ln&#34;&gt;1&lt;/span&gt;&lt;span class=&#34;cl&#34;&gt;sudo mount -av&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;To make sure it reloads config for auto-mount drives as well, and when traditional &lt;code&gt;mount&lt;/code&gt; is not working, use:&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;ln&#34;&gt;1&lt;/span&gt;&lt;span class=&#34;cl&#34;&gt;sudo systemctl daemon-reload&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;if the above doesn&amp;rsquo;t work, try:&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;ln&#34;&gt;1&lt;/span&gt;&lt;span class=&#34;cl&#34;&gt;sudo systemctl daemon-reload&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;ln&#34;&gt;2&lt;/span&gt;&lt;span class=&#34;cl&#34;&gt;sudo systemctl restart remote-fs.target&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;to reload an entry to mount a local filesystem:&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;ln&#34;&gt;1&lt;/span&gt;&lt;span class=&#34;cl&#34;&gt;sudo systemctl daemon-reload&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;ln&#34;&gt;2&lt;/span&gt;&lt;span class=&#34;cl&#34;&gt;sudo systemctl restart local-fs.target&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;If you have removed entries from &lt;code&gt;fstab&lt;/code&gt; and the above commands don&amp;rsquo;t work, try &lt;em&gt;restarting&lt;/em&gt; the machine.&lt;/p&gt;</description>
    </item>
    <item>
      <title>How to add an application launcher shortcut in Ubuntu Linux</title>
      <link>https://aamnah.com/notes/ubuntu/appimage-icon-shortcut-launcher-unity-ubuntu-linux/</link>
      <pubDate>Wed, 26 Jan 2022 14:23:32 +0500</pubDate>
      <guid>https://aamnah.com/notes/ubuntu/appimage-icon-shortcut-launcher-unity-ubuntu-linux/</guid>
      <description>&lt;blockquote&gt;&#xA;&lt;p&gt;Desktop entry files are used to add an application to the desktop menu. These files specify the name and icon of your application, the categories it belongs to, related search keywords and more. These files have the extension .desktop and follow the XDG Desktop Entry Specification version 1.1.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;You do that by creating a &lt;code&gt;.desktop&lt;/code&gt; file and saving it in &lt;code&gt;~/.local/share/applications/&lt;/code&gt;&lt;/p&gt;&#xA;&lt;p&gt;Here&amp;rsquo;s a basic &lt;code&gt;.desktop&lt;/code&gt; file&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;ln&#34;&gt;1&lt;/span&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;c1&#34;&gt;# ~/.local/share/applications/obsidian.desktop&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;ln&#34;&gt;2&lt;/span&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;o&#34;&gt;[&lt;/span&gt;Desktop Entry&lt;span class=&#34;o&#34;&gt;]&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;ln&#34;&gt;3&lt;/span&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;nv&#34;&gt;Type&lt;/span&gt;&lt;span class=&#34;o&#34;&gt;=&lt;/span&gt;Application&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;ln&#34;&gt;4&lt;/span&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;nv&#34;&gt;Name&lt;/span&gt;&lt;span class=&#34;o&#34;&gt;=&lt;/span&gt;Obsidian&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;ln&#34;&gt;5&lt;/span&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;nv&#34;&gt;Exec&lt;/span&gt;&lt;span class=&#34;o&#34;&gt;=&lt;/span&gt;/home/aamnah/Mounts/Files/Applications/Obsidian-0.13.19.AppImage&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;ln&#34;&gt;6&lt;/span&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;nv&#34;&gt;Icon&lt;/span&gt;&lt;span class=&#34;o&#34;&gt;=&lt;/span&gt;/home/aamnah/Mounts/Files/Applications/obsidian.png&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;Tip&gt;&#xA;Tip: Look under `/var/lib/snapd/desktop/applications/` for some inspiration&#xA;&lt;/Tip&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Each desktop entry must have a &lt;code&gt;Type&lt;/code&gt; and a &lt;code&gt;Name&lt;/code&gt; key and can optionally define its appearance in the application menu. In other words only &lt;code&gt;Type&lt;/code&gt; and &lt;code&gt;Name&lt;/code&gt; are required, rest are all optional&lt;/li&gt;&#xA;&lt;li&gt;Apart from &lt;code&gt;Type&lt;/code&gt; and &lt;code&gt;Name&lt;/code&gt;, you will most likely add&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;Exec&lt;/code&gt; to specify where the executable is (or a specific command to execute with arguments)&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;Icon&lt;/code&gt; to specify which icon to show with the executable (this icon will show in the Launcher and in the Dock)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;Keep &lt;em&gt;paths&lt;/em&gt; in &lt;code&gt;.desktop&lt;/code&gt; &lt;em&gt;absolute&lt;/em&gt; to avoid troubleshooting headaches&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h3 id=&#34;location-for-desktop-files&#34;&gt;Location for &lt;code&gt;.desktop&lt;/code&gt; files&lt;/h3&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;ln&#34;&gt;1&lt;/span&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;c1&#34;&gt;# for applications installed system-wide&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;ln&#34;&gt;2&lt;/span&gt;&lt;span class=&#34;cl&#34;&gt;/usr/share/applications/&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;ln&#34;&gt;3&lt;/span&gt;&lt;span class=&#34;cl&#34;&gt;/usr/local/share/applications/&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;ln&#34;&gt;4&lt;/span&gt;&lt;span class=&#34;cl&#34;&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;ln&#34;&gt;5&lt;/span&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;c1&#34;&gt;# for user-specific applications&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;ln&#34;&gt;6&lt;/span&gt;&lt;span class=&#34;cl&#34;&gt;~/.local/share/applications/&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;If you&amp;rsquo;re specifying an AppImage (or any other script) as value for &lt;code&gt;Exec&lt;/code&gt;, make sure it is executable&lt;/p&gt;</description>
    </item>
    <item>
      <title>Making the Logitech Unifying Receiver work on Ubuntu Linux with an MX Master 3 mouse</title>
      <link>https://aamnah.com/notes/ubuntu/mx-master-3-logitech-unifying-receiver/</link>
      <pubDate>Tue, 18 Jan 2022 22:55:48 +0500</pubDate>
      <guid>https://aamnah.com/notes/ubuntu/mx-master-3-logitech-unifying-receiver/</guid>
      <description>&lt;p&gt;tl;dr: install &lt;a href=&#34;https://pwr-solaar.github.io/Solaar/&#34;&gt;Solaar&lt;/a&gt;&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;ln&#34;&gt;1&lt;/span&gt;&lt;span class=&#34;cl&#34;&gt;sudo apt install -y solaar&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;&lt;img src=&#34;https://aamnah.com/notes/ubuntu/images/solaar-screenshot.png&#34; alt=&#34;Solaar GUI screenshot&#34; loading=&#34;lazy&#34;&gt;&lt;/p&gt;&#xA;&lt;p&gt;I have been using a Logitech MX Master 3 for well over a year now. I had originally connected it to my Ubuntu system via Bluetooth after finding out that the &lt;em&gt;Unifying Received&lt;/em&gt; is not officially supported for Linux.&lt;/p&gt;&#xA;&lt;p&gt;Recently, i enabled hibernation for Ubuntu and one issue i come across every now and then is that when it comes back from hibernation, the bluetooth is turned off. And no amounts of &lt;em&gt;running commands via Termnial&lt;/em&gt; seems to fix it.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Mount an NTFS partition on Ubuntu with specific owner, group and permissions</title>
      <link>https://aamnah.com/notes/ubuntu/mount-ntfs-as-specific-user-owner-group-permissions/</link>
      <pubDate>Sat, 01 Jan 2022 22:51:23 +0500</pubDate>
      <guid>https://aamnah.com/notes/ubuntu/mount-ntfs-as-specific-user-owner-group-permissions/</guid>
      <description>&lt;p&gt;Mount an NTFS partition on Ubuntu with a specific &lt;code&gt;owner&lt;/code&gt; and &lt;code&gt;group&lt;/code&gt;. (Otherwise it&amp;rsquo;ll mount it as &lt;code&gt;root&lt;/code&gt;, which makes sharing the fs on samba a bit difficult, you get permission errors when trying to connect from a mac)&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;NTFS doesn&amp;rsquo;t support Unix-style &amp;lsquo;owners&amp;rsquo;, so the Linux kernel is forced to assign an owner for the entire volume - normally, root. As an alternative to moving your entire home directory to EXT4, you could also give ownership of the entire partition to a specific user or group using the &amp;lsquo;uid&amp;rsquo; or &amp;lsquo;gid&amp;rsquo; options for &lt;code&gt;mount&lt;/code&gt; (or in &lt;code&gt;fstab&lt;/code&gt;).&lt;/p&gt;&#xA;&lt;/blockquote&gt;</description>
    </item>
    <item>
      <title>Trying Awesome window manager on Ubuntu</title>
      <link>https://aamnah.com/notes/ubuntu/awesome-window-manager-ubuntu/</link>
      <pubDate>Sun, 12 Dec 2021 19:56:38 +0500</pubDate>
      <guid>https://aamnah.com/notes/ubuntu/awesome-window-manager-ubuntu/</guid>
      <description>&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;ln&#34;&gt;1&lt;/span&gt;&lt;span class=&#34;cl&#34;&gt;sudo apt install -y awesome&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;ln&#34;&gt;2&lt;/span&gt;&lt;span class=&#34;cl&#34;&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;ln&#34;&gt;3&lt;/span&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;c1&#34;&gt;# logout and login again, select &amp;#39;awesome&amp;#39; on the login screen options&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;awesome&lt;/code&gt; is configured in Lua&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;hr&gt;&#xA;&lt;p&gt;UPDATE:&lt;/p&gt;&#xA;&lt;p&gt;nevermind, i&amp;rsquo;ll never use it. Because:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;i&amp;rsquo;m &lt;em&gt;VERYYY&lt;/em&gt; used to hitting the &lt;code&gt;Super&lt;/code&gt; (Windows logo) key to start an app on Ubuntu. On macOS i do it by hitting &lt;code&gt;alt&lt;/code&gt;+&lt;code&gt;space&lt;/code&gt;. On awesome, i have no idea what it is. I&amp;rsquo;m not clicking through application menus to open something.&lt;/li&gt;&#xA;&lt;li&gt;i don&amp;rsquo;t think it&amp;rsquo;s for active GUI users, it felt more like what a sysadmin would use for &lt;em&gt;passive&lt;/em&gt; screens, the ones you just display but don&amp;rsquo;t actively interact with&lt;/li&gt;&#xA;&lt;li&gt;It&amp;rsquo;s not a tool or extension, it&amp;rsquo;s an entirely different display manager. what i really needed was something that could resize and tile windows (without me having to leave everything else i have already setup)&lt;/li&gt;&#xA;&lt;li&gt;i had to Google how to logout&lt;/li&gt;&#xA;&lt;/ul&gt;</description>
    </item>
    <item>
      <title>Change forgotten Ubuntu password inside WSL</title>
      <link>https://aamnah.com/notes/ubuntu/change-forgotten-password-wsl/</link>
      <pubDate>Mon, 26 Jul 2021 12:07:13 +0500</pubDate>
      <guid>https://aamnah.com/notes/ubuntu/change-forgotten-password-wsl/</guid>
      <description>&lt;ul&gt;&#xA;&lt;li&gt;Open &lt;code&gt;cmd.exe&lt;/code&gt; and run &lt;code&gt;ubuntu2004 config --default-user root&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;Now run Ubuntu 20.04 inside WSL and it&amp;rsquo;ll run it as the &lt;code&gt;root&lt;/code&gt; user&lt;/li&gt;&#xA;&lt;li&gt;Use &lt;code&gt;passwd USERNAME&lt;/code&gt; to change the forgotten password while running Ubuntu as root&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;&lt;a href=&#34;https://winaero.com/reset-password-wsl-linux-distro-windows-10/&#34;&gt;source&lt;/a&gt;&lt;/p&gt;</description>
    </item>
    <item>
      <title>Troubleshooting HP Printer on Ubuntu 2104</title>
      <link>https://aamnah.com/notes/ubuntu/troubleshoot-printer/</link>
      <pubDate>Wed, 12 May 2021 18:19:18 +0500</pubDate>
      <guid>https://aamnah.com/notes/ubuntu/troubleshoot-printer/</guid>
      <description>&lt;p&gt;A fresh install of latest Ubuntu usually gives me some sort of printer issues. This time it would spend some time &lt;em&gt;Processing&lt;/em&gt; the &lt;em&gt;job&lt;/em&gt; and then &lt;em&gt;Stop&lt;/em&gt;. This is what i did this time:&lt;/p&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Install drivers&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;ln&#34;&gt;1&lt;/span&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;c1&#34;&gt;# install drivers&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;ln&#34;&gt;2&lt;/span&gt;&lt;span class=&#34;cl&#34;&gt;sudo apt install hplip&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;ln&#34;&gt;3&lt;/span&gt;&lt;span class=&#34;cl&#34;&gt;sudo apt install printer-driver-gutenprint&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;The &lt;code&gt;hplip&lt;/code&gt; package (&lt;strong&gt;HP&lt;/strong&gt;&amp;rsquo;s &lt;strong&gt;L&lt;/strong&gt;inux &lt;strong&gt;I&lt;/strong&gt;maging and &lt;strong&gt;P&lt;/strong&gt;rinting software) is usually already installed on Ubuntu. I tried updating it by downloading and installing the latest from &lt;a href=&#34;https://developers.hp.com/hp-linux-imaging-and-printing/gethplip&#34;&gt;HP Support&lt;/a&gt; but it wouldn&amp;rsquo;t &lt;a href=&#34;https://developers.hp.com/hp-linux-imaging-and-printing/install/install/index&#34;&gt;install&lt;/a&gt; as Ubuntu 21.04 wasn&amp;rsquo;t supported and the dependencies won&amp;rsquo;t install.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Reset password on Ubuntu</title>
      <link>https://aamnah.com/notes/ubuntu/reset-ubuntu-password/</link>
      <pubDate>Mon, 25 Jan 2021 00:00:00 +0500</pubDate>
      <guid>https://aamnah.com/notes/ubuntu/reset-ubuntu-password/</guid>
      <description>&lt;ol&gt;&#xA;&lt;li&gt;Boot into recovery mode&lt;/li&gt;&#xA;&lt;li&gt;Root – Drop to root shell prompt&lt;/li&gt;&#xA;&lt;li&gt;Press Enter to get the prompt back&lt;/li&gt;&#xA;&lt;li&gt;Run &lt;code&gt;mount -rw -o remount /&lt;/code&gt; to remount the root partition with write access&lt;/li&gt;&#xA;&lt;li&gt;Change password with &lt;code&gt;passwd USERNAME&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;p&gt;By default the &lt;code&gt;root&lt;/code&gt; user on Ubuntu has no password, hence you being able to drop to root and changing the other user&amp;rsquo;s password. The &lt;code&gt;root&lt;/code&gt; user is also supposed to be disabled by default, not sure why dropping down to it was so simple.&lt;/p&gt;</description>
    </item>
    <item>
      <title>dconf and gsettings notes</title>
      <link>https://aamnah.com/notes/ubuntu/dconf-gsettings-notes/</link>
      <pubDate>Sun, 09 Aug 2020 12:17:45 +0500</pubDate>
      <guid>https://aamnah.com/notes/ubuntu/dconf-gsettings-notes/</guid>
      <description>&lt;p&gt;As of version &lt;code&gt;3.7.0&lt;/code&gt;, &lt;code&gt;gnome-terminal&lt;/code&gt; uses &lt;code&gt;GSettings&lt;/code&gt; and &lt;code&gt;DConf&lt;/code&gt; instead of &lt;code&gt;GConf&lt;/code&gt;.&lt;/p&gt;&#xA;&lt;h2 id=&#34;syntax-differences-between-dconf-and-gsettings&#34;&gt;Syntax differences between dconf and gsettings&lt;/h2&gt;&#xA;&lt;p&gt;&lt;code&gt;dconf write&lt;/code&gt; vs. &lt;code&gt;gsettings set&lt;/code&gt;&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;ln&#34;&gt;1&lt;/span&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;c1&#34;&gt;# dconf&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;ln&#34;&gt;2&lt;/span&gt;&lt;span class=&#34;cl&#34;&gt;dconf write /org/gnome/terminal/legacy/profiles:/:b1dcc9dd-5262-4d8d-a863-c897e6d979b9/use-theme-colors &lt;span class=&#34;s2&#34;&gt;&amp;#34;false&amp;#34;&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;ln&#34;&gt;3&lt;/span&gt;&lt;span class=&#34;cl&#34;&gt;dconf write /org/gnome/terminal/legacy/profiles:/:b1dcc9dd-5262-4d8d-a863-c897e6d979b9/background-color &lt;span class=&#34;s2&#34;&gt;&amp;#34;&amp;#39;rgb(0,43,54)&amp;#39;&amp;#34;&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;ln&#34;&gt;4&lt;/span&gt;&lt;span class=&#34;cl&#34;&gt;dconf write /org/gnome/terminal/legacy/profiles:/:b1dcc9dd-5262-4d8d-a863-c897e6d979b9/foreground-color &lt;span class=&#34;s2&#34;&gt;&amp;#34;&amp;#39;rgb(131,148,150)&amp;#39;&amp;#34;&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;ln&#34;&gt;1&lt;/span&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;c1&#34;&gt;# gsettings&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;ln&#34;&gt;2&lt;/span&gt;&lt;span class=&#34;cl&#34;&gt;gsettings &lt;span class=&#34;nb&#34;&gt;set&lt;/span&gt; org.gnome.Terminal.Legacy.Profile:/org/gnome/terminal/legacy/profiles:/:b1dcc9dd-5262-4d8d-a863-c897e6d979b9/ use-theme-colors &lt;span class=&#34;nb&#34;&gt;false&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;ln&#34;&gt;3&lt;/span&gt;&lt;span class=&#34;cl&#34;&gt;gsettings &lt;span class=&#34;nb&#34;&gt;set&lt;/span&gt; org.gnome.Terminal.Legacy.Profile:/org/gnome/terminal/legacy/profiles:/:b1dcc9dd-5262-4d8d-a863-c897e6d979b9/ background-color &lt;span class=&#34;s1&#34;&gt;&amp;#39;rgb(0,43,54)&amp;#39;&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;ln&#34;&gt;4&lt;/span&gt;&lt;span class=&#34;cl&#34;&gt;gsettings &lt;span class=&#34;nb&#34;&gt;set&lt;/span&gt; org.gnome.Terminal.Legacy.Profile:/org/gnome/terminal/legacy/profiles:/:b1dcc9dd-5262-4d8d-a863-c897e6d979b9/ foreground-color &lt;span class=&#34;s1&#34;&gt;&amp;#39;rgb(131,148,150)&amp;#39;&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h2 id=&#34;dconf&#34;&gt;dconf&lt;/h2&gt;&#xA;&lt;h3 id=&#34;view-and-backup-all-dconf-settings&#34;&gt;View and backup all dconf settings&lt;/h3&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;ln&#34;&gt;1&lt;/span&gt;&lt;span class=&#34;cl&#34;&gt;dconf dump / &amp;gt; dconf_settings_backup.sh&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;If you save it as a &lt;code&gt;.sh&lt;/code&gt; file, you&amp;rsquo;ll get syntax highlighting when you open it with a code editor&lt;/p&gt;</description>
    </item>
    <item>
      <title>Change default screenshot save location for gnome-screenshot on Ubuntu</title>
      <link>https://aamnah.com/notes/ubuntu/change-default-screenshot-save-location/</link>
      <pubDate>Sun, 09 Aug 2020 10:02:05 +0500</pubDate>
      <guid>https://aamnah.com/notes/ubuntu/change-default-screenshot-save-location/</guid>
      <description>&lt;p&gt;NOTE: Ubuntu 22.04 saves screenshots in &lt;code&gt;~/Pictures/Screenshots&lt;/code&gt; by default. The new interactive utility that let&amp;rsquo;s you specify the location when you save. If for some reason it is not saving in &lt;code&gt;~/Pictures/Screenshots&lt;/code&gt; when you use the keyboard shortcuts, try using the GUI interface and save a screenshot to your desired location (the keyboard shortcuts appear to use the &lt;em&gt;last saved&lt;/em&gt; location)&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;tl;dr&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;ln&#34;&gt;1&lt;/span&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;c1&#34;&gt;# sudo apt install gnome-screenshot&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;ln&#34;&gt;2&lt;/span&gt;&lt;span class=&#34;cl&#34;&gt;gsettings &lt;span class=&#34;nb&#34;&gt;set&lt;/span&gt; org.gnome.gnome-screenshot auto-save-directory &lt;span class=&#34;s2&#34;&gt;&amp;#34;/home/aamnah/Pictures/Screenshots&amp;#34;&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;This will only work if you add a custom keyboard shortcut as well and use that to take the screenshots.&lt;/p&gt;</description>
    </item>
    <item>
      <title>The Ultimate Guide to creating a Gnome Terminal theme</title>
      <link>https://aamnah.com/notes/ubuntu/create-theme-gnome-terminal-ultimate-guide/</link>
      <pubDate>Sat, 08 Aug 2020 23:56:48 +0500</pubDate>
      <guid>https://aamnah.com/notes/ubuntu/create-theme-gnome-terminal-ultimate-guide/</guid>
      <description>&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;ln&#34;&gt;1&lt;/span&gt;&lt;span class=&#34;cl&#34;&gt;sudo apt-get install dconf-cli uuid-runtime&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;ln&#34;&gt;2&lt;/span&gt;&lt;span class=&#34;cl&#34;&gt;bash -c &lt;span class=&#34;s2&#34;&gt;&amp;#34;&lt;/span&gt;&lt;span class=&#34;k&#34;&gt;$(&lt;/span&gt;curl -fsSL https://raw.githubusercontent.com/denysdovhan/gnome-terminal-one/master/one-dark.sh&lt;span class=&#34;k&#34;&gt;)&lt;/span&gt;&lt;span class=&#34;s2&#34;&gt;&amp;#34;&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h3 id=&#34;gconf-dconf-and-gsettings&#34;&gt;GConf, DConf and GSettings&lt;/h3&gt;&#xA;&lt;p&gt;Gnome Terminal color palette details originally used to be stored in &lt;code&gt;~/.gconf/apps/gnome-terminal/profiles/&lt;/code&gt; and &lt;code&gt;%gconf.xml&lt;/code&gt; had all palette related data. But on recent Ubuntu (20.04) you&amp;rsquo;ll find &lt;code&gt;~/.gconf&lt;/code&gt; to be completely empty even if you have multiple Terminal profiles saved.&lt;/p&gt;&#xA;&lt;p&gt;That&amp;rsquo;s because of the transition from &lt;code&gt;GConf&lt;/code&gt; (for storing user preferences) to the combination of the &lt;code&gt;GSettings&lt;/code&gt; high-level configuration system and the &lt;code&gt;DConf&lt;/code&gt; back end. Updating &lt;code&gt;gsettings&lt;/code&gt; is preferred over directly writing to &lt;code&gt;dconf&lt;/code&gt;&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
