sudo dnf install git zsh bc tmux pwgen vimchsh -s /bin/zshzshsh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"mkdir ~/gitcd ~/gitgit clone https://www.github.com/manto89/myconfcp ./myconf/.zshrc ~/cp -r ./myconf/.oh-my-zsh ~/vim ~/.zshrcEdit .zshrc, substitute $USER with your user
export ZSH=/home/$USER/.oh-my-zshUpdate zsh config
source ~/.zshrcOpen Konsole and create a new Profile (Settings > Configure Konsole). Under command insert
/bin/zsh -i -c "tmux attach-session -t $USER || tmux new-session -s $USER"Save the profile and assign as default
sudo dnf install claws-mail claws-mail-plugins-pdf-viewer claws-mail-plugins-vcalendar claws-mail-plugins-fancy claws-mail-plugins-address-keeperSignature is configured in Configuration > [select account] > Edit.. > Compose > Signature and usually is a file stored in $HOME\.signature
sudo dnf install borgbackup borgmaticsudo dnf install virt-managerSince kvm only allows one shared folder, edit /etc/fstab to use bind mounts
sudo vim /etc/fstabAdd these lines, changing home directory as needed
/home/USER/Downloads /home/USER/WindowsShared/Downloads none bind
/home/USER/Documents /home/USER/WindowsShared/Documents none bind
Then create all the folders
mkdir -p /home/USER/WindowsShared/Downloads
mkdir -p /home/USER/WindowsShared/DocumentsIf needed, mount all partitions by reloading fstab file
sudo mount -asudo dnf install podman podman-composecurl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.4/install.sh | bashsudo dnf install texlive texlive-latex texlive-xetex texlive-lastpage texlive-sectsty texlive-ulem texlive-makecell texlive-fancyhdr dejavu-fonts-all---DEPRECATED---
sudo dnf -y install @development-toolssudo dnf -y install kernel-headers kernel-devel dkms elfutils-libelf-develcat <<EOF | sudo tee /etc/yum.repos.d/virtualbox.repo
[virtualbox]
name=Fedora \$releasever - \$basearch - VirtualBox
baseurl=http://download.virtualbox.org/virtualbox/rpm/fedora/38/\$basearch
enabled=1
gpgcheck=1
repo_gpgcheck=1
gpgkey=https://www.virtualbox.org/download/oracle_vbox_2016.asc
EOFsudo dnf install -y VirtualBox-7.0 virtualbox-guest-additionsFor some reasons the Fedora repo doesn't include dependencies. Use Centos repo
cat <<EOF | sudo tee /etc/yum.repos.d/AnyDesk-Fedora.repo
[anydesk]
name=AnyDesk Fedora - stable
baseurl=http://rpm.anydesk.com/centos/$basearch/
gpgcheck=1
repo_gpgcheck=1
gpgkey=https://keys.anydesk.com/repos/RPM-GPG-KEY
EOFsudo dnf install anydesksudo zypper in git make zsh bc tmux pwgenchsh -s /bin/zshzshsh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"mkdir ~/gitcd ~/gitgit clone https://www.github.com/manto89/myconfcp ./myconf/.zshrc ~/cp -r ./myconf/.oh-my-zsh ~/vim ~/.zshrcEdit .zshrc, substitute $USER with your user
export ZSH=/home/$USER/.oh-my-zshUpdate zsh config
source ~/.zshrcOpen Konsole and create a new Profile (Settings > Configure Konsole). Under command insert
/bin/zsh -i -c "tmux attach-session -t $USER || tmux new-session -s $USER"Save the profile and assign as default
Download Rider, Pycharm, Idea. Then for each one extract in /opt and create link
sudo tar xvf ~/Downloads/JetBrains.Rider-2021.2.tar.gz -C /optsudo ln -s /opt/JetBrains\ Rider-2021.2/bin/rider.sh /opt/rider sudo zypper in claws-mailFollow instructions at http://rpm.anydesk.com/howto.html
cat > AnyDesk-OpenSUSE.repo << "EOF" [anydesk]
name=AnyDesk OpenSUSE - stable
baseurl=http://rpm.anydesk.com/opensuse/$basearch/
gpgcheck=1
repo_gpgcheck=1
gpgkey=https://keys.anydesk.com/repos/RPM-GPG-KEY
EOF
sudo zypper addrepo --repo AnyDesk-OpenSUSE.repoGrab binaries from https://software.opensuse.org/download/package?package=pangox-compat&project=home%3Aberny%3Acamline and https://software.opensuse.org/download/package?package=libpangox-1_0-0&project=home%3Aberny%3Acamline and install manually
sudo rpm -ivh ./pangox-compat-0.0.2-4.14.x86_64.rpm
sudo rpm -ivh ./libpangox-1_0-0-0.0.2-4.14.x86_64.rpmThen install anydesk
sudo zypper in anydesksudo zypper in virtualboxLatestVirtualBoxVersion=$(wget -qO - http://download.virtualbox.org/virtualbox/LATEST.TXT) && wget "http://download.virtualbox.org/virtualbox/${LatestVirtualBoxVersion}/Oracle_VM_VirtualBox_Extension_Pack-${LatestVirtualBoxVersion}.vbox-extpack"sudo VBoxManage extpack install --replace Oracle_VM_VirtualBox_Extension_Pack-${LatestVirtualBoxVersion}.vbox-extpack foo@bar:~$ sudo apt install virtualbox virtualbox-guest-additions-isoTo uninstall
foo@bar:~$ sudo VBoxManage extpack uninstall "Oracle VM VirtualBox Extension Pack"As per https://jekyllrb.com/docs/installation/other-linux/
sudo zypper install -t pattern devel_ruby devel_C_C++sudo zypper install ruby-develecho '# Install Ruby Gems to ~/gems' >> ~/.bashrcecho 'export GEM_HOME="$HOME/gems"' >> ~/.bashrcecho 'export PATH="$HOME/gems/bin:$PATH"' >> ~/.bashrcsource ~/.bashrcgem install jekyll bundlerroot@bar:# apt-get install sudo
root@bar:# visudoEdit sudoers
foo ALL=(ALL:ALL) ALL
or
foo ALL=(ALL) NOPASSWD:ALL
Logout and login with user
sudo apt-get update && sudo apt-get upgrade
sudo apt-get install git curl zsh tree vim bc tmux
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
chsh -s /bin/zsh
zsh
git clone https://www.github.com/manto89/myconf
cp ./myconf/.zshrc ~/
cp -r ./myconf/.oh-my-zsh ~/
vim ~/.zshrcEdit .zshrc, substitute $USER with your user
export ZSH=/home/$USER/.oh-my-zsh
Update zsh config
source ~/.zshrcfoo@bar:$ sudo apt-get install i3In order to have ram usage in i3status
foo@bar:$ sudo apt-get install libconfuse-dev libyajl-dev libasound2-dev libiw-dev asciidoc libpulse-dev libnl-genl-3-dev
foo@bar:$ git clone https://github.com/i3/i3status.git
foo@bar:$ cd i3status
foo@bar:$ make && sudo make install
foo@bar:$ vim /etc/i3status.conf# i3status configuration file.
# see "man i3status" for documentation.
# It is important that this file is edited as UTF-8.
# The following line should contain a sharp s:
# ß
# If the above line is not correctly displayed, fix your editor first!
general {
colors = true
interval = 5
}
order += "ipv6"
order += "volume master"
order += "disk /"
order += "wireless _first_"
order += "ethernet _first_"
order += "cpu_temperature 0"
order += "battery all"
order += "load"
order += "memory"
order += "tztime local"
wireless _first_ {
format_up = "W: (%quality at %essid) %ip"
format_down = "W: down"
}
ethernet _first_ {
format_up = "E: %ip (%speed)"
format_down = "E: down"
}
battery all {
format = "%status %percentage %remaining"
}
tztime local {
format = "%Y-%m-%d %H:%M:%S"
}
load {
format = "CPU: %5min"
}
disk "/" {
format = "HDD: %avail"
}
volume master {
format = "♪: %volume"
format_muted = "♪: muted (%volume)"
device = "default"
mixer = "Master"
mixer_idx = 0
}
cpu_temperature 0 {
format = "T: %degrees °C"
path = "/sys/devices/platform/coretemp.0/hwmon/hwmon1/temp1_input"
}
memory {
format = "RAM: %available"
threshold_degraded = "1G"
format_degraded = "MEMORY < %available"
}
Create file .xinitrc
foo@bar:~$ vim ~/.xinitrcstart i3
Test for errors
foo@bar:~$ startxIf everything is fine add in the first line of .zshrc
foo@bar:~$ vim ~/.zshrcif [[ -z $DISPLAY ]] && [[ $(tty) = /dev/tty1 ]]; then
startx
fi
Reload i3
Meta+Shift+R
sudo update-alternatives --config x-terminal-emulatorInstall udiskie
foo@bar:~$ sudo apt-get install python-setuptools udisks2 python-pip python-gobject python-yaml libgio2.0 gobject-introspection libgtk2.0-0 libnotify4 gettext gir1.2-notify-0.7
foo@bar:~$ sudo pip install udiskieEdit the policy kit authorization file
foo@bar:~$ sudo vim /etc/polkit-1/localauthority/50-local.d/consolekit.pkla
Add the following text
[udiskie]
Identity=unix-group:plugdev
Action=org.freedesktop.udisks.*
ResultAny=yes
Add user to group
foo@bar:~$ sudo usermod -a -G plugdev $USERTest if there's any error
foo@bar:~$ udiskieIf everything is fine, edit .xinitrc
foo@bar:~$ vim ~/.xinitrcadd the following text
udiskie &
foo@bar:~$ sudo apt install virtualbox virtualbox-guest-additions-iso
foo@bar:~$ LatestVirtualBoxVersion=$(wget -qO - http://download.virtualbox.org/virtualbox/LATEST.TXT) && wget "http://download.virtualbox.org/virtualbox/${LatestVirtualBoxVersion}/Oracle_VM_VirtualBox_Extension_Pack-${LatestVirtualBoxVersion}.vbox-extpack"
foo@bar:~$ sudo VBoxManage extpack install --replace Oracle_VM_VirtualBox_Extension_Pack-${LatestVirtualBoxVersion}.vbox-extpack To uninstall
foo@bar:~$ sudo VBoxManage extpack uninstall "Oracle VM VirtualBox Extension Pack"Install Mono Develop
foo@bar:~$ sudo apt install apt-transport-https dirmngr
foo@bar:~$ sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
foo@bar:~$ echo "deb https://download.mono-project.com/repo/debian stable-stretch main" | sudo tee /etc/apt/sources.list.d/mono-official-stable.list
foo@bar:~$ sudo apt update
foo@bar:~$ sudo apt install mono-complete mono-xsp4 nodejs npmDownload and install rider
foo@bar:~$ wget https://download-cf.jetbrains.com/rider/JetBrains.Rider-2018.2.3.tar.gz
foo@bar:~$ tar -xvf ./JetBrains.Rider-2018.2.3.tar.gz
foo@bar:~$ sudo mkdir -p /opt/rider-2018.2.3
foo@bar:~$ sudo cp -r ./JetBrains.Rider-2018.2.3/* /opt/rider-2018.2.3/
foo@bar:~$ sudo ln -s /opt/rider /opt/rider-2018.2.3/bin/rider.sh