Skip to content

Instantly share code, notes, and snippets.

@takitani
Last active January 13, 2024 18:15
Show Gist options
  • Save takitani/647c68286eb6ce7625edf28fc11563c4 to your computer and use it in GitHub Desktop.
Save takitani/647c68286eb6ce7625edf28fc11563c4 to your computer and use it in GitHub Desktop.
Os Setup - Endeavour
==== EndeavourOS 202303 ====
KDE Plastma / Gnome
yay google-chrome
sudo pacman -S curl zsh git neofetch imwheel zenity freerdp copyq
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
sudo pacman -S flatpak
flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
-- reboot
flatpak install flathub com.authy.Authy
flatpak install flathub com.github.hluk.copyq
flatpak install flathub md.obsidian.Obsidian
flatpak install flathub com.meetfranz.Franz
flatpak install flathub io.missioncenter.MissionCenter
flatpak install flathub org.remmina.Remmina
rm -rf /home/opik/.var/app/org.remmina.Remmina/data/remmina || true ;
mkdir -p /home/opik/.var/app/org.remmina.Remmina/data/remmina
ln -s /home/opik/Dropbox/linux/.local/share/remmina /home/opik/.var/app/org.remmina.Remmina/data/remmina ;
yay visual-studio-code-bin
xdg-mime default org.gnome.Nautilus.desktop inode/directory
# yay copyq
# yay obsidian
# yay authy
# yay franz
yay remmina
yay dropbox
yay autokey
yay dotnet
yay aspnet-runtime
yay gnome-browser-connector
git clone https://github.com/zsh-users/zsh-autosuggestions.git $ZSH_CUSTOM/plugins/zsh-autosuggestions
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git $ZSH_CUSTOM/plugins/zsh-syntax-highlighting
rm -rf /home/opik/intelligence_ec2.pem || true ;
rm -rf /home/opik/mousewheel.sh || true ;
ln -s /home/opik/Dropbox/linux/home/intelligence_ec2.pem /home/opik/intelligence_ec2.pem ;
ln -s /home/opik/Dropbox/linux/home/mousewheel.sh /home/opik/mousewheel.sh ;
# Rodar manualmente uma vez o mousewhell.sh no home
# gnome sudo chmod a+x mousewheel.sh
./mousewheel.sh
criar o arquivo em ~/.config/autostart/imwheel.desktop
sudo nano ~/.config/autostart/imwheel.desktop
[Desktop Entry]
Type=Application
Exec=imwheel --kill --buttons "45"
Hidden=false
NoDisplay=false
X-GNOME-Autostart-enabled=true
Name[en_US]=mousewhell
Name=mousewhell
Comment[en_US]=
Comment=
rm -rf /home/opik/.ssh || true ;
ln -s /home/opik/Dropbox/linux/.ssh /home/opik/.ssh ;
chmod 400 ~/.ssh/id_rsa ;
eval $(ssh-agent) ;
ssh-add ;
rm -rf /home/opik/.bashrc || true
rm -rf /home/opik/.bash_history || true
rm -rf /home/opik/.zshrc || true
rm -rf /home/opik/.zsh_history || true
ln -s /home/opik/Dropbox/linux/home/.bashrc /home/opik/.bashrc ;
ln -s /home/opik/Dropbox/linux/home/.bash_history /home/opik/.bash_history ;
ln -s /home/opik/Dropbox/linux/home/.zshrc /home/opik/.zshrc ;
ln -s /home/opik/Dropbox/linux/home/.zsh_history /home/opik/.zsh_history ;
rm -rf /home/opik/.gitconfig || true ;
ln -s /home/opik/Dropbox/linux/home/.gitconfig /home/opik/.gitconfig ;
rm -rf /home/opik/.config/JetBrains/DataGrip2023.3 || true ;
ln -s /home/opik/Dropbox/linux/.config/JetBrains/DataGrip2023.3 /home/opik/.config/JetBrains/DataGrip2023.3 ;
rm -rf /home/opik/.config/JetBrains/Rider2023.3 || true ;
ln -s /home/opik/Dropbox/linux/.config/JetBrains/Rider2023.3 /home/opik/.config/JetBrains/Rider2023.3;
rm -rf /home/opik/.local/share/JetBrains/* -y || true;
ln -s /home/opik/Dropbox/linux/.local/share/JetBrains/* /home/opik/.local/share/JetBrains/ ;
rm -rf /home/opik/.local/share/remmina/ || true ;
ln -s /home/opik/Dropbox/linux/.local/share/remmina /home/opik/.local/share/remmina ;
rm -rf /home/opik/.config/autokey/ || true ;
ln -s /home/opik/Dropbox/linux/.config/autokey /home/opik/.config/autokey ;
mkdir -p /home/opik/Devel/exato/datasources ;
ln -s /home/opik/Dropbox/linux/home/Devel/exato/datasources/tessdata /home/opik/Devel/exato/datasources/ ;
mkdir -p /home/opik/Devel/tools ;
ln -s /home/opik/Dropbox/linux/home/Devel/tools/jetbrains-toolbox /home/opik/Devel/tools ;
ln -s /home/opik/Dropbox/linux/home/.pgpass /home/opik/.pgpass
# Ambiente .NET Intelligence
#Não atualizar versao do tesseract nem leptonica
sudo nano /etc/pacman.conf
# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
IgnorePkg = tesseract leptonica
# KDE Connect - portas firewall
sudo firewall-cmd --zone=public --permanent --add-port=1714-1764/tcp
sudo firewall-cmd --zone=public --permanent --add-port=1714-1764/udp
sudo systemctl restart firewalld.service
# Docker
set -e
yay -S docker
se der pau, yay -Syy docker
sudo usermod -aG docker $USER
newgrp docker
sudo systemctl enable docker
sudo systemctl start docker
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment