Upload files to "others"
This commit is contained in:
parent
709181a358
commit
0f9ad23332
5 changed files with 600 additions and 0 deletions
19
others/amogus
Normal file
19
others/amogus
Normal file
|
@ -0,0 +1,19 @@
|
|||
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣠⣤⣤⣤⣤⣤⣤⣤⣤⣄⡀⠀⠀⠀⠀⠀⠀⠀⠀
|
||||
⠀⠀⠀⠀⠀⠀⠀⠀⢀⣴⣿⡿⠛⠉⠙⠛⠛⠛⠛⠻⢿⣿⣷⣤⡀⠀⠀⠀⠀⠀
|
||||
⠀⠀⠀⠀⠀⠀⠀⠀⣼⣿⠋⠀⠀⠀⠀⠀⠀⠀⢀⣀⣀⠈⢻⣿⣿⡄⠀⠀⠀⠀
|
||||
⠀⠀⠀⠀⠀⠀⠀⣸⣿⡏⠀⠀⠀⣠⣶⣾⣿⣿⣿⠿⠿⠿⢿⣿⣿⣿⣄⠀⠀⠀
|
||||
⠀⠀⠀⠀⠀⠀⠀⣿⣿⠁⠀⠀⢰⣿⣿⣯⠁⠀⠀⠀⠀⠀⠀⠀⠈⠙⢿⣷⡄⠀
|
||||
⠀⠀⣀⣤⣴⣶⣶⣿⡟⠀⠀⠀⢸⣿⣿⣿⣆⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣿⣷⠀
|
||||
⠀⢰⣿⡟⠋⠉⣹⣿⡇⠀⠀⠀⠘⣿⣿⣿⣿⣷⣦⣤⣤⣤⣶⣶⣶⣶⣿⣿⣿⠀
|
||||
⠀⢸⣿⡇⠀⠀⣿⣿⡇⠀⠀⠀⠀⠹⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡿⠃⠀
|
||||
⠀⣸⣿⡇⠀⠀⣿⣿⡇⠀⠀⠀⠀⠀⠉⠻⠿⣿⣿⣿⣿⡿⠿⠿⠛⢻⣿⡇⠀⠀
|
||||
⠀⣿⣿⠁⠀⠀⣿⣿⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸⣿⣧⠀⠀
|
||||
⠀⣿⣿⠀⠀⠀⣿⣿⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸⣿⣿⠀⠀
|
||||
⠀⣿⣿⠀⠀⠀⣿⣿⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸⣿⣿⠀⠀
|
||||
⠀⢿⣿⡆⠀⠀⣿⣿⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸⣿⡇⠀⠀
|
||||
⠀⠸⣿⣧⡀⠀⣿⣿⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣿⣿⠃⠀⠀
|
||||
⠀⠀⠛⢿⣿⣿⣿⣿⣇⠀⠀⠀⠀⠀⣰⣿⣿⣷⣶⣶⣶⣶⠶⠀⢠⣿⣿⠀⠀⠀
|
||||
⠀⠀⠀⠀⠀⠀⠀⣿⣿⠀⠀⠀⠀⠀⣿⣿⡇⠀⣽⣿⡏⠁⠀⠀⢸⣿⡇⠀⠀⠀
|
||||
⠀⠀⠀⠀⠀⠀⠀⣿⣿⠀⠀⠀⠀⠀⣿⣿⡇⠀⢹⣿⡆⠀⠀⠀⣸⣿⠇⠀⠀⠀
|
||||
⠀⠀⠀⠀⠀⠀⠀⢿⣿⣦⣄⣀⣠⣴⣿⣿⠁⠀⠈⠻⣿⣿⣿⣿⡿⠏⠀⠀⠀⠀
|
||||
⠀⠀⠀⠀⠀⠀⠀⠈⠛⠻⠿⠿⠿⠿⠋⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
|
20
others/favouriteapps.sh
Normal file
20
others/favouriteapps.sh
Normal file
|
@ -0,0 +1,20 @@
|
|||
#!/bin/bash
|
||||
echo "--------------------------------------------"
|
||||
echo " Install favourite apps "
|
||||
echo "--------------------------------------------"
|
||||
sudo dpkg --add-architecture i386
|
||||
sudo apt install syncthing steam-installer
|
||||
sudo snap install vlc keepassxc
|
||||
flatpak install -assumeyes flathub it.mijorus.gearlever org.qbittorrent.qBittorrent org.gimp.GIMP org.kde.kdenlive org.nicotine_plus.Nicotine
|
||||
|
||||
|
||||
# They have a deb now, soooo.
|
||||
cd $HOME
|
||||
wget https://cdn.filen.io/@filen/desktop/release/latest/Filen_linux_amd64.deb
|
||||
sudo apt install $HOME/Filen_linux_amd64.deb -y
|
||||
sudo rm Filen_linux_amd64.deb
|
||||
|
||||
|
||||
# Note to self: make sure filen autostarts.
|
||||
echo "--------------------------------------------"
|
||||
read -p "Press Enter to close...."
|
197
others/tsubuntuarch.sh
Normal file
197
others/tsubuntuarch.sh
Normal file
|
@ -0,0 +1,197 @@
|
|||
#!/bin/bash
|
||||
echo "┌──────────────────────────────────────────┐"
|
||||
echo "│ Tsubuntu for Arch Linux │"
|
||||
echo "└──────────────────────────────────────────┘"
|
||||
echo "│You will need to enter your password │"
|
||||
echo "│several times as well as press enter. If │"
|
||||
echo "│you have a better solution for installing │"
|
||||
echo "│Snap on Arch, I will implement it. │"
|
||||
echo "└──────────────────────────────────────────┘"
|
||||
|
||||
sudo pacman -Syu --noconfirm base-devel gnome-tweaks gnome-shell-extensions gnome-browser-connector unzip dconf-editor flatpak
|
||||
|
||||
git clone https://aur.archlinux.org/snapd.git
|
||||
cd snapd
|
||||
makepkg -si
|
||||
sudo systemctl enable --now snapd.socket
|
||||
sudo systemctl enable --now snapd.apparmor.service
|
||||
sudo ln -s /var/lib/snapd/snap /snap
|
||||
|
||||
echo "┌──────────────────────────────────────────┐"
|
||||
echo "│Adding Flathub... │"
|
||||
echo "└──────────────────────────────────────────┘"
|
||||
sudo flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
|
||||
|
||||
echo "┌──────────────────────────────────────────┐"
|
||||
echo "│Enabling right click > new file... │"
|
||||
echo "└──────────────────────────────────────────┘"
|
||||
|
||||
touch $HOME/Templates/NewFile.txt
|
||||
|
||||
# extensions making gnome usable
|
||||
|
||||
# Yes, this is necessary. It took me a long while to figure out why this damned script would only install one extension.
|
||||
mkdir $HOME/.local/share/gnome-shell/extensions/
|
||||
|
||||
# still the same version
|
||||
echo "┌──────────────────────────────────────────┐"
|
||||
echo "│Installing clipboard history extension... │"
|
||||
echo "└──────────────────────────────────────────┘"
|
||||
cd $HOME
|
||||
downloadedzip1="clipboard-historyalexsaveau.dev.v45.shell-extension.zip"
|
||||
linktozip1="https://extensions.gnome.org/extension-data/clipboard-historyalexsaveau.dev.v45.shell-extension.zip"
|
||||
folder1="clipboard-history@alexsaveau.dev"
|
||||
|
||||
mkdir $folder1
|
||||
cd $folder1
|
||||
wget $linktozip1
|
||||
unzip $downloadedzip1
|
||||
rm $downloadedzip1
|
||||
cd $HOME
|
||||
mv $folder1 $HOME/.local/share/gnome-shell/extensions/
|
||||
|
||||
# the version for this stayed the same. On extensions.gnome.org the version is labeled as 83.
|
||||
echo "┌──────────────────────────────────────────┐"
|
||||
echo "│Installing desktop icons extension... │"
|
||||
echo "└──────────────────────────────────────────┘"
|
||||
cd $HOME
|
||||
downloadedzip2="gtk4-dingsmedius.gitlab.com.v87.shell-extension.zip"
|
||||
linktozip2="https://extensions.gnome.org/extension-data/gtk4-dingsmedius.gitlab.com.v87.shell-extension.zip"
|
||||
folder2="gtk4-ding@smedius.gitlab.com"
|
||||
|
||||
mkdir $folder2
|
||||
cd $folder2
|
||||
wget $linktozip2
|
||||
unzip $downloadedzip2
|
||||
rm $downloadedzip2
|
||||
cd $HOME
|
||||
mv $folder2 $HOME/.local/share/gnome-shell/extensions/
|
||||
|
||||
echo "┌──────────────────────────────────────────┐"
|
||||
echo "│Installing corner tiling extension... │"
|
||||
echo "└──────────────────────────────────────────┘"
|
||||
cd $HOME
|
||||
downloadedzip3="tiling-assistantleleat-on-github.v49.shell-extension.zip"
|
||||
linktozip3="https://extensions.gnome.org/extension-data/tiling-assistantleleat-on-github.v49.shell-extension.zip"
|
||||
folder3="tiling-assistant@leleat-on-github"
|
||||
|
||||
mkdir $folder3
|
||||
cd $folder3
|
||||
wget $linktozip3
|
||||
unzip $downloadedzip3
|
||||
rm $downloadedzip3
|
||||
cd $HOME
|
||||
mv $folder3 $HOME/.local/share/gnome-shell/extensions/
|
||||
|
||||
echo "┌──────────────────────────────────────────┐"
|
||||
echo "│Installing dash to dock... │"
|
||||
echo "└──────────────────────────────────────────┘"
|
||||
|
||||
cd $HOME
|
||||
downloadedzip4="dash-to-dockmicxgx.gmail.com.v99.shell-extension.zip"
|
||||
linktozip4="https://extensions.gnome.org/extension-data/dash-to-dockmicxgx.gmail.com.v99.shell-extension.zip"
|
||||
folder4="dash-to-dock@micxgx.gmail.com"
|
||||
|
||||
mkdir $folder4
|
||||
cd $folder4
|
||||
wget $linktozip4
|
||||
unzip $downloadedzip4
|
||||
rm $downloadedzip4
|
||||
cd $HOME
|
||||
mv $folder4 $HOME/.local/share/gnome-shell/extensions/
|
||||
|
||||
echo "┌──────────────────────────────────────────┐"
|
||||
echo "│Installing tray icons extension... │"
|
||||
echo "└──────────────────────────────────────────┘"
|
||||
|
||||
cd $HOME
|
||||
downloadedzip4="appindicatorsupportrgcjonas.gmail.com.v59.shell-extension.zip"
|
||||
linktozip4="https://extensions.gnome.org/extension-data/appindicatorsupportrgcjonas.gmail.com.v59.shell-extension.zip"
|
||||
folder4="appindicatorsupport@rgcjonas.gmail.com"
|
||||
|
||||
mkdir $folder4
|
||||
cd $folder4
|
||||
wget $linktozip4
|
||||
unzip $downloadedzip4
|
||||
rm $downloadedzip4
|
||||
cd $HOME
|
||||
mv $folder4 $HOME/.local/share/gnome-shell/extensions/
|
||||
|
||||
|
||||
|
||||
https://extensions.gnome.org/extension-data/appindicatorsupportrgcjonas.gmail.com.v59.shell-extension.zip
|
||||
|
||||
|
||||
|
||||
echo "┌──────────────────────────────────────────┐"
|
||||
echo "│Adding (_)([])(X) buttons... │"
|
||||
echo "└──────────────────────────────────────────┘"
|
||||
|
||||
gsettings set org.gnome.desktop.wm.preferences button-layout ":minimize,maximize,close"
|
||||
|
||||
echo "┌──────────────────────────────────────────┐"
|
||||
echo "│Tweaking the file manager... │"
|
||||
echo "└──────────────────────────────────────────┘"
|
||||
echo "file:///home/$USER/Desktop" >> ~/.config/gtk-3.0/bookmarks
|
||||
gsettings set org.gnome.nautilus.preferences show-create-link 'true'
|
||||
gsettings set org.gnome.nautilus.preferences show-delete-permanently 'true'
|
||||
gsettings set org.gtk.Settings.FileChooser sort-directories-first 'true'
|
||||
gsettings set org.gnome.nautilus.preferences default-folder-viewer 'list-view'
|
||||
echo "┌──────────────────────────────────────────┐"
|
||||
echo "│Tweaking the text editor... │"
|
||||
echo "└──────────────────────────────────────────┘"
|
||||
gsettings set org.gnome.TextEditor show-line-numbers 'true'
|
||||
gsettings set org.gnome.TextEditor spellcheck 'false'
|
||||
|
||||
echo "┌──────────────────────────────────────────┐"
|
||||
echo "│Remember numlock state... │"
|
||||
echo "└──────────────────────────────────────────┘"
|
||||
|
||||
gsettings set org.gnome.desktop.peripherals.keyboard remember-numlock-state 'true'
|
||||
echo "┌──────────────────────────────────────────┐"
|
||||
echo "│Setting up shortcuts (try Super + E) │"
|
||||
echo "└──────────────────────────────────────────┘"
|
||||
|
||||
|
||||
gsettings set org.gnome.shell.keybindings screenshot "['Print']"
|
||||
gsettings set org.gnome.shell.keybindings show-screenshot-ui "['<Shift><Super>s']"
|
||||
gsettings set org.gnome.settings-daemon.plugins.media-keys home "['<Super>e']"
|
||||
|
||||
gsettings set org.gnome.settings-daemon.plugins.media-keys custom-keybindings "['/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom0/']"
|
||||
gsettings set org.gnome.settings-daemon.plugins.media-keys.custom-keybinding:/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom0/ name 'taskmanager'
|
||||
gsettings set org.gnome.settings-daemon.plugins.media-keys.custom-keybinding:/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom0/ command 'gnome-system-monitor'
|
||||
gsettings set org.gnome.settings-daemon.plugins.media-keys.custom-keybinding:/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom0/ binding '<Primary><Shift>Escape'
|
||||
|
||||
gsettings set org.gnome.settings-daemon.plugins.media-keys custom-keybindings "['/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom1/']"
|
||||
gsettings set org.gnome.settings-daemon.plugins.media-keys.custom-keybinding:/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom1/ name 'terminal'
|
||||
gsettings set org.gnome.settings-daemon.plugins.media-keys.custom-keybinding:/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom1/ command 'gnome-terminal'
|
||||
gsettings set org.gnome.settings-daemon.plugins.media-keys.custom-keybinding:/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom1/ binding '<Primary><Alt>t'
|
||||
|
||||
|
||||
# I know how stupid this looks but when I tried to put the content of dock-setup.sh into this echo section it would not work properly.
|
||||
touch "$HOME/Desktop/Finish_Setup.sh"
|
||||
chmod +x "$HOME/Desktop/Finish_Setup.sh"
|
||||
echo '#!/bin/bash
|
||||
gnome-extensions enable clipboard-history@alexsaveau.dev
|
||||
sleep 1
|
||||
echo "Enabling the clipboard history extension..."
|
||||
gnome-extensions enable gtk4-ding@smedius.gitlab.com
|
||||
sleep 1
|
||||
echo "Enabling the desktop icons extension..."
|
||||
gnome-extensions enable dash-to-dock@micxgx.gmail.com
|
||||
sleep 1
|
||||
echo "Enabling the dash to dock extension..."
|
||||
gnome-extensions enable tiling-assistant@leleat-on-github
|
||||
sleep 1
|
||||
echo "Enabling the tiling assistant extension..."
|
||||
gnome-extensions enable appindicatorsupport@rgcjonas.gmail.com
|
||||
sleep 1
|
||||
echo "Enabling tray icons..."
|
||||
wget -q https://raw.githubusercontent.com/Tsu-gu/tsubuntu/main/dock-setup.sh && chmod +x dock-setup.sh && ./dock-setup.sh
|
||||
' >> "$HOME/Desktop/Finish_Setup.sh"
|
||||
|
||||
echo "┌──────────────────────────────────────────┐"
|
||||
echo "│Restart your PC and then run │"
|
||||
echo "│Finish_Setup.sh, located on your desktop │"
|
||||
echo "└──────────────────────────────────────────┘"
|
||||
read -p "Press Enter to close...."
|
182
others/tsubuntufedora40.sh
Normal file
182
others/tsubuntufedora40.sh
Normal file
|
@ -0,0 +1,182 @@
|
|||
#!/bin/bash
|
||||
echo "┌──────────────────────────────────────────┐"
|
||||
echo "│ Tsubuntu for Fedora 40 │"
|
||||
echo "└──────────────────────────────────────────┘"
|
||||
# Fedora does not support gnome-software-plugin-snap
|
||||
sudo dnf install gnome-tweaks unzip gnome-extensions-app dconf-editor snapd firewall-config bash-completion -y
|
||||
# fuse in order for all AppImages to run
|
||||
# for classic snaps to run. If you really hate snap, just remove these lines. Also I think fedora can't run snaps in confinement anyways due to using SELinux.
|
||||
sudo ln -s /var/lib/snapd/snap /snap
|
||||
|
||||
echo "┌──────────────────────────────────────────┐"
|
||||
echo "│Adding Flathub... │"
|
||||
echo "└──────────────────────────────────────────┘"
|
||||
sudo flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
|
||||
|
||||
echo "┌──────────────────────────────────────────┐"
|
||||
echo "│Enabling right click > new file... │"
|
||||
echo "└──────────────────────────────────────────┘"
|
||||
touch $HOME/Templates/NewFile.txt
|
||||
|
||||
# extensions making gnome usable
|
||||
|
||||
# Yes, this is necessary. It took me a long while to figure out why this damned script would only install one extension.
|
||||
mkdir $HOME/.local/share/gnome-shell/extensions/
|
||||
|
||||
echo "┌──────────────────────────────────────────┐"
|
||||
echo "│Installing clipboard history extension... │"
|
||||
echo "└──────────────────────────────────────────┘"
|
||||
cd $HOME
|
||||
downloadedzip1="clipboard-historyalexsaveau.dev.v45.shell-extension.zip"
|
||||
linktozip1="https://extensions.gnome.org/extension-data/clipboard-historyalexsaveau.dev.v45.shell-extension.zip"
|
||||
folder1="clipboard-history@alexsaveau.dev"
|
||||
|
||||
mkdir $folder1
|
||||
cd $folder1
|
||||
wget $linktozip1
|
||||
unzip $downloadedzip1
|
||||
rm $downloadedzip1
|
||||
cd $HOME
|
||||
mv $folder1 $HOME/.local/share/gnome-shell/extensions/
|
||||
|
||||
echo "┌──────────────────────────────────────────┐"
|
||||
echo "│Installing desktop icons extension... │"
|
||||
echo "└──────────────────────────────────────────┘"
|
||||
cd $HOME
|
||||
downloadedzip2="gtk4-dingsmedius.gitlab.com.v86.shell-extension.zip"
|
||||
linktozip2="https://extensions.gnome.org/extension-data/gtk4-dingsmedius.gitlab.com.v86.shell-extension.zip"
|
||||
folder2="gtk4-ding@smedius.gitlab.com"
|
||||
|
||||
mkdir $folder2
|
||||
cd $folder2
|
||||
wget $linktozip2
|
||||
unzip $downloadedzip2
|
||||
rm $downloadedzip2
|
||||
cd $HOME
|
||||
mv $folder2 $HOME/.local/share/gnome-shell/extensions/
|
||||
|
||||
echo "┌──────────────────────────────────────────┐"
|
||||
echo "│Installing corner tiling extension... │"
|
||||
echo "└──────────────────────────────────────────┘"
|
||||
cd $HOME
|
||||
downloadedzip3="tiling-assistantleleat-on-github.v48.shell-extension.zip"
|
||||
linktozip3="https://extensions.gnome.org/extension-data/tiling-assistantleleat-on-github.v48.shell-extension.zip"
|
||||
folder3="tiling-assistant@leleat-on-github"
|
||||
|
||||
mkdir $folder3
|
||||
cd $folder3
|
||||
wget $linktozip3
|
||||
unzip $downloadedzip3
|
||||
rm $downloadedzip3
|
||||
cd $HOME
|
||||
mv $folder3 $HOME/.local/share/gnome-shell/extensions/
|
||||
|
||||
echo "┌──────────────────────────────────────────┐"
|
||||
echo "│Installing dash to dock... │"
|
||||
echo "└──────────────────────────────────────────┘"
|
||||
cd $HOME
|
||||
downloadedzip4="dash-to-dockmicxgx.gmail.com.v96.shell-extension.zip"
|
||||
linktozip4="https://extensions.gnome.org/extension-data/dash-to-dockmicxgx.gmail.com.v96.shell-extension.zip"
|
||||
folder4="dash-to-dock@micxgx.gmail.com"
|
||||
|
||||
mkdir $folder4
|
||||
cd $folder4
|
||||
wget $linktozip4
|
||||
unzip $downloadedzip4
|
||||
rm $downloadedzip4
|
||||
cd $HOME
|
||||
mv $folder4 $HOME/.local/share/gnome-shell/extensions/
|
||||
|
||||
echo "┌──────────────────────────────────────────┐"
|
||||
echo "│Installing tray icons extension... │"
|
||||
echo "└──────────────────────────────────────────┘"
|
||||
|
||||
cd $HOME
|
||||
downloadedzip4="appindicatorsupportrgcjonas.gmail.com.v59.shell-extension.zip"
|
||||
linktozip4="https://extensions.gnome.org/extension-data/appindicatorsupportrgcjonas.gmail.com.v59.shell-extension.zip"
|
||||
folder4="appindicatorsupport@rgcjonas.gmail.com"
|
||||
|
||||
mkdir $folder4
|
||||
cd $folder4
|
||||
wget $linktozip4
|
||||
unzip $downloadedzip4
|
||||
rm $downloadedzip4
|
||||
cd $HOME
|
||||
mv $folder4 $HOME/.local/share/gnome-shell/extensions/
|
||||
|
||||
|
||||
echo "┌──────────────────────────────────────────┐"
|
||||
echo "│Adding (_)([])(X) buttons... │"
|
||||
echo "└──────────────────────────────────────────┘"
|
||||
gsettings set org.gnome.desktop.wm.preferences button-layout ":minimize,maximize,close"
|
||||
|
||||
|
||||
echo "┌──────────────────────────────────────────┐"
|
||||
echo "│Tweaking the file manager... │"
|
||||
echo "└──────────────────────────────────────────┘"
|
||||
echo "file:///home/$USER/Desktop" >> ~/.config/gtk-3.0/bookmarks
|
||||
gsettings set org.gnome.nautilus.preferences show-create-link 'true'
|
||||
gsettings set org.gnome.nautilus.preferences show-delete-permanently 'true'
|
||||
gsettings set org.gtk.Settings.FileChooser sort-directories-first 'true'
|
||||
gsettings set org.gnome.nautilus.preferences default-folder-viewer 'list-view'
|
||||
echo "┌──────────────────────────────────────────┐"
|
||||
echo "│Tweaking the text editor... │"
|
||||
echo "└──────────────────────────────────────────┘"
|
||||
gsettings set org.gnome.TextEditor show-line-numbers 'true'
|
||||
gsettings set org.gnome.TextEditor spellcheck 'false'
|
||||
|
||||
echo "┌──────────────────────────────────────────┐"
|
||||
echo "│Remember numlock state... │"
|
||||
echo "└──────────────────────────────────────────┘"
|
||||
|
||||
gsettings set org.gnome.desktop.peripherals.keyboard remember-numlock-state 'true'
|
||||
|
||||
echo "┌──────────────────────────────────────────┐"
|
||||
echo "│Setting up shortcuts (try Super + E) │"
|
||||
echo "└──────────────────────────────────────────┘"
|
||||
|
||||
gsettings set org.gnome.shell.keybindings screenshot "['Print']"
|
||||
gsettings set org.gnome.shell.keybindings show-screenshot-ui "['<Shift><Super>s']"
|
||||
gsettings set org.gnome.settings-daemon.plugins.media-keys home "['<Super>e']"
|
||||
|
||||
gsettings set org.gnome.settings-daemon.plugins.media-keys custom-keybindings "['/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom0/']"
|
||||
gsettings set org.gnome.settings-daemon.plugins.media-keys.custom-keybinding:/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom0/ name 'taskmanager'
|
||||
gsettings set org.gnome.settings-daemon.plugins.media-keys.custom-keybinding:/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom0/ command 'gnome-system-monitor'
|
||||
gsettings set org.gnome.settings-daemon.plugins.media-keys.custom-keybinding:/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom0/ binding '<Primary><Shift>Escape'
|
||||
|
||||
gsettings set org.gnome.settings-daemon.plugins.media-keys custom-keybindings "['/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom1/']"
|
||||
gsettings set org.gnome.settings-daemon.plugins.media-keys.custom-keybinding:/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom1/ name 'terminal'
|
||||
gsettings set org.gnome.settings-daemon.plugins.media-keys.custom-keybinding:/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom1/ command 'gnome-terminal'
|
||||
gsettings set org.gnome.settings-daemon.plugins.media-keys.custom-keybinding:/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom1/ binding '<Primary><Alt>t'
|
||||
|
||||
|
||||
# I know how stupid this looks but when I tried to put the content of dock-setup.sh into this echo section it would not work properly.
|
||||
touch "$HOME/Desktop/Finish_Setup.sh"
|
||||
chmod +x "$HOME/Desktop/Finish_Setup.sh"
|
||||
echo '#!/bin/bash
|
||||
gnome-extensions enable clipboard-history@alexsaveau.dev
|
||||
sleep 1
|
||||
echo "Enabling the clipboard history extension..."
|
||||
gnome-extensions enable gtk4-ding@smedius.gitlab.com
|
||||
sleep 1
|
||||
echo "Enabling the desktop icons extension..."
|
||||
gnome-extensions enable dash-to-dock@micxgx.gmail.com
|
||||
sleep 1
|
||||
echo "Enabling the dash to dock extension..."
|
||||
gnome-extensions enable tiling-assistant@leleat-on-github
|
||||
sleep 1
|
||||
echo "Enabling the tiling assistant extension..."
|
||||
gnome-extensions enable appindicatorsupport@rgcjonas.gmail.com
|
||||
sleep 1
|
||||
echo "Enabling tray icons..."
|
||||
wget -q https://raw.githubusercontent.com/Tsu-gu/tsubuntu/main/dock-setup.sh && chmod +x dock-setup.sh && ./dock-setup.sh
|
||||
' >> "$HOME/Desktop/Finish_Setup.sh"
|
||||
|
||||
|
||||
|
||||
|
||||
echo "┌──────────────────────────────────────────┐"
|
||||
echo "│Restart your PC and then run │"
|
||||
echo "│Finish_Setup.sh, located on your desktop │"
|
||||
echo "└──────────────────────────────────────────┘"
|
||||
read -p "Press Enter to close...."
|
182
others/tsubuntufedora41.sh
Normal file
182
others/tsubuntufedora41.sh
Normal file
|
@ -0,0 +1,182 @@
|
|||
#!/bin/bash
|
||||
echo "┌──────────────────────────────────────────┐"
|
||||
echo "│ Tsubuntu for Fedora 41 │"
|
||||
echo "└──────────────────────────────────────────┘"
|
||||
# Fedora does not support gnome-software-plugin-snap
|
||||
sudo dnf install gnome-tweaks unzip gnome-extensions-app dconf-editor snapd firewall-config bash-completion -y
|
||||
# fuse in order for all AppImages to run
|
||||
# for classic snaps to run. If you really hate snap, just remove these lines. Also I think fedora can't run snaps in confinement anyways due to using SELinux.
|
||||
sudo ln -s /var/lib/snapd/snap /snap
|
||||
|
||||
echo "┌──────────────────────────────────────────┐"
|
||||
echo "│Adding Flathub... │"
|
||||
echo "└──────────────────────────────────────────┘"
|
||||
sudo flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
|
||||
|
||||
echo "┌──────────────────────────────────────────┐"
|
||||
echo "│Enabling right click > new file... │"
|
||||
echo "└──────────────────────────────────────────┘"
|
||||
|
||||
touch $HOME/Templates/NewFile.txt
|
||||
|
||||
# extensions making gnome usable
|
||||
|
||||
# Yes, this is necessary. It took me a long while to figure out why this damned script would only install one extension.
|
||||
mkdir $HOME/.local/share/gnome-shell/extensions/
|
||||
|
||||
# still the same version
|
||||
echo "┌──────────────────────────────────────────┐"
|
||||
echo "│Installing clipboard history extension... │"
|
||||
echo "└──────────────────────────────────────────┘"
|
||||
cd $HOME
|
||||
downloadedzip1="clipboard-historyalexsaveau.dev.v45.shell-extension.zip"
|
||||
linktozip1="https://extensions.gnome.org/extension-data/clipboard-historyalexsaveau.dev.v45.shell-extension.zip"
|
||||
folder1="clipboard-history@alexsaveau.dev"
|
||||
|
||||
mkdir $folder1
|
||||
cd $folder1
|
||||
wget $linktozip1
|
||||
unzip $downloadedzip1
|
||||
rm $downloadedzip1
|
||||
cd $HOME
|
||||
mv $folder1 $HOME/.local/share/gnome-shell/extensions/
|
||||
|
||||
# the version for this stayed the same. On extensions.gnome.org the version is labeled as 83.
|
||||
echo "┌──────────────────────────────────────────┐"
|
||||
echo "│Installing desktop icons extension... │"
|
||||
echo "└──────────────────────────────────────────┘"
|
||||
cd $HOME
|
||||
downloadedzip2="gtk4-dingsmedius.gitlab.com.v87.shell-extension.zip"
|
||||
linktozip2="https://extensions.gnome.org/extension-data/gtk4-dingsmedius.gitlab.com.v87.shell-extension.zip"
|
||||
folder2="gtk4-ding@smedius.gitlab.com"
|
||||
|
||||
mkdir $folder2
|
||||
cd $folder2
|
||||
wget $linktozip2
|
||||
unzip $downloadedzip2
|
||||
rm $downloadedzip2
|
||||
cd $HOME
|
||||
mv $folder2 $HOME/.local/share/gnome-shell/extensions/
|
||||
|
||||
echo "┌──────────────────────────────────────────┐"
|
||||
echo "│Installing corner tiling extension... │"
|
||||
echo "└──────────────────────────────────────────┘"
|
||||
cd $HOME
|
||||
downloadedzip3="tiling-assistantleleat-on-github.v49.shell-extension.zip"
|
||||
linktozip3="https://extensions.gnome.org/extension-data/tiling-assistantleleat-on-github.v49.shell-extension.zip"
|
||||
folder3="tiling-assistant@leleat-on-github"
|
||||
|
||||
mkdir $folder3
|
||||
cd $folder3
|
||||
wget $linktozip3
|
||||
unzip $downloadedzip3
|
||||
rm $downloadedzip3
|
||||
cd $HOME
|
||||
mv $folder3 $HOME/.local/share/gnome-shell/extensions/
|
||||
|
||||
echo "┌──────────────────────────────────────────┐"
|
||||
echo "│Installing dash to dock... │"
|
||||
echo "└──────────────────────────────────────────┘"
|
||||
|
||||
cd $HOME
|
||||
downloadedzip4="dash-to-dockmicxgx.gmail.com.v99.shell-extension.zip"
|
||||
linktozip4="https://extensions.gnome.org/extension-data/dash-to-dockmicxgx.gmail.com.v99.shell-extension.zip"
|
||||
folder4="dash-to-dock@micxgx.gmail.com"
|
||||
|
||||
mkdir $folder4
|
||||
cd $folder4
|
||||
wget $linktozip4
|
||||
unzip $downloadedzip4
|
||||
rm $downloadedzip4
|
||||
cd $HOME
|
||||
mv $folder4 $HOME/.local/share/gnome-shell/extensions/
|
||||
|
||||
echo "┌──────────────────────────────────────────┐"
|
||||
echo "│Installing tray icons extension... │"
|
||||
echo "└──────────────────────────────────────────┘"
|
||||
|
||||
cd $HOME
|
||||
downloadedzip4="appindicatorsupportrgcjonas.gmail.com.v59.shell-extension.zip"
|
||||
linktozip4="https://extensions.gnome.org/extension-data/appindicatorsupportrgcjonas.gmail.com.v59.shell-extension.zip"
|
||||
folder4="appindicatorsupport@rgcjonas.gmail.com"
|
||||
|
||||
mkdir $folder4
|
||||
cd $folder4
|
||||
wget $linktozip4
|
||||
unzip $downloadedzip4
|
||||
rm $downloadedzip4
|
||||
cd $HOME
|
||||
mv $folder4 $HOME/.local/share/gnome-shell/extensions/
|
||||
|
||||
# https://extensions.gnome.org/extension-data/appindicatorsupportrgcjonas.gmail.com.v59.shell-extension.zip
|
||||
|
||||
echo "┌──────────────────────────────────────────┐"
|
||||
echo "│Adding (_)([])(X) buttons... │"
|
||||
echo "└──────────────────────────────────────────┘"
|
||||
|
||||
gsettings set org.gnome.desktop.wm.preferences button-layout ":minimize,maximize,close"
|
||||
|
||||
echo "┌──────────────────────────────────────────┐"
|
||||
echo "│Tweaking the file manager... │"
|
||||
echo "└──────────────────────────────────────────┘"
|
||||
echo "file:///home/$USER/Desktop" >> ~/.config/gtk-3.0/bookmarks
|
||||
gsettings set org.gnome.nautilus.preferences show-create-link 'true'
|
||||
gsettings set org.gnome.nautilus.preferences show-delete-permanently 'true'
|
||||
gsettings set org.gtk.Settings.FileChooser sort-directories-first 'true'
|
||||
gsettings set org.gnome.nautilus.preferences default-folder-viewer 'list-view'
|
||||
echo "┌──────────────────────────────────────────┐"
|
||||
echo "│Tweaking the text editor... │"
|
||||
echo "└──────────────────────────────────────────┘"
|
||||
gsettings set org.gnome.TextEditor show-line-numbers 'true'
|
||||
gsettings set org.gnome.TextEditor spellcheck 'false'
|
||||
|
||||
echo "┌──────────────────────────────────────────┐"
|
||||
echo "│Remember numlock state... │"
|
||||
echo "└──────────────────────────────────────────┘"
|
||||
|
||||
gsettings set org.gnome.desktop.peripherals.keyboard remember-numlock-state 'true'
|
||||
echo "┌──────────────────────────────────────────┐"
|
||||
echo "│Setting up shortcuts (try Super + E) │"
|
||||
echo "└──────────────────────────────────────────┘"
|
||||
|
||||
gsettings set org.gnome.shell.keybindings screenshot "['Print']"
|
||||
gsettings set org.gnome.shell.keybindings show-screenshot-ui "['<Shift><Super>s']"
|
||||
gsettings set org.gnome.settings-daemon.plugins.media-keys home "['<Super>e']"
|
||||
|
||||
gsettings set org.gnome.settings-daemon.plugins.media-keys custom-keybindings "['/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom0/']"
|
||||
gsettings set org.gnome.settings-daemon.plugins.media-keys.custom-keybinding:/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom0/ name 'taskmanager'
|
||||
gsettings set org.gnome.settings-daemon.plugins.media-keys.custom-keybinding:/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom0/ command 'gnome-system-monitor'
|
||||
gsettings set org.gnome.settings-daemon.plugins.media-keys.custom-keybinding:/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom0/ binding '<Primary><Shift>Escape'
|
||||
|
||||
gsettings set org.gnome.settings-daemon.plugins.media-keys custom-keybindings "['/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom1/']"
|
||||
gsettings set org.gnome.settings-daemon.plugins.media-keys.custom-keybinding:/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom1/ name 'terminal'
|
||||
gsettings set org.gnome.settings-daemon.plugins.media-keys.custom-keybinding:/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom1/ command 'gnome-terminal'
|
||||
gsettings set org.gnome.settings-daemon.plugins.media-keys.custom-keybinding:/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom1/ binding '<Primary><Alt>t'
|
||||
|
||||
# I know how stupid this looks but when I tried to put the content of dock-setup.sh into this echo section it would not work properly.
|
||||
touch "$HOME/Desktop/Finish_Setup.sh"
|
||||
chmod +x "$HOME/Desktop/Finish_Setup.sh"
|
||||
echo '#!/bin/bash
|
||||
gnome-extensions enable clipboard-history@alexsaveau.dev
|
||||
sleep 1
|
||||
echo "Enabling the clipboard history extension..."
|
||||
gnome-extensions enable gtk4-ding@smedius.gitlab.com
|
||||
sleep 1
|
||||
echo "Enabling the desktop icons extension..."
|
||||
gnome-extensions enable dash-to-dock@micxgx.gmail.com
|
||||
sleep 1
|
||||
echo "Enabling the dash to dock extension..."
|
||||
gnome-extensions enable tiling-assistant@leleat-on-github
|
||||
sleep 1
|
||||
echo "Enabling the tiling assistant extension..."
|
||||
gnome-extensions enable appindicatorsupport@rgcjonas.gmail.com
|
||||
sleep 1
|
||||
echo "Enabling tray icons..."
|
||||
wget -q https://raw.githubusercontent.com/Tsu-gu/tsubuntu/main/dock-setup.sh && chmod +x dock-setup.sh && ./dock-setup.sh
|
||||
' >> "$HOME/Desktop/Finish_Setup.sh"
|
||||
|
||||
echo "┌──────────────────────────────────────────┐"
|
||||
echo "│Restart your PC and then run │"
|
||||
echo "│Finish_Setup.sh, located on your desktop │"
|
||||
echo "└──────────────────────────────────────────┘"
|
||||
read -p "Press Enter to close...."
|
Loading…
Reference in a new issue