<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Debian on Living Systems_</title>
    <link>https://livesys.se/tags/debian/</link>
    <description>Recent content in Debian on Living Systems_</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Thu, 24 Mar 2022 04:50:00 +0100</lastBuildDate>
    <atom:link href="https://livesys.se/tags/debian/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Random notes from installing Debian 11 with separate accounts for work and private</title>
      <link>https://livesys.se/posts/installing-and-configuring-debian-11-into-a-great-experience/</link>
      <pubDate>Thu, 24 Mar 2022 04:50:00 +0100</pubDate>
      <guid>https://livesys.se/posts/installing-and-configuring-debian-11-into-a-great-experience/</guid>
      <description>&lt;!-- raw HTML omitted --&gt;&#xA;&lt;p&gt;See especially the end for info about how to set up a nice integration&#xA;between the work and private accounts, such that one can e.g.&#xA;occasionally start the mail client or web browser from the private&#xA;account from the work one etc.&lt;/p&gt;&#xA;&lt;h3 id=&#34;caveats-when-installing-debian-11&#34;&gt;Caveats when installing Debian 11&lt;/h3&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Make sure that an EFI partition is created (when I manually modified&#xA;the partition table I accidentally deleted it, and had to reinstall&#xA;to get it created properly again).&lt;/li&gt;&#xA;&lt;li&gt;Had to turn off safe boot in BIOS&lt;/li&gt;&#xA;&lt;li&gt;Had to set SATA settings to AHCI&lt;/li&gt;&#xA;&lt;li&gt;Had to manually create a boot option with the path to&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;\EFI\debian\grubx64.efi&#xA;&lt;/code&gt;&lt;/pre&gt;in BIOS settings&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h3 id=&#34;instructions-for-configuring-debian-to-my-liking&#34;&gt;Instructions for configuring Debian to my liking&lt;/h3&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Add current user to sudo&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Switch user to root:&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#fff;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;usermod -aG sudo &amp;lt;username&amp;gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/li&gt;&#xA;&lt;li&gt;Log out and back the user&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;Uncomment CDROM remotes in /etc/apt/sources.list&lt;/li&gt;&#xA;&lt;li&gt;Change default search engine in firefox to duckduckgo&lt;/li&gt;&#xA;&lt;li&gt;Replace applications menu with whiskers menu&lt;/li&gt;&#xA;&lt;li&gt;Install some packages:&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#fff;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;sudo apt install vim git tig tmux curl tree rsync gparted&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    ecryptfs-utils redshift bash-completion bluez blueman&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/li&gt;&#xA;&lt;li&gt;Clone rc folder:&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#fff;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;git clone https://github.com/samuell/rc.git&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/li&gt;&#xA;&lt;li&gt;Link rc files:&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#fff;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;ln -s rc/.&lt;span style=&#34;color:#000&#34;&gt;{&lt;/span&gt;b,v,t&lt;span style=&#34;color:#000&#34;&gt;}&lt;/span&gt;* .&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/li&gt;&#xA;&lt;li&gt;Create empty &lt;code&gt;.bash_aliases_local&lt;/code&gt;:&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#fff;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;touch ~/.bash_aliases_local&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/li&gt;&#xA;&lt;li&gt;Activate in bashrc:&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#fff;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;cat &lt;span style=&#34;color:#c41a16&#34;&gt;&amp;#39;if [ -f ~/.bashrc_mods ]; then . ~/.bashrc_mods; fi&amp;#39;&lt;/span&gt; &amp;gt;&amp;gt; ~/.bashrc &lt;span style=&#34;color:#000&#34;&gt;&amp;amp;&amp;amp;&lt;/span&gt; &lt;span style=&#34;color:#a90d91&#34;&gt;source&lt;/span&gt; ~/.bashrc&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/li&gt;&#xA;&lt;li&gt;Install vim-plug:&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#fff;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;curl -fLo ~/.vim/autoload/plug.vim --create-dirs&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/li&gt;&#xA;&lt;li&gt;Run &lt;code&gt;:PlugInstall&lt;/code&gt; in vim:&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#fff;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;vim -c &lt;span style=&#34;color:#c41a16&#34;&gt;&amp;#34;:PlugInstall&amp;#34;&lt;/span&gt; -c &lt;span style=&#34;color:#c41a16&#34;&gt;&amp;#34;qa!&amp;#34;&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/li&gt;&#xA;&lt;li&gt;In &amp;ldquo;Keyboard settings &amp;gt; Application shortcuts&amp;rdquo; add two&#xA;shortcuts:&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#fff;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;xfce4-popup-whiskermenu    &lt;span style=&#34;color:#177500&#34;&gt;# Ctrl+Esc&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;xfce4-terminal --drop-down &lt;span style=&#34;color:#177500&#34;&gt;# Super+Space&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/li&gt;&#xA;&lt;li&gt;Open the terminal with Win+Space, and configure:&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Set width to 100%&lt;/li&gt;&#xA;&lt;li&gt;Uncheck always show tabs&lt;/li&gt;&#xA;&lt;li&gt;Uncheck show menubar in new windows&lt;/li&gt;&#xA;&lt;li&gt;Configure color to more pastel like colors according to my new method&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;In Appearance&amp;hellip;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Set style to &amp;ldquo;Adwaita-dark&amp;rdquo;&lt;/li&gt;&#xA;&lt;li&gt;Set fonts to &amp;ldquo;Adwaita&amp;rdquo;&lt;/li&gt;&#xA;&lt;li&gt;Set main font to &amp;ldquo;Sans Regular 8&amp;rdquo;&lt;/li&gt;&#xA;&lt;li&gt;Let main monospace font be &amp;ldquo;Monospace Regular 10&amp;rdquo;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;In terminal preferences, set font to &amp;ldquo;Monospace Regular 10&amp;rdquo;&lt;/li&gt;&#xA;&lt;li&gt;In Window manager, set shortcuts:&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Tile window up/down/left/right: Super up/down/left/right&lt;/li&gt;&#xA;&lt;li&gt;Move window Ctrl+Alt+F&lt;/li&gt;&#xA;&lt;li&gt;Resize window Ctrl+Alt+R&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;Install and configure Brave browser&lt;/li&gt;&#xA;&lt;li&gt;Encrypt home folder&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h3 id=&#34;set-up-separate-work-and-private-accounts&#34;&gt;Set up separate work and private accounts&lt;/h3&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Create the separate accounts&lt;/li&gt;&#xA;&lt;li&gt;Encrypt folder of both&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;In order to run private commands from the work account and vice versa:&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
