# - bof - # sF_=https://www.education.isdevelopment.us/Ubuntu.Ins/tilingshell@ferrarodomenico.com.zip gnome-extensions install --force $sF_; https://extensions.gnome.org/review/68205 https://github.com/channchetra/Zorin-extra-Layouts Basic use: bash -c "$(wget https://raw.githubusercontent.com/TGRush/Zorin-extra-Layouts/main/morelayoutsinstall.sh -O -)" CLI: git clone --depth=1 https://github.com/TGRush/Zorin-extra-Layouts.git && cd Zorin-extra-layouts ./morelayoutsinstall.sh -h eDtoD_=https://www.education.isdevelopment.us/Ubuntu.Ins/dash-to-dockmicxgx.gmail.com.v103.shell-extension.zip \ fDtoD_=~/Downloads/fDtoD.zip; rm -rf $fDtoD_; curl -o $fDtoD_ $eDtoD_; gnome-extensions install --force $fDtoD_; gnome-extensions list --user; gnome-extensions enable dash-to-dock@micxgx.gmail.com; gnome-extensions enable user-theme@gnome-shell-extensions.gcampax.github.com; # - - # # - Documentation - # https://discussion.fedoraproject.org/t/change-scaling-resolution-of-primary-monitor-from-bash-terminal/76778/11 gsettings set org.gnome.mutter experimental-features "['scale-monitor-framebuffer']" gsettings set org.gnome.desktop.interface text-scaling-factor 1.2 # - - # # - Tilingshell extension - # https://extensions.gnome.org/extension/7065/tiling-shell/ gnome-extensions enable tilingshell@ferrarodomenico.com; logF_=~/.noInstalled-gExtensions_$(date +%Y-%m-%d_%H-%M-%S).log; cat <> $myCrontab_; #!/bin/bash # - - # # - Enable Dash to Dock extension - # source <(curl -s https://www.education.isdevelopment.us/Functions/Functions.sh) uDashToDockFinalConfiguration_; sed -i "/$sS1_/d" $dotProfile_; rm -rf $myCrontab_; EOT touch "$dotProfile_"; fi; sed -i "/$sS1_/d" $dotProfile_; echo -e $myCrontabCmd_ >> $dotProfile_ myCmd_="gnome-extensions disable tilingshell\@ferrarodomenico.com;"; $dotProfile_ # # ~/.bash_profile # [[ -f ~/.bashrc ]] && . ~/.bashrc # - - # # - Gnome settings - # https://wiki.archlinux.org/title/GDM#:%7E:text=Setup%20default%20monitor%20settings # - - # # - Change screen resolution - # # - - # # - Documentation - # https://linuxvox.com/blog/linux-change-resolution/ # - - # # - If desired resolution not listed in available modes - # # Generate a new modeline for 2560x1440 at 60Hz cvt 2560 1440 60 # Copy the modeline output, which should look something like this: Modeline "2560x1440_60.00" 312.25 2560 2752 3024 3488 1440 1443 1448 1493 -hsync +vsync # Add the new mode to the X server xrandr --newmode "2560x1440_60.00" 312.25 2560 2752 3024 3488 1440 1443 1448 1493 -hsync +vsync # Associate the new mode with the display xrandr --addmode HDMI-1 "2560x1440_60.00" # Set the new resolution xrandr --output HDMI-1 --mode "2560x1440_60.00" xrandr --output screen-name --mode 1366x768 --panning 1366x768 --scale 1x1 xrandr --fb 1574x884 xrandr --fb 1574x884 --output eDP1 --mode 1366x768 --panning 1574x886 --scale 1.15226939x1.15364583 xrandr | grep connected | grep -v disconnected | awk '{print $1}' xrandr --output screen-name --scale 0.8x0.8 xrandr --output screen-name --scale 1.2x1.2 xrandr --output screen-name --scale 1x1 xdpyinfo | grep -B 2 resolution xrandr --output screen-name --mode 1366x768 --panning 1640x922 --scale 1.20058565x1.20208604 xrandr --query | grep "connected"; xrandr --output Virtual-1 --mode 2560x1080; xdpyinfo | grep -B 2 resolution; xrandr; xrandr --query | grep "connected"; xrandr --verbose; # - - # # - Standard resolution - # Virtual-1 1920x1080_1609 # - - # # - Get screen available - # xrandr --query | grep "connected" | awk '{print $1}' Virtual-1 # - - # # - Check if resolution works - # cvt 2560 1080; # 2560x1080 59.98 Hz (CVT) hsync: 67.17 kHz; pclk: 230.00 MHz Modeline "2560x1080_60.00" 230.00 2560 2720 2992 3424 1080 1083 1093 1120 -hsync +vsync # - - # # - Paste result on - # xrandr --newmode "2560x1080_21.09" 230.00 2560 2720 2992 3424 1080 1083 1093 1120 -hsync +vsync; xrandr --newmode "2560x1080" 230.00 2560 2720 2992 3424 1080 1083 1093 1120 -hsync +vsync; # - - # # - Apply new resolution on xrandr - # xrandr --addmode Virtual-1 "2560x1080" # - - # # - Set the new screen resolution - # xrandr --output Virtual-1 --mode "2560x1080_21.09" xrandr --output Virtual-1 --mode "2560x1080" # - - # # - Resolution scale - # https://askubuntu.com/questions/1087185/changing-ui-scaling-from-command-line xrandr --output DP-2 --mode 3840x2160 --scale 2x2 sed -i -e '// s/1/2/' ~/.config/monitors.xml && sudo systemctl restart gdm # - - # # - You can get the 200% scale UI - # gsettings set org.gnome.desktop.interface scaling-factor 2; xrandr --output Virtual1 --mode 3840x2160 --scale 1x1 # - - # # - gsettings - # https://commandmasters.com/commands/gsettings-linux/ gsettings set org.example.schema example-key value # - - # # - gsettings (get value) - # gsettings get org.example.schema example-key # - - # # - gsettings (Reset value - Remove value) - # gsettings reset org.example.schema example-key # - - # # - gsettings (Show values) - # gsettings list-recursively org.example.schema # - - # # - gsettings (Allowed values) - # gsettings range org.example.schema example-key # - - # # - gsettings (Describe values) - # gsettings set org.gnome.mutter experimental-features "['x11-randr-fractional-scaling']" gsettings set org.gnome.desktop.interface text-scaling-factor 2.0; chromium --high-dpi-support=1 --force-device-scale-factor=1.5; dbus-launch gsettings set org.gnome.desktop.background draw-background true # - - # # - Double tab to show desktop - # gsettings list-recursively org.gnome.desktop. # (tab tab) # - - # # - Enter to show interfaces values - # gsettings list-recursively org.gnome.desktop.interface # (Enter) gsettings list-recursively org.gnome.desktop.interface. # (tab tab) # - - # # - Enter to show preferences values - # gsettings list-recursively org.gnome.desktop.wm.preferences # (Enter) # - - # # - Enter to show peripherals values - # gsettings list-recursively org.gnome.desktop.peripherals # (Enter) # - - # # - Double tab to show peripherals - # gsettings list-recursively org.gnome.desktop.peripherals. # (tab tab) gnome-extensions list --user; gnome-extensions enable dash-to-dock@micxgx.gmail.com; echo -e "\nDash to dock extension was installed,\nCheck for errors...\n"; # - - # # - Other configurations - # gsettings set org.gnome.desktop.interface gtk-theme 'Arc-Dark'; gsettings set org.gnome.desktop.interface icon-theme 'Archdroid-Blue'; gsettings list-recursively org.gnome.desktop.interface # (enter) gsettings list-recursively org.gnome.desktop.interface. # (tab tab) gsettings set org.gnome.desktop.session idle-delay 0; gsettings set org.gnome.desktop.screensaver lock-enabled false; gsettings set org.gnome.desktop.lockdown disable-lock-screen true; gsettings set org.gnome.desktop.interface color-scheme prefer-dark; gsettings set org.gnome.desktop.wm.preferences button-layout ":minimize,maximize,close"; xset s off; # - - # # - Save & restore ubuntu dock configuration - # # - - # # - Save - # sDock_=/; fDock_=~/Downloads/dockSettings.txt; dconf dump $sDock_ > $fDock_; # - - # # - Restore - # sDock_=/; fDock_=~/Downloads/dockSettings.txt; dconf load $sDock_ < $fDock_; sudo reboot now; # - - # # - ubuntuIconsInstall_ - # function ubuntuIconsInstall_(){ local wI_='https://www.education.isdevelopment.us/Ubuntu.Ins/Ubuntu-Icons/' \ uiF_='archdroid-icon-theme.sh'; local sIc_='Ubuntu icon files' \ dDwn_=~/Downloads/$uiF_; echo -e "\n\n\n\nInstalling $sIc_...\n"; curl -o $dDwn_ $wI_$uiF_; chmod +x $dDwn_; ~/./Downloads/$uiF_; echo -e "\n$sIc_ were installed successfully...\n\n"; if [ "$sPause_" == "1" ]; then sleep $nS_; fi; } # - eof - #