Setup manjaro box

Example lead - highlighted near the title

Setup manjaro box
Page content

Installation instructions MANJARO

latest version: Jan13 2021

Compilation of AUR repositories

sudo pacman -S base-devel

then run makepkg -si

Applications

gitkraken

cd /home/marcnol/Downloads
wget https://release.gitkraken.com/linux/gitkraken-amd64.tar.gz
sudo tar -xvzf gitkraken-amd64.tar.gz
mv gitkraken /usr/local/
ln -s /usr/local/gitkraken/gitkraken gitkraken

typora binary

wget https://typora.io/linux/Typora-linux-x64.tar.gz
tar xzvf Typora-linux-x64.tar.gz
mv Typora-linux-x64.tar.gz /usr/local/bin
ln -s /usr/local/typora/Typora-linux-x64/Typora /usr/local/bin/typora

anaconda

cd /home/marcnol/Downloads
wget https://repo.anaconda.com/archive/Anaconda3-2020.02-Linux-x86_64.sh
bash ~/Downloads/Anaconda3-2020.02-Linux-x86_64.sh

tilix

pacman -S tilix

insync 1

cd ~/Downloads
git clone https://aur.archlinux.org/insync.git
cd insync
makepkg -si

insync2

sudo pacman -S base-devel
git clone https://aur.archlinux.org/insync.git insync_install
cd insync_install
makepkg -si 

dropbox

cd /home/marcnol/Downloads/
git clone https://aur.archlinux.org/dropbox.git
cd dropbox
wget https://linux.dropbox.com/fedora/rpm-public-key.asc
gpg --import rpm-public-key.asc
makepkg -si

make -rf ~/.dropbox-dist % # does not seem to do anything...!
install -dm0 ~/.dropbox-dist

inkscape nextcloud pandoc installed through the apps center GUI

#nextcloud

install nextcloud client Open and select then put address:

https://mycore.core-cloud.net/

use username and passwd.

Make sure you use your ‘local’ owncloud password. To make: https://sos.labri.fr/ressource/public/mycore/myCoRe_Premiers_pas.pdf

fortune

git clone https://aur.archlinux.org/fortune-mod-archlinux.git
cd into directory and do
makepkg -si

imageJ

git clone https://aur.archlinux.org/imagej.git
cd into directory and do
makepkg -si

pdftk for merging PDF files

pacman -S pdftk

Configuration

openvpn

cd /home/marcnol/Downloads/
git clone https://github.com/jonathanio/update-systemd-resolved.git
cd /home/marcnol/Downloads/update-systemd-resolved
pacman -S make
make
systemctl enable systemd-resolved.service

then edit Linux.conf to replace

up /etc/openvpn/update-resolv-conf
down /etc/openvpn/update-resolv-conf

by

up /etc/openvpn/scripts/update-systemd-resolved
down /etc/openvpn/scripts/update-systemd-resolved

the you can run script as usual:

openvpn --config Linux_client.conf

installing iphone

pacman -Syyuu libimobiledevice

if the device does not pair, run:

idevicepair pair

rsnapshot using rsync

Full Instructions: https://wiki.archlinux.org/index.php/Rsync#As_a_backup_utility

Backup script

Create the file /etc/cron.daily/backup with:

$ nano /etc/cron.daily/backup
#!/bin/bash
rsync -aAXHv --delete --info=progress2 --exclude={"/dev/*","/proc/*","/sys/*","/tmp/*","/run/*","/mnt/*","/media/*","/lost+found"} / /mnt/disk2/system-backup

Change permissions

chmod +x /etc/cron.daily/backup

Cronjob

add the following line to crontab using $ crontab -e

00 00 * * *     /etc/cron.daily/backup

run for the first time doing:

/etc/cron.daily/backup

Restoring If you wish to restore a backup, use the same rsync command that was executed but with the source and destination reversed.

UPDATE Notices

31 Aug 2020 ==> Warning: -> Kernel has been updated. Modules of the current kernel -> have been backed up so you can continue to use your -> computer. However, the new kernel will only work -> at next boot.

(28/34) Install Manjaro extensions settings (29/34) Collection of usefull scripts for Manjaro Gnome

==> Printing support installed

==> We have switched into qgnomeplatform instead qt5ct so now -> qt5ct -> qt5-styleplugins are marked as orphans. If you want you can continue to use this two packages but if you want use qgnomeplatform engine you need to modify your /etc/environment with this changes: remove or comment this: -> QT_QPA_PLATFORMTHEME=qt5ct add: -> QT_AUTO_SCREEN_SCALE_FACTOR=1 -> QT_QPA_PLATFORMTHEME=gnome -> QT_STYLE_OVERRIDE=kvantum This is all