sudo dnf install git zsh bc tmux pwgen vim
chsh -s /bin/zsh
zsh
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
mkdir ~/git
cd ~/git
git clone https://www.github.com/manto89/myconf
cp ./myconf/.zshrc ~/
cp -r ./myconf/.oh-my-zsh ~/
vim ~/.zshrc
Edit .zshrc, substitute $USER with your user
export ZSH=/home/$USER/.oh-my-zsh
Update zsh config
source ~/.zshrc
Open 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-keeper
sudo dnf -y install @development-tools
sudo dnf -y install kernel-headers kernel-devel dkms elfutils-libelf-devel
cat <<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
EOF
sudo dnf install -y VirtualBox-7.0 virtualbox-guest-additions
sudo dnf install borgbackup borgmatic
For 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
EOF
sudo dnf install anydesk
sudo zypper in git make zsh bc tmux pwgen
chsh -s /bin/zsh
zsh
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
mkdir ~/git
cd ~/git
git clone https://www.github.com/manto89/myconf
cp ./myconf/.zshrc ~/
cp -r ./myconf/.oh-my-zsh ~/
vim ~/.zshrc
Edit .zshrc, substitute $USER with your user
export ZSH=/home/$USER/.oh-my-zsh
Update zsh config
source ~/.zshrc
Open 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 /opt
sudo ln -s /opt/JetBrains\ Rider-2021.2/bin/rider.sh /opt/rider
sudo zypper in claws-mail
Follow 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.repo
Grab 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.rpm
Then install anydesk
sudo zypper in anydesk
sudo zypper in virtualbox
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"
sudo VBoxManage extpack install --replace Oracle_VM_VirtualBox_Extension_Pack-${LatestVirtualBoxVersion}.vbox-extpack
foo@bar:~$ sudo apt install virtualbox virtualbox-guest-additions-iso
To 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-devel
echo '# Install Ruby Gems to ~/gems' >> ~/.bashrc
echo 'export GEM_HOME="$HOME/gems"' >> ~/.bashrc
echo 'export PATH="$HOME/gems/bin:$PATH"' >> ~/.bashrc
source ~/.bashrc
gem install jekyll bundler
root@bar:# apt-get install sudo
root@bar:# visudo
Edit 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 ~/.zshrc
Edit .zshrc, substitute $USER with your user
export ZSH=/home/$USER/.oh-my-zsh
Update zsh config
source ~/.zshrc
foo@bar:$ sudo apt-get install i3
In 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 ~/.xinitrc
start i3
Test for errors
foo@bar:~$ startx
If everything is fine add in the first line of .zshrc
foo@bar:~$ vim ~/.zshrc
if [[ -z $DISPLAY ]] && [[ $(tty) = /dev/tty1 ]]; then
startx
fi
Reload i3
Meta+Shift+R
sudo update-alternatives --config x-terminal-emulator
Install 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 udiskie
Edit 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 $USER
Test if there's any error
foo@bar:~$ udiskie
If everything is fine, edit .xinitrc
foo@bar:~$ vim ~/.xinitrc
add 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 npm
Download 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