2021-02-20
:: Paulo Pereira
#Linux
#Arch Linux
#Gitlab
I’ve been using Keybase to manage my dotfiles with git. Do give it a read to learn how I’m doing it.
This is just how I moved the git server-side from Keybase to Gitlab.
2021-02-07
:: Paulo Pereira
#Linux
#Arch Linux
#LibreWolf
I talked about LibreWolf last month, and how I made profile-sync-daemon work.
The way I did made Firefox stop working, so this is the better way.
2021-01-31
:: Paulo Pereira
#Linux
#Arch Linux
#NTP
systemd-timesyncd is a daemon that has been added for synchronizing the system clock across the network. (…)
Basically it makes sure your system clock is in sync in you network. In my home network I set this up to make sure my desktop, server and laptop are in sync.
2021-01-30
:: Paulo Pereira
#Linux
#Arch Linux
#Seafile
Yesterday I woke up without access to my Seafile instance.
Here’s my notes/steps/fixes for the issue.
2021-01-16
:: Paulo Pereira
#Linux
#Arch Linux
#LibreWolf
LibreWolf is a fork of Firefox, focused on privacy, security and freedom.
paru -S librewolf-bin
2021-01-09
:: Paulo Pereira
#Linux
#Arch Linux
After improving my boot time the last time, some (not all) boots were still taking time. It seemed to pause somewhere before the login screen.
Analyzing the systemd
critical chain, looking for errors in journalctl
and some web searching, I found an issue in systemd
that matched my problem.
2020-12-06
:: Paulo Pereira
#Linux
#Arch Linux
#Starship
Starship is a minimal, blazing-fast, and infinitely customizable prompt for any shell.
paru starship-bin
2020-11-01
:: Paulo Pereira
#Linux
#Arch Linux
#Paru
Paru is an AUR helper and pacman wrapper written in Rust and based on the design of yay
.
yay -S paru-bin
2020-09-25
:: Paulo Pereira
#Linux
#Arch Linux
#Calibre
#Books
Calibre 5 is out.
2020-09-24
:: Paulo Pereira
#Linux
#Arch Linux
#Calibre
#Books
I’ve been playing around and migrating my book library to
Calibre.
2020-09-23
:: Paulo Pereira
#Linux
#Arch Linux
#BorgBackup
#BorgBase
Since my last post on BorgBackup and BorgBase, I have subscribed to a 1 TB annual plan and have my daily and weekly /home backups running.
The next thing to setup is my system backups. For this (for now) I’m using a more weekly manually approach.
sudo pacman -S borgsudo pacman -S borg
2020-09-06
:: Paulo Pereira
#Linux
#Arch Linux
#Android
#gpodder
#gpodder.net
#AntennaPod
I’ve been using PocketCasts to listen to my podcasts for quite some time. In Android using with the app and in Linux in the website (using MellowPlayer).
But I’ve also been looking to a more open source way to listen to my podcasts.
I’m using for two weeks now AntennaPod in Android, gpodder.net to manage my subscriptions and gpodder in Arch Linux.
2020-08-23
:: Paulo Pereira
#Linux
#Arch Linux
#BorgBackup
#BorgBase
#Vorta
I’ve been using a mix of my own scripts with tar/gpg and duplicity to manage my backups (local and remote).
For some time now duplicity has been my choice, but lately it seems that every time a backup is interrupted it doesn’t restart at the archive it was at, but it starts from the beginning.
2020-08-22
:: Paulo Pereira
#Linux
#Arch Linux
I was investigating and issue with duplicity when I stumbled with systemd-analyze
.
So I started to see what was contributing for my boot time and after that I started too see how to improved.
This is by no means a guide, but just what I changed to improve.
2020-08-02
:: Paulo Pereira
#Linux
#Arch Linux
#Reflector
Reflector is a script which can retrieve the latest mirror list from the MirrorStatus page, filter the most up-to-date mirrors, sort them by speed and overwrite the file /etc/pacman.d/mirrorlist
.
yay -S reflector
2020-07-05
:: Paulo Pereira
#Linux
#Arch Linux
#Seafile
I’ve waiting to upgrade to Seafile 7.1 because I keep my installation mannually and I wasn’t finding the *x86-64.tar.gz option to download. After asking in the forums, I discovered it’s just a change of name.
Don’t forget to read the release notes from Seafile.
2020-05-09
:: Paulo Pereira
#Linux
#Arch Linux
#NUC
#Seafile
#sabnzbd
#sickchill
#plex
Time to setup my new NUC7i3BNH.
I will install Arch Linux with no window manager and it will act as my home server with Seafile, Plex, Sickchill, sabnzbd, etc..
2020-01-01
:: Paulo Pereira
#Linux
#Arch Linux
#Git
#Keybase
I’ve been searching the best way to manage my dotfiles using git.
2019-11-30
:: Paulo Pereira
#Linux
#Arch Linux
#Surface Go
Surface Go Surface Go (10'' - Intel Pentium Gold 4415Y - RAM: 8 GB - 128 GB SSD - Intel HD 615) Surface Go Black Type Cover Final setup Run only Linux Arch Linux Gnome Preparation Needed hardware Surface Go Surface Go Keyboard or USB keyboard/mouse USB pen drive USB Ethernet adapter USB-C to USB adapter + USB Hub or USB-C hub Burn ISO to USB pen drive Download the Arch Linux ISO.
2019-08-13
:: Paulo Pereira
#Linux
#Arch Linux
#Thunar
My favorite file manager is Thunar, but it hasn’t folder thumbnails by default.
Here’s how to enable it.
Install tumbler and imagemagick yay -S tumbler imagemagick Create the following a folder.thumbnailer file and add the following sudo vi /usr/share/thumbnailers/folder.thumbnailer [Thumbnailer Entry] Version=1.0 Encoding=UTF-8 Type=X-Thumbnailer Name=Folder Thumbnailer MimeType=inode/directory; Exec=/usr/bin/folder-thumbnailer %s %i %o %u Create the folder-thumbnailer script sudo vi /usr/bin/folder-thumbnailer #!/bin/bash convert -thumbnail "$1" "$2/folder.jpg" "$3" 1>/dev/null 2>&1 ||\ convert -thumbnail "$1" "$2/.
2019-06-22
:: Paulo Pereira
#Linux
#Arch Linux
#pass
I’ve been using pass as my password manager for the last months.
In Linux, Android and Windows.
Here’s how I set it up and the apps that can be used.
Installation Arch Linux I installed pass, pass-otp for one time password support, dmenu for an easy way to copy your passwords to the clipboard and if you prefer qtpass foi a gui application.
sudo pacman -S pass pass-otp dmenu qtpass You can use the command passmenu to open a list of your passwords using dmenu.
2019-02-09
:: Paulo Pereira
#Linux
#Arch Linux
#Xfce
2018-04-14
:: Paulo Pereira
#Linux
#Arch Linux
#ProtonVPN
2017-11-07
:: Paulo Pereira
#Linux
#Arch Linux
#Synaptics
Here’s how I set things up to automatically disable the touchpad while typing in my laptop, using the driver’s automatic palm detection.
These are just my notes. Check the entire Arch Wiki entry on Touchpad Synaptics.
First of all you should test if it works properly for your touchpad and if the settings are accurate. Enable palm detection with synclient PalmDetect=1.
Then test the typing. You can tweak the detection by setting the minimum width for the touch to be considered a palm, for example synclient PalmMinWidth=8.
2017-05-28
:: Paulo Pereira
#Linux
#Arch Linux
#Seafile
These are my notes about installing Seafile in my Arch Linux home server.
Note: I have reviewed and added to these notes several times.
I’m using:
Seafile A NUC with Arch Linux as my home server A WD My Cloud NAS Setup a NAS share Create a new share seafile
Create a new directory in the server
sudo mkdir /home/nas/seafile sudo chmod 750 /home/nas/seafile sudo chown seafile:seafile /home/nas/seafile Setup a mountpoint in the server sudo vi /etc/fstab nas:/nfs/seafile /home/nas/seafile nfs users,noauto,x-systemd.
2016-12-14
:: Paulo Pereira
#Linux
#Arch Linux
#TagSpaces
I’ve been using TagSpaces from some time now, and I ended up to buy a Pro version.
You get the Pro version by receiving a download link by email. I’m on Arch Linux and the pro versions provided are not for Arch, but it has a .deb version.
Here’s how to install it on Arch. Updating is basically the same.
yaourt -S xarchiver electron libgcrypt15 cd ~/Downloads mv tagspaces-pro-2.5.0-amd64.deb tagspaces-pro-2.5.0-amd64.ar xarchiver -x .
2016-12-04
:: Paulo Pereira
#Linux
#Arch Linux
#Gnome
2016-12-04
:: Paulo Pereira
#Linux
#Arch Linux
#Reflector
#pacman
2016-11-28
:: Paulo Pereira
#Linux
#Arch Linux
#rsync.net
#gpg
I use rsync.net for my cloud/offline backups.
Here’s how to do gpg encrypted backups.
Mount rsync.net using sshfs and create a backup folder mkdir -p /home/your_user/rsync.net/ sshfs
99999@server.rsync.net: /home/your_user/rsync.net/ mkdir -p /home/your_user/rsync.net/backups/ Create and encript a directory tar –xattrs -czpvf /tmp/2016-11-28_my_dir.tgz -C /home/your_user/my_dir . gpg –cipher-algo aes256 -c -o /home/your_user/rsync.net/backups/2016-11-28_my_dir.tgz.gpg /tmp/2016-11-28_my_dir.tgz Restore and decrypt a directory mkdir -p /tmp/extract cd /tmp/extract gpg -o- /tmp/2016-11-28_my_dir.tgz.gpg | tar zxvf - Unmount rsync.
2016-11-27
:: Paulo Pereira
#Linux
#Arch Linux
#rsync.net
#ecryptfs
I use rsync.net for my cloud/offline backups.
Here’s how to do encrypted backups using ecryptfs.
Install ecryptfs-utils sudo pacman -S ecryptfs-utils Generate a passphrase ecryptfs-setup-private –nopwcheck –noautomount Mount rsync.net using sshfs and create a backup folder mkdir -p /home/your_user/rsync.net/ sshfs
99999@server.rsync.net: /home/your_user/rsync.net/ mkdir -p /home/your_user/rsync.net/backups/ Mount the backups folder as an encrypted filesystem and copy some files sudo mount -t ecryptfs ~/.Private /home/your_user/rsync.
2016-11-10
:: Paulo Pereira
#Linux
#Arch Linux
#pacman
2016-11-07
:: Paulo Pereira
#Linux
#Arch Linux
#Nextcloud
There are my notes for installing Nextcloud in Arch Linux in my home server.
Server installation sudo pacman -Syu apache php php-apache mariadb cower -d nextcloud sudo pacman -Syu php-gd php-intl php-mcrypt php-apcu PHP configuration sudo nano /etc/php/php.ini Uncomment the following modules:
gd.so iconv.so xmlrpc.so zip.so extension=pdo_mysql.so bz2.so curl.so intl.so mcrypt.so Add the following to open_basedir:
/tmp:/usr/share/webapps/nextcloud:/dev/urandom
MariaDB setup sudo mysql_install_db -–user=mysql -–basedir=/usr -–datadir=/var/lib/mysql sudo systemctl enable mariadb.service sudo systemctl start mariadb.
2013-06-14
:: Paulo Pereira
#Linux
#Arch Linux
#GNOME
In my Arch adventures I added my Google account in the Online Accounts.
Online Accounts"
Having the 2-Step Verification activated, after I logged in with my password, and entered the token, the account the credentials expired.
After trying again, same thing.
I’m in Arch with GNOME 3.8.3.
So, after some googling I found a solution in the Arch forum.
Generate a Google Application-specific password; Go to Passwords and Keys (seahorse); Find your Google credentials (something like “GOA google credentials…"); Right click > Properties; Click on Show password; Replace your password with the application-specific password you generated: {‘authorization_code’: (……), ‘password’: <‘YOUR_APPLIC_SPECIFIC_PASS’>}
2013-06-10
:: Paulo Pereira
#Linux
#Arch Linux
In this part I will show the extra programs I installed.
I will keep updating this post in the next weeks, to add more programs installed.
This is the list of programs I have installed:
Chrome (download from AUR) mkdir builds cd builds tar -xzf google-chrome-beta.tar.gz cd google-chrome-beta makepkg -s sudo pacman -U google-chrome-beta-28.0.1500.36-1-x86_64.pkg.tar.xz GNOME Tweak Tool sudo pacman -S gnome-tweak-tool Tomboy sudo pacman -S tomboy To get my notes I recovered the following folders from my /home backup:
2013-06-09
:: Paulo Pereira
#Linux
#Arch Linux
In this part I will show the customizations I made in the desktop environment.
I will keep updating this post in the next weeks, in case I have other tips.
Fonts I like Ubuntu fonts so:
sudo pacman -S ttf-ubuntu-font-family GNOME Shell tweaks Install GNOME Tweak Tool:
sudo pacman -S gnome-tweak-tool Some changes I made:
Files Menu: activated the option to always use the location entry. Fonts: I changed all the fonts to Ubuntu.
2013-06-09
:: Paulo Pereira
#Linux
#Arch Linux
In this part I will show the fine tuning I made in the system. I will keep updating this post in the next weeks, in case I have other tips.
fstab Since I have the system installed in a SSD drive, I changed the mount flags in fstab to trim the drive:
sudo nano /etc/fstab UUID=aee33023-2254-42fc-94ac-612314eeb332 / ext4 noatime,discard,data=ordered,errors=remount-ro 0 1 UUID=114aaab1-1cb8-4853-bacc-819237d2d063 /boot ext4 noatime,discard,data=ordered,errors=remount-ro 0 2 I also mounted /tmp in memory:
2013-06-09
:: Paulo Pereira
#Linux
#Arch Linux
Inspired by the recent Linux Action Show experience with Arch, I decided to give it a try.
I have now completely changed from Ubuntu to Arch.
Any tips or advises please let me know.
Resources
Arch home page Read the Arch Way Arch Wiki Arch Beginners Guide Arch Forums Backups
Since I will format and install Arch I need to backup my /home partition.
I created a Ubuntu USB Live Disk, rebooted into the live environment and backed up all my files.