1
0
Fork 0

separated gnome extensions setup with gnome setup, added nvidia gpu driver package, and added gnome apps.

This commit is contained in:
Kim, Jimin 2021-10-10 22:56:53 +09:00
parent 3c6467efbf
commit a1e3592265

View file

@ -318,34 +318,59 @@ setup_gimp() {
}
setup_gnome() {
# nvidia driver, optimus manager, etc.
# gnome, nvidia driver, and optimus manager
# install gnome
package_install \
gdm-prime `# gdm patched for optimus laptops` \
gnome-backgrounds `# wallpapers and shit` \
gnome-shell-extensions `# gnome shell extensions` \
gwe `# nvidia GPU overclocking https://gitlab.com/leinardi/gwe` \
nvidia `# nvidia GPU support` \
optimus-manager-qt `# https://github.com/Shatur/optimus-manager-qt` \
sudo systemctl enable gdm
# Not using power switching
# read this wiki[^1] about power management with acpi call for more information
# [^1]: https://github.com/Askannz/optimus-manager/wiki/A-guide--to-power-management-options#configuration-4--acpi_call
package_install \
gwe `# nvidia GPU overclocking https://gitlab.com/leinardi/gwe` \
optimus-manager `# https://github.com/Askannz/optimus-manager` \
optimus-manager-qt `# https://github.com/Shatur/optimus-manager-qt` \
gdm-prime `# ` \
# todo: auto start optimus on login
# todo: optimus set nvidia as default
# launch on startup
# nvidia as default
# Performance: 265, 750
# Energy Saver: -155, -365
# todo: add profile (Performance: 250, 650)
# install gnome apps
package_install \
baobab `# Disk usage analysis` \
gpick `# color picker` \
cheese `# take photo/video with camera` \
dconf-editor `# GUI for dconf` \
eog `# photo viewer` \
evince `# document viewer` \
file-roller `# compress & decompress files/directories` \
gnome-calculator `# scientific calculator` \
gnome-characters `# Search for emojis, special characters, and symbols` \
gnome-clocks `# For multiple clocks for different time zones` \
gnome-control-center `# gnome settings` \
gnome-disk-utility `# gnome disk management` \
gnome-font-viewer `# Managing fonts` \
gnome-logs `# GUI for system journal` \
gnome-usage `# System resource statistics` \
gnome-keyring `# passwords and keys` \
gnome-logs `# GUI for systemd journal` \
gnome-screenshot `# take screenshots` \
gnome-system-monitor `# show system processes` \
gnome-terminal `# terminal app` \
gnome-terminal-transparency `# Transparent gnome terminal` \
gnome-tweaks `# shows extra settings` \
gnome-usage `# System resource statistics` \
gpick `# color picker` \
nautilus `# gnome file manager` \
sushi `# quick previewer for nautilus` \
POST_INSTALL+=("gnome: reboot")
}
setup_gnome_extensions() {
package_install \
gnome-shell-extension-installer `# Installation of gnome extensions from command line` \
# install gnome extensions
@ -369,8 +394,8 @@ setup_gnome() {
log "Restarting gnome shell"
killall -3 gnome-shell
# todo: automate extension enabling
POST_INSTALL+=("gnome: enable gnome extensions")
POST_INSTALL+=("gnome: reboot")
}
setup_go() {
@ -674,6 +699,7 @@ options=(
"fonts" "" off
"gimp" "" off
"gnome" "" off
"gnome_extensions" "" off
"go" "" off
"godot" "" off
"gsmartcontrol" "" off
@ -717,6 +743,8 @@ for choice in $choices; do
setup_gimp;;
"gnome")
setup_gnome;;
"gnome_extensions")
setup_gnome_extensions;;
"go")
setup_go;;
"godot")