<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Neoxn3il</title>
    <description>Life is a process, Living is change. Join me on a journey of constant Improvement. This Blog is the evidence of how continuous effort effects the result.
</description>
    <link>https://neoxn3il.netlify.app/</link>
    <atom:link href="https://neoxn3il.netlify.app/feed.xml" rel="self" type="application/rss+xml"/>
    <pubDate>Thu, 06 Aug 2020 06:32:21 +0000</pubDate>
    <lastBuildDate>Thu, 06 Aug 2020 06:32:21 +0000</lastBuildDate>
    <generator>Jekyll v3.8.7</generator>
    
      <item>
        <title>KDE - Reset Screen Resolution</title>
        <description>&lt;h2 id=&quot;problem&quot;&gt;Problem&lt;/h2&gt;
&lt;p&gt;Our Screen Resolution in KDE Plasma needs to be reset.&lt;/p&gt;

&lt;h2 id=&quot;solution&quot;&gt;Solution&lt;/h2&gt;
&lt;p&gt;delete the Folder &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;~/.local/share/kscreen&lt;/code&gt; via Terminal:&lt;/p&gt;

&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;rm -dr ~/.local/share/kscreen
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;on reboot it will be generated fresh.&lt;/p&gt;
</description>
        <pubDate>Tue, 24 Apr 2018 00:00:00 +0000</pubDate>
        <link>https://neoxn3il.netlify.app/kde-reset-kscreen/</link>
        <guid isPermaLink="true">https://neoxn3il.netlify.app/kde-reset-kscreen/</guid>
        
        
      </item>
    
      <item>
        <title>Arch Linux - Free Disk Space</title>
        <description>&lt;h2 id=&quot;problem&quot;&gt;Problem&lt;/h2&gt;
&lt;p&gt;We used Arch Linux for a while, updating regularly using Pacman.
We used Docker for Development and/or other reasons.
Now there are hidden files on our Machine, that claim a lot of Space.&lt;/p&gt;

&lt;h2 id=&quot;solution&quot;&gt;Solution&lt;/h2&gt;

&lt;h3 id=&quot;clean-pacman&quot;&gt;&lt;a href=&quot;https://www.ostechnix.com/recommended-way-clean-package-cache-arch-linux/&quot;&gt;Clean Pacman&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;Delete old PacMan Packages from Cache by running this in Terminal:&lt;/p&gt;

&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;sudo paccache -r 
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;h3 id=&quot;clean-docker&quot;&gt;&lt;a href=&quot;https://www.digitalocean.com/community/tutorials/how-to-remove-docker-images-containers-and-volumes&quot;&gt;Clean Docker&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;Delete all Docker Images. But do now worry. You can always rebuild them or pull them from DockerHub.&lt;/p&gt;

&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;sudo docker system prune -a -f  
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
</description>
        <pubDate>Sun, 22 Apr 2018 00:00:00 +0000</pubDate>
        <link>https://neoxn3il.netlify.app/arch-free-diskspace/</link>
        <guid isPermaLink="true">https://neoxn3il.netlify.app/arch-free-diskspace/</guid>
        
        
      </item>
    
      <item>
        <title>i3wm - Enable Autostart</title>
        <description>&lt;p&gt;Today we want to enable our Autostart Scripts by starting i3wm.&lt;/p&gt;

&lt;h2 id=&quot;find-i3-config-file&quot;&gt;Find i3 Config File&lt;/h2&gt;
&lt;p&gt;Fist we need to find our &lt;a href=&quot;https://i3wm.org/docs/userguide.html#configuring&quot;&gt;i3 Config File&lt;/a&gt;
register a Script, witch runs when we start i3.
It is most likely located at &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;~/.config/i3/config&lt;/code&gt;&lt;/p&gt;

&lt;h2 id=&quot;run-script-on-start-of-i3&quot;&gt;Run Script on Start of i3&lt;/h2&gt;
&lt;p&gt;Now we just tell i3 to run a Bash Script &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;autostart.sh&lt;/code&gt; located at &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;~/.config/i3/&lt;/code&gt; on start.
We add this line to our &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;~/.config/i3/config&lt;/code&gt; File:&lt;/p&gt;

&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;exec --no-startup-id bash ~/.config/i3/autostart.sh
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;h2 id=&quot;setup-the-bash-script&quot;&gt;Setup the Bash Script&lt;/h2&gt;
&lt;p&gt;Last but not least we create the Bash Script &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;autostart.sh&lt;/code&gt; located at &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;~/.config/i3/&lt;/code&gt; containing:&lt;/p&gt;

&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;#!/bin/bash
grep -rh Exec ~/.config/autostart | while read -r line ; do 
   ${line:5} &amp;amp;
done
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;This will look in our Directory &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;~/.config/autostart&lt;/code&gt; for executable Script Paths and run them.&lt;/p&gt;

&lt;h2 id=&quot;optional-etcxdgautostart&quot;&gt;&lt;em&gt;(optional)&lt;/em&gt; /etc/xdg/autostart&lt;/h2&gt;
&lt;p&gt;We can also add our &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;/etc/xdg/autostart&lt;/code&gt; to our Bash Script &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;autostart.sh&lt;/code&gt;, if we wish to execute it as well.
We add to our Bash Script &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;autostart.sh&lt;/code&gt;:&lt;/p&gt;

&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;grep -rh Exec /etc/xdg/autostart | while read -r line ; do 
   ${line:5} &amp;amp;
done
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
</description>
        <pubDate>Sat, 07 Apr 2018 00:00:00 +0000</pubDate>
        <link>https://neoxn3il.netlify.app/i3wm-autostart/</link>
        <guid isPermaLink="true">https://neoxn3il.netlify.app/i3wm-autostart/</guid>
        
        
      </item>
    
      <item>
        <title>Restore Backup on Arch Linux</title>
        <description>&lt;p&gt;After making a &lt;a href=&quot;/backup-on-arch&quot;&gt;Backup on Arch Linux&lt;/a&gt; and Installing it again, 
we are now able restore our Backup.&lt;/p&gt;

&lt;h2 id=&quot;restore-pacman&quot;&gt;Restore Pacman&lt;/h2&gt;
&lt;p&gt;First of all we need to &lt;a href=&quot;https://wiki.archlinux.org/index.php/Pacman/Tips_and_tricks#List_of_installed_packages&quot;&gt;reinstall our Pacman Packages&lt;/a&gt; 
listed in the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;pkglist.txt&lt;/code&gt; File:&lt;/p&gt;

&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;sudo pacman -S --needed $(comm -12 &amp;lt;(pacman -Slq | sort) &amp;lt;(sort pkglist.txt))
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;All AUR Packages need to be installed manually again.&lt;/p&gt;

&lt;h2 id=&quot;rsync-home&quot;&gt;rsync /home&lt;/h2&gt;
&lt;p&gt;Now we can restore all our Configs from the &amp;lt;.dot&amp;gt; Files by &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;rsync&lt;/code&gt; our &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;/home&lt;/code&gt;.
&lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;cd&lt;/code&gt; in your Backup of your /home and run:&lt;/p&gt;

&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;sudo rsync -aAXH --info=progress2 ./ /home
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;h2 id=&quot;rsync-opt&quot;&gt;rsync /opt&lt;/h2&gt;
&lt;p&gt;Then &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;cd&lt;/code&gt; in your Backup of your &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;/opt&lt;/code&gt; and run:&lt;/p&gt;

&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;sudo rsync -aAXH --info=progress2 ./ /opt
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
</description>
        <pubDate>Tue, 27 Mar 2018 00:00:00 +0000</pubDate>
        <link>https://neoxn3il.netlify.app/restore-backup-on-arch/</link>
        <guid isPermaLink="true">https://neoxn3il.netlify.app/restore-backup-on-arch/</guid>
        
        
      </item>
    
      <item>
        <title>Backup on Arch Linux</title>
        <description>&lt;p&gt;Today we want to create a Backup of our full System and our other Drives.
&lt;a href=&quot;https://wiki.archlinux.org/index.php/Rsync#Full_system_backup&quot;&gt;rsync&lt;/a&gt;
enables us to copy our Files, with all their MetaData, to any directory. 
This includes all symbolic links, devices, permissions, ownerships, modification times, ACLs, and extended attributes.&lt;/p&gt;

&lt;h2 id=&quot;0-setup-external-drive-with-a-linux-file-system&quot;&gt;0. Setup external Drive with a Linux File System&lt;/h2&gt;
&lt;p&gt;To save all our MetaData, we need to &lt;a href=&quot;/partitioning-on-arch/&quot;&gt;partition a Disk with ext4&lt;/a&gt;, 
a File System that can store this kind of information.&lt;/p&gt;

&lt;h2 id=&quot;1-backup-full-system&quot;&gt;1. Backup Full System&lt;/h2&gt;
&lt;p&gt;Now we can save our full root Directory excluding unnecessary Files into our &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;&amp;lt;backup_folder&amp;gt;&lt;/code&gt;:&lt;/p&gt;

&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;sudo rsync -aAXH --info=progress2 --delete --exclude={&quot;/dev/*&quot;,&quot;/proc/*&quot;,&quot;/sys/*&quot;,&quot;/tmp/*&quot;,&quot;/run/*&quot;,&quot;/mnt/*&quot;,&quot;/media/*&quot;,&quot;/lost+found&quot;,&quot;/home/*/.local/share/Trash/&quot;,&quot;/home/*/.cache/*&quot;} / /&amp;lt;backup_folder&amp;gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;h2 id=&quot;2-backup-other-drives&quot;&gt;2. Backup other Drives&lt;/h2&gt;
&lt;p&gt;To store all of our other Drives under our &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;&amp;lt;backup_folder&amp;gt;&lt;/code&gt; we need to exclude our &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;&amp;lt;backup_drive&amp;gt;&lt;/code&gt;:&lt;/p&gt;

&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;sudo rsync -aAXH --info=progress2 --delete --exclude={&quot;&amp;lt;backup_drive&amp;gt;/*&quot;} /run/media/ /&amp;lt;backup_folder&amp;gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;h2 id=&quot;3-delete-empty-directories&quot;&gt;3. Delete Empty Directories&lt;/h2&gt;
&lt;p&gt;After we saved all Files we want to keep, we can cleanup our Backup and delete all empty Directories. 
This will make it easier to restore the Backup.&lt;/p&gt;

&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;find . -type d -empty -delete
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;h2 id=&quot;4-save-pacman&quot;&gt;4. Save Pacman&lt;/h2&gt;
&lt;p&gt;We can save a lot of Time and speed up the installation on a new system, 
if we save a &lt;a href=&quot;https://wiki.archlinux.org/index.php/Pacman/Tips_and_tricks#List_of_installed_packages&quot;&gt;List of installed Packages&lt;/a&gt; called &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;pkglist.txt&lt;/code&gt;:&lt;/p&gt;

&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;sudo pacman -Qqe &amp;gt; pkglist.txt
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
</description>
        <pubDate>Fri, 02 Mar 2018 00:00:00 +0000</pubDate>
        <link>https://neoxn3il.netlify.app/backup-on-arch/</link>
        <guid isPermaLink="true">https://neoxn3il.netlify.app/backup-on-arch/</guid>
        
        
      </item>
    
      <item>
        <title>Partitioning on Arch</title>
        <description>&lt;p&gt;Today we want to partition a Disk, in order to &lt;a href=&quot;/backup-on-arch/&quot;&gt;backup our Linux ext4 Filesystem&lt;/a&gt;.
We use ext4, because it enables us to store all symbolic links, devices, permissions,
ownerships, modification times, ACLs, and extended attributes.&lt;/p&gt;

&lt;h3 id=&quot;1-get-disk-device-name&quot;&gt;1. Get Disk Device Name&lt;/h3&gt;
&lt;p&gt;First we need to know our &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;&amp;lt;diskname&amp;gt;&lt;/code&gt;.
To print our Block Special Devices, we run in Terminal:&lt;/p&gt;

&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;lsblk
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;In the resulting &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;NAME&lt;/code&gt; column we can see the names of all our Disks and Partitions.&lt;/p&gt;

&lt;h3 id=&quot;2-clear-partition-table&quot;&gt;2. clear Partition Table&lt;/h3&gt;
&lt;p&gt;We can now use the &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;&amp;lt;diskname&amp;gt;&lt;/code&gt; to clear the the PartitionTable to make a clean setup.
&lt;a href=&quot;https://wiki.archlinux.org/index.php/Fdisk#gdisk&quot;&gt;gdisk&lt;/a&gt; helps us with that:&lt;/p&gt;

&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;sudo gdisk /dev/&amp;lt;diskname&amp;gt;
d
n
w
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;h3 id=&quot;3-format-disk&quot;&gt;3. Format Disk&lt;/h3&gt;
&lt;p&gt;With &lt;a href=&quot;https://wiki.archlinux.org/index.php/Fdisk&quot;&gt;fdisk&lt;/a&gt;
we can format our Disk to Type Linux:&lt;/p&gt;

&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;sudo fdisk /dev/&amp;lt;diskname&amp;gt;
d
n
p
w
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;h3 id=&quot;4-set-filesystem-type&quot;&gt;4. Set Filesystem Type&lt;/h3&gt;
&lt;p&gt;We can once again run &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;lsblk&lt;/code&gt; to get the name of our part &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;&amp;lt;partname&amp;gt;&lt;/code&gt;.
Then we can set our Filesystem Type to &lt;a href=&quot;https://wiki.archlinux.org/index.php/Ext4&quot;&gt;ext4&lt;/a&gt;
via the Terminal:&lt;/p&gt;

&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;sudo mkfs.ext4 -qF /dev/&amp;lt;partname&amp;gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;h3 id=&quot;5-label-disk-partition&quot;&gt;5. Label Disk Partition&lt;/h3&gt;
&lt;p&gt;Labels are used to auto mount &lt;a href=&quot;https://wiki.archlinux.org/index.php/Persistent_block_device_naming#by-label&quot;&gt;Partitions&lt;/a&gt;
We can now name our &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;&amp;lt;partname&amp;gt;&lt;/code&gt;, by choosing a &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;&amp;lt;label&amp;gt;&lt;/code&gt;:&lt;/p&gt;

&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;sudo e2label /dev/&amp;lt;partname&amp;gt; &amp;lt;label&amp;gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
</description>
        <pubDate>Thu, 01 Mar 2018 00:00:00 +0000</pubDate>
        <link>https://neoxn3il.netlify.app/partitioning-on-arch/</link>
        <guid isPermaLink="true">https://neoxn3il.netlify.app/partitioning-on-arch/</guid>
        
        
      </item>
    
      <item>
        <title>i3wm - Enabling MultiMedia keys</title>
        <description>&lt;p&gt;Today we want to use our MultiMedia Key in &lt;a href=&quot;https://i3wm.org/&quot;&gt;i3wm&lt;/a&gt;.&lt;/p&gt;

&lt;h2 id=&quot;optional-requirements&quot;&gt;optional Requirements&lt;/h2&gt;
&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;- pactl
- xbacklight
- playerctl We only have to install the Packages we want to via our MulitMedia Keys.
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;h2 id=&quot;i3-configs&quot;&gt;i3 Configs&lt;/h2&gt;
&lt;p&gt;Like suggested in the &lt;a href=&quot;https://faq.i3wm.org/question/3747/enabling-multimedia-keys.1.html&quot;&gt;i3vm FAQ&lt;/a&gt;
we just edit our &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;~/i3/config&lt;/code&gt; File and add the following keybindings:&lt;/p&gt;

&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;# Pulse Audio controls
bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume 0 +5% #increase sound volume
bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume 0 -5% #decrease sound volume
bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute 0 toggle # mute sound

# Sreen brightness controls
bindsym XF86MonBrightnessUp exec xbacklight -inc 5 # increase screen brightness
bindsym XF86MonBrightnessDown exec xbacklight -dec 5 # decrease screen brightness

# Touchpad controls
bindsym XF86TouchpadToggle exec /some/path/toggletouchpad.sh # toggle touchpad

# Media player controls
bindsym XF86AudioPlay exec playerctl play
bindsym XF86AudioPause exec playerctl pause
bindsym XF86AudioNext exec playerctl next
bindsym XF86AudioPrev exec playerctl previous
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;h2 id=&quot;touchpad-script&quot;&gt;Touchpad Script&lt;/h2&gt;
&lt;p&gt;The script toggletouchpad.sh for toggling your touchpad should have following content:&lt;/p&gt;

&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;#!/bin/bash
if synclient -l | grep &quot;TouchpadOff .*=.*0&quot; ; then
    synclient TouchpadOff=1 ;
else
    synclient TouchpadOff=0 ;
fi
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;h2 id=&quot;troubleshooting&quot;&gt;Troubleshooting&lt;/h2&gt;
&lt;p&gt;Playerctl is a command-line utility for controlling media players over DBus that works with most players.&lt;/p&gt;

&lt;p&gt;If the XF86* keysyms do not work, we can see the available keysyms for our computer by executing this command:&lt;/p&gt;

&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;xmodmap -pke
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Or xev, an interactive tool for finding key symbols:&lt;/p&gt;

&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;xev
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
</description>
        <pubDate>Mon, 13 Nov 2017 00:00:00 +0000</pubDate>
        <link>https://neoxn3il.netlify.app/i3wm-enabling-multimedia-keys/</link>
        <guid isPermaLink="true">https://neoxn3il.netlify.app/i3wm-enabling-multimedia-keys/</guid>
        
        
      </item>
    
      <item>
        <title>Installing WordPress Plugins on Arch Linux / Manjaro</title>
        <description>&lt;h2 id=&quot;initial-situation&quot;&gt;Initial Situation&lt;/h2&gt;
&lt;p&gt;We &lt;a href=&quot;/installing-wordpress-on-arch-manjaro/&quot;&gt;installed WordPress&lt;/a&gt; 
with all its dependencies on Arch Linux / Manjaro.
Now we want to Install Plugins.&lt;/p&gt;

&lt;h2 id=&quot;problem&quot;&gt;Problem&lt;/h2&gt;
&lt;p&gt;On clicking the Install Button in the Admin menu a window pops up with the following Message:&lt;/p&gt;

&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;Failed to connect to FTP Server

To perform the requested action, WordPress needs to access your web server. 
Please enter your FTP credentials to proceed. If you do not remember your 
credentials, you should contact your web host.
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;h2 id=&quot;solution&quot;&gt;Solution&lt;/h2&gt;
&lt;p&gt;Like suggested on &lt;a href=&quot;https://stackoverflow.com/questions/21316282/wordpress-plugin-installation-failed-to-connect-to-ftp-server-safest-solutio&quot;&gt;StackOverflow&lt;/a&gt; 
it is enough to add a single line of Code the File &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;/wp-config.php&lt;/code&gt; in our WordPress Directory:&lt;/p&gt;

&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;define('FS_METHOD', 'direct');
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
</description>
        <pubDate>Sun, 01 Oct 2017 00:00:00 +0000</pubDate>
        <link>https://neoxn3il.netlify.app/installing-wordpress-plugins/</link>
        <guid isPermaLink="true">https://neoxn3il.netlify.app/installing-wordpress-plugins/</guid>
        
        
      </item>
    
      <item>
        <title>Fixing PhpStorm SCSS File Watcher</title>
        <description>&lt;h2 id=&quot;initial-situation&quot;&gt;Initial Situation&lt;/h2&gt;
&lt;p&gt;We installed PhpStorm on Arch Linux / Manjaro by following the installation official Guide. 
We setup the SCSS File Watcher as described in the &lt;a href=&quot;https://www.jetbrains.com/help/phpstorm/compiling-sass-less-and-scss-to-css.html&quot;&gt;JetBrains Guide&lt;/a&gt;.&lt;/p&gt;

&lt;h2 id=&quot;problem&quot;&gt;Problem&lt;/h2&gt;
&lt;p&gt;When activated the PhpStorm SCSS File Watcher throws this Exception:&lt;/p&gt;

&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;/usr/lib/node_modules/less/bin/lessc --no-cache --update test.scss:test.css
Unable to interpret argument no-cache - if it is a plugin (less-plugin-no-cache), make sure that it is installed under or at the same level as less
Unable to interpret argument update - if it is a plugin (less-plugin-update), make sure that it is installed under or at the same level as less
lessc: ENOENT: no such file or directory, open '.../PhpstormProjects/Project/test.scss:test.css'

Process finished with exit code 1
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;h2 id=&quot;solution&quot;&gt;Solution&lt;/h2&gt;
&lt;p&gt;Use the File Watcher Program by &lt;a href=&quot;http://sass-lang.com/&quot;&gt;sass-lang.com&lt;/a&gt;. 
This Solution can be applied to all File Watchers by JetBrains&lt;/p&gt;

&lt;h3 id=&quot;requirements&quot;&gt;Requirements&lt;/h3&gt;
&lt;p&gt;We will use &lt;a href=&quot;https://www.npmjs.com/&quot;&gt;npm&lt;/a&gt; to install Sass.
On Arch Linux we run in Terminal:&lt;/p&gt;

&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;sudo pacman -S npm
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;h3 id=&quot;installation&quot;&gt;&lt;a href=&quot;http://sass-lang.com/install&quot;&gt;Installation&lt;/a&gt;&lt;/h3&gt;

&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;sudo npm install -g sass
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;h3 id=&quot;setup-in-phpstorm&quot;&gt;Setup in PhpStorm&lt;/h3&gt;
&lt;p&gt;Use Sass Preprocessor as Program in File Watcher&lt;/p&gt;
&lt;ol&gt;
  &lt;li&gt;got to &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;File &amp;gt; Settings &amp;gt; Tools &amp;gt; File Watchers&lt;/code&gt;&lt;/li&gt;
  &lt;li&gt;edit/add SCSS File Watcher&lt;/li&gt;
  &lt;li&gt;use the Program at Path: &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;/usr/bin/scss&lt;/code&gt;&lt;/li&gt;
&lt;/ol&gt;
</description>
        <pubDate>Mon, 25 Sep 2017 00:00:00 +0000</pubDate>
        <link>https://neoxn3il.netlify.app/fixing-phpstorm-scss-file-watcher/</link>
        <guid isPermaLink="true">https://neoxn3il.netlify.app/fixing-phpstorm-scss-file-watcher/</guid>
        
        
      </item>
    
      <item>
        <title>Installing WordPress on Arch/Manjaro</title>
        <description>&lt;p&gt;In order to develop a &lt;a href=&quot;https://wordpress.org/&quot;&gt;WordPress&lt;/a&gt; 
&lt;a href=&quot;https://codex.wordpress.org/Theme_Development&quot;&gt;Theme&lt;/a&gt; or 
&lt;a href=&quot;https://codex.wordpress.org/Writing_a_Plugin&quot;&gt;Plugin&lt;/a&gt; 
we might want to be able to run it locally. 
That is necessary if you develop offline, have no Server at your disposal or 
want to see the changes you make instantly. 
Setting up a WordPress instance on Windows and Mac is pretty convenient, 
because you can use Software Bundles like &lt;a href=&quot;http://www.wampserver.com/en/&quot;&gt;WAMP&lt;/a&gt; 
and &lt;a href=&quot;https://www.mamp.info/en/&quot;&gt;MAMP&lt;/a&gt;, 
which provide &lt;a href=&quot;https://httpd.apache.org/&quot;&gt;Apache&lt;/a&gt;, 
&lt;a href=&quot;https://www.mysql.com/&quot;&gt;MySQL&lt;/a&gt; and &lt;a href=&quot;http://php.net/manual/en/intro-whatis.php&quot;&gt;PHP&lt;/a&gt; 
out of the box.&lt;/p&gt;

&lt;p&gt;If you are using &lt;a href=&quot;https://www.archlinux.org/&quot;&gt;Arch Linux&lt;/a&gt; or a distribution based on it 
like &lt;a href=&quot;https://manjaro.org/&quot;&gt;Manjaro&lt;/a&gt;, 
this little tale of my installation Odyssey may be what you are looking for.&lt;/p&gt;

&lt;h2 id=&quot;starting-out-with-nothing&quot;&gt;Starting out with nothing&lt;/h2&gt;
&lt;p&gt;We begin our journey with a fresh installation of Manjaro. 
Before we can start installing WordPress, we should install all the Software it depends on.
Namely &lt;a href=&quot;/installing-apache-on-arch-manjaro/&quot;&gt;Apache&lt;/a&gt;, 
&lt;a href=&quot;/installing-php-for-apache-on-arch-manjaro/&quot;&gt;PHP&lt;/a&gt; and 
&lt;a href=&quot;/installing-mysql-for-apache-on-arch-manjaro/&quot;&gt;MySQL&lt;/a&gt;&lt;/p&gt;

&lt;h2 id=&quot;installing-wordpress&quot;&gt;Installing WordPress&lt;/h2&gt;
&lt;p&gt;The &lt;a href=&quot;https://wiki.archlinux.org/index.php/Wordpress&quot;&gt;Tutorial&lt;/a&gt; 
provided by  &lt;a href=&quot;https://wiki.archlinux.org&quot;&gt;wiki.archlinux.org&lt;/a&gt; 
describes everything we need and more. Here is the gist:&lt;/p&gt;

&lt;h3 id=&quot;1-install-the-wordpress-package&quot;&gt;1. Install the wordpress package:&lt;/h3&gt;
&lt;p&gt;run  in Terminal:&lt;/p&gt;

&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;pacman -S wordpress
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;h3 id=&quot;2-configure-apache&quot;&gt;2. Configure Apache&lt;/h3&gt;
&lt;p&gt;create File &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;/etc/httpd/conf/extra/httpd-wordpress.conf&lt;/code&gt; with content:&lt;/p&gt;

&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;Alias /wordpress &quot;/usr/share/webapps/wordpress&quot;
&amp;lt;Directory &quot;/usr/share/webapps/wordpress&quot;&amp;gt;
	AllowOverride All
	Options FollowSymlinks
	Require all granted
&amp;lt;/Directory&amp;gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;edit the Apache configuration File &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;/etc/httpd/conf/httpd.conf&lt;/code&gt; and add:&lt;/p&gt;

&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;Include conf/extra/httpd-wordpress.conf
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;h3 id=&quot;3-restart-apache&quot;&gt;3. Restart Apache&lt;/h3&gt;
&lt;p&gt;run in Terminal:&lt;/p&gt;

&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;sudo apachectl restart
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;h3 id=&quot;4-configure-mysql&quot;&gt;4. Configure MySQL&lt;/h3&gt;
&lt;p&gt;Make sure that MySQL is running!
To start it run in Terminal:&lt;/p&gt;

&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;sudo systemctl start mysqld
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Login as root, create a user and database:&lt;/p&gt;

&lt;div class=&quot;language-plaintext highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;mysql -u root -p
CREATE DATABASE wordpress;
GRANT ALL PRIVILEGES ON wordpress.* TO &quot;root&quot;@&quot;localhost&quot; IDENTIFIED BY &quot;&quot;;
FLUSH PRIVILEGES;
EXIT
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;h2 id=&quot;achievements&quot;&gt;Achievements&lt;/h2&gt;
&lt;p&gt;Now that we have finished all the necessary installations and configurations. 
We are finally able to use WordPress at 
&lt;a href=&quot;http://localhost/wordpress/&quot;&gt;http://localhost/wordpress&lt;/a&gt;.
All further configuration should be pretty straightforward.&lt;/p&gt;
</description>
        <pubDate>Sun, 24 Sep 2017 00:00:00 +0000</pubDate>
        <link>https://neoxn3il.netlify.app/installing-wordpress-on-arch-manjaro/</link>
        <guid isPermaLink="true">https://neoxn3il.netlify.app/installing-wordpress-on-arch-manjaro/</guid>
        
        
      </item>
    
  </channel>
</rss>
