1. sudo swupd bundle-add dnf
2. sudo mkdir /etc/yum.repos.d/
3. sudo rpm --import https://dl.google.com/linux/linux_signing_key.pub
cat /etc/yum.repos.d/google-chrome.repo
[google-chrome]
name=google-chrome
baseurl=http://dl.google.com/linux/chrome/rpm/stable/x86_64
enabled=1
gpgcheck=1
gpgkey=https://dl.google.com/linux/linux_signing_key.pub
5. dnf check-update
6. sudo dnf download google-chrome
7. sudo rpm -U --nodeps ./google-chrome-stable*.rpm
dnf check-update
dnf check-update --refresh
Last active
January 29, 2026 14:09
-
-
Save vavrecan/2caa066cc90ae6b52ed5c0e49bb70417 to your computer and use it in GitHub Desktop.
clear linux install
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # scalling | |
| gsettings set org.gnome.mutter experimental-features "['scale-monitor-framebuffer']" | |
| # disable indexing | |
| tracker-preferences | |
| # configure crypt in settings | |
| luksOpen /dev/... home_crypt | |
| # /etc/crypttab | |
| home_crypt UUID=...-....-....... none luks | |
| # /etc/fstab | |
| /dev/mapper/home_crypt /home ext4 defaults 0 2 | |
| # disable | |
| systemctl mask cups.service | |
| systemctl mask sshd.service | |
| systemctl mask sshd.socket | |
| nano /etc/systemd/resolved.conf | |
| [Resolve] | |
| DNSStubListener=no | |
| MulticastDNS=no | |
| swupd bundle-remove hardware-printing | |
| swupd bundle-remove xscreensaver | |
| swupd bundle-add firmware-update | |
| # set background black | |
| gsettings set org.gnome.desktop.background primary-color "#000000" | |
| # chrome install to system over flatpack | |
| flatpak remote-add --if-not-exists --system flathub https://flathub.org/repo/flathub.flatpakrepo | |
| flatpak install --system flathub com.vscodium.codium | |
| flatpak info --show-permissions com.vscodium.codium | |
| flatpak override --filesystem=/usr:ro com.vscodium.codium | |
| # supress boot messages | |
| sudo mkdir -p /etc/kernel/cmdline.d | |
| sudo tee /etc/kernel/cmdline.d/silent-boot.conf >/dev/null <<'EOF' | |
| quiet loglevel=3 dis_ucode_ldr | |
| EOF | |
| sudo clr-boot-manager update | |
| # disable swap | |
| export SYSTEMD_EDITOR=nano | |
| systemctl edit var-swapfile.swap | |
| # add | |
| # [Swap] | |
| # Options=nofail | |
| rm /var/swapfile | |
| # gnome extensions | |
| https://extensions.gnome.org/extension/1160/dash-to-panel/ | |
| copy to ~/.local/share/gnome-shell/extensions | |
| # chrome set to wayland to avoid blurry | |
| chromium://flags/#ozone-platform-hint | |
| fwupdmgr update | |
| # dev related packages | |
| sudo swupd bundle-add c-basic devpkg-libva git | |
| # use windows on alt tab changes | |
| Open dconf-editor | |
| Go to org/gnome/desktop/wm/keybindings | |
| Move the value '<Alt>Tab' from switch-applications to switch-windows | |
| Optionally move '<Shift><Alt>Tab' from switch-applications-backward to switch-windows-backward | |
| If you want switch-windows to work across desktops, not just in the current desktop, you can also uncheck org/gnome/shell/window-switcher/current-workspace-only (Courtesy of @CharlBotha) | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| gsettings set org.gnome.desktop.background picture-uri-dark "" | |
| gsettings set org.gnome.desktop.background picture-uri "" | |
| gsettings set org.gnome.desktop.background primary-color "#000000" | |
| gsettings set org.gnome.desktop.wm.preferences button-layout ":minimize,close" | |
| gsettings set org.gnome.settings-daemon.plugins.housekeeping donation-reminder-enabled false | |
| sudo pacman -Rns epiphany gnome-maps gnome-music gnome-weather gnome-clocks | |
| sudo pacman -Rns gnome-tour | |
| sudo pacman -S noto-fonts | |
| sudo pacman -S chromium | |
| sudo pacman -R gnome-contacts | |
| sudo pacman -R gnome-online-accounts | |
| # /usr/share/glib-2.0/schemas/99_org.archlinux.gdm.gschema.override | |
| [org.gnome.login-screen] | |
| enable-smartcard-authentication=false | |
| logo='/usr/share/pixmaps/1px.png' | |
| # run to save | |
| sudo glib-compile-schemas /usr/share/glib-2.0/schemas/ | |
| # gnome extensions | |
| https://extensions.gnome.org/extension/1160/dash-to-panel/ | |
| copy to ~/.local/share/gnome-shell/extensions | |
| #shortcut | |
| #ctrl+alt+t | |
| #kgx | |
| # remove root pass login | |
| sudo passwd -l root | |
| # password protected store | |
| # /etc/crypttab | |
| home_crypt UUID=...-....-....... none luks | |
| # /etc/fstab | |
| /dev/mapper/home_crypt /home ext4 defaults 0 2 | |
| # .bashrc extra | |
| PS1='\[\e[1;32m\]\u\[\e[0m\]@\[\e[1;34m\]\h\[\e[0m\]:\w\$ ' | |
| # /efi/loader/loader.conf | |
| default arch | |
| timeout 0 | |
| editor no | |
| # /efi/loader/entries/arch.conf | |
| title Linux | |
| linux /vmlinuz-linux | |
| initrd /initramfs-linux.img | |
| options root=UUID=767e79cf-5b89-4f5d-a143-ec472cd76fe8 rw quiet loglevel=3 | |
| # other | |
| sudo pacman -Sy htop | |
| sudo pacman -S wireguard-tools | |
| sudo pacman -S openvpn networkmanager-openvpn | |
| sudo pacman -S file-roller | |
| # node | |
| pacman -S nodejs npm | |
| pacman -Sy python-setuptools | |
| # user mode install | |
| curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.2/install.sh | bash | |
| # alt tab | |
| Open dconf-editor | |
| Go to org/gnome/desktop/wm/keybindings | |
| Move the value '<Alt>Tab' from switch-applications to switch-windows | |
| Optionally move '<Shift><Alt>Tab' from switch-applications-backward to switch-windows-backward | |
| sudo pacman -S qt5ct qt6ct | |
| mkdir -p ~/.config/environment.d | |
| cat > ~/.config/environment.d/qt6ct.conf << 'EOF' | |
| QT_QPA_PLATFORMTHEME=qt6ct | |
| EOF | |
| # disable click to extract | |
| xdg-mime default org.gnome.FileRoller.desktop \ | |
| $(sed -n -e "/^MimeType=inode\/directory;/{s///;s/;/ /gp}" \ | |
| /usr/share/applications/org.gnome.Nautilus.desktop) | |
| # Set deny = 0 in /etc/security/faillock.conf | |
| pacman -Sy power-profiles-daemon | |
| systemctl enable power-profiles-daemon | |
| # shitty wsdd | |
| sudo pacman -Rns gvfs-wsdd | |
| # time sync | |
| timedatectl set-ntp true | |
| timedatectl set-timezone Europe/Bratislava | |
| systemctl restart systemd-timesyncd | |
| timedatectl status |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [/] | |
| animate-appicon-hover=false | |
| animate-appicon-hover-animation-extent={'RIPPLE': 4, 'PLANK': 4, 'SIMPLE': 1} | |
| appicon-margin=0 | |
| appicon-padding=4 | |
| available-monitors=[0] | |
| dot-color-dominant=true | |
| dot-color-override=false | |
| dot-color-unfocused-different=false | |
| dot-position='BOTTOM' | |
| dot-size=2 | |
| focus-highlight-dominant=true | |
| group-apps=true | |
| hide-overview-on-startup=true | |
| hotkeys-overlay-combo='TEMPORARILY' | |
| intellihide=true | |
| intellihide-close-delay=400 | |
| intellihide-hide-from-windows=true | |
| leftbox-padding=-1 | |
| multi-monitors=false | |
| panel-anchors='{"0":"MIDDLE","1":"MIDDLE"}' | |
| panel-element-positions='{"0":[{"element":"showAppsButton","visible":true,"position":"stackedTL"},{"element":"activitiesButton","visible":false,"position":"stackedTL"},{"element":"leftBox","visible":true,"position":"stackedTL"},{"element":"taskbar","visible":true,"position":"stackedTL"},{"element":"centerBox","visible":true,"position":"stackedBR"},{"element":"rightBox","visible":true,"position":"stackedBR"},{"element":"dateMenu","visible":true,"position":"stackedBR"},{"element":"systemMenu","visible":true,"position":"stackedBR"},{"element":"desktopButton","visible":true,"position":"stackedBR"}]}' | |
| panel-lengths='{"0":100,"1":100}' | |
| panel-positions='{"0":"TOP"}' | |
| panel-sizes='{"0":32,"1":32}' | |
| primary-monitor=0 | |
| status-icon-padding=-1 | |
| stockgs-keep-dash=false | |
| stockgs-keep-top-panel=false | |
| stockgs-panelbtn-click-only=false | |
| trans-panel-opacity=0.80000000000000004 | |
| trans-use-custom-gradient=false | |
| trans-use-custom-opacity=true | |
| trans-use-dynamic-opacity=false | |
| tray-padding=-1 | |
| tray-size=0 | |
| window-preview-title-position='TOP' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sudo nano /etc/systemd/system/disable-ibus-typing-booster.service | |
| [Unit] | |
| Description=Disable ibus-setup-typing-booster | |
| [Service] | |
| Type=oneshot | |
| ExecStart=/bin/bash -c 'if [ -f /usr/libexec/ibus-engine-typing-booster ]; then echo "#!/bin/bash" > /usr/libexec/ibus-engine-typing-booster && echo "echo \'ibus-engine-typing-booster is disabled\'" >> /usr/libexec/ibus-engine-typing-booster && chmod +x /usr/libexec/ibus-engine-typing-booster; fi' | |
| RemainAfterExit=true | |
| [Install] | |
| WantedBy=multi-user.target | |
| sudo systemctl enable disable-ibus-typing-booster.service | |
| sudo systemctl start disable-ibus-typing-booster.service |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sudo swupd bundle-add containers-basic | |
| sudo mkdir -p /etc/containerd | |
| sudo nano /etc/containerd/config.toml | |
| disabled_plugins = ["cri"] | |
| systemctl restart containerd | |
| sudo ctr plugins ls |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sudo swupd bundle-add devpkg-libvpx | |
| sudo swupd bundle-add devpkg-libvorbis | |
| sudo swupd bundle-add devpkg-libass devpkg-libtheora devpkg-libvdpau devpkg-opus | |
| # https://community.clearlinux.org/t/how-to-h264-etc-support-for-firefox-including-ffmpeg-install/195/53?page=3 | |
| git clone --depth 1 https://code.videolan.org/videolan/x264.git | |
| cd x264 | |
| export PKG_CONFIG_PATH="/usr/local/lib/pkgconfig:/usr/local/lib64/pkgconfig:/usr/lib64/pkgconfig:/usr/lib64/haswell/pkgconfig" | |
| ./configure --enable-static | |
| make | |
| sudo make install | |
| sudo ldconfig | |
| cd .. | |
| ./configure --enable-gpl --enable-pthreads --enable-libx264 --disable-shared --enable-static --enable-libx264 --enable-libvpx --enable-libvorbis --enable-nonfree \ | |
| --disable-debug --enable-vaapi --enable-libtheora --enable-optimizations --extra-cflags='-I/usr/local/include -march=native -O3 -pipe' --extra-cxxflags='-march=native -O3 -pipe' --extra-ldflags='-L/usr/local/lib -L/usr/local/lib64 -flto -fuse-linker-plugin -Wl,-O1 -Wl,--as-needed' | |
| make -j 16 | |
| sudo make install | |
| sudo ldconfig |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sudo swupd bundle-add devpkg-openssl devpkg-libevent devpkg-zlib devpkg-json-c | |
| sudo swupd bundle-add git | |
| git clone https://github.com/adrienverge/openfortivpn.git | |
| cd openfortivpn | |
| autoreconf -i | |
| ./configure --prefix=/usr/local --sysconfdir=/etc | |
| make | |
| sudo make install | |
| sudo openfortivpn vpn.example.com:443 --username your_username --password your_password --no-routes |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
network display / miracast
sudo pacman -Syu
sudo pacman -S --needed base-devel git
git clone https://aur.archlinux.org/gnome-network-displays.git
cd gnome-network-displays
makepkg -si
drivers
sudo pacman -S gstreamer gst-plugins-base gst-plugins-good gst-plugins-bad gst-plugins-ugly
sudo pacman -S gst-plugins-bad gst-plugins-ugly libfdk-aac
sudo pacman -S intel-media-driver
sudo pacman -S vulkan-intel intel-media-driver libva-utils
sudo pacman -S gstreamer-vaapi
sudo pacman -Syu libva-utils
sudo pacman -Syu
sudo pacman -S --needed iw
test
gst-inspect-1.0 | grep -E "openh264enc|x264enc|vaapih264enc|avenc_h264"
gst-inspect-1.0 | grep -E "avenc_aac|voaacenc|fdkaacenc"
encode test
gst-launch-1.0 -e videotestsrc num-buffers=300 ! videoconvert !
vaapih264enc ! h264parse ! mp4mux ! filesink location=test_vaapi.mp4
systemctl status NetworkManager --no-pager
nmcli dev status
killall -9 gnome-network-displays
chromecast and network devices
sudo systemctl start --now avahi-daemon
run gnome-network-displays app
G_MESSAGES_DEBUG=all NETWORK_DISPLAYS_H264_ENC=vaapih264enc gnome-network-displays
remote sharing
systemctl --user enable gnome-remote-desktop
systemctl --user start gnome-remote-desktop
systemctl --user restart gnome-remote-desktop.service
grdctl rdp enable
grdctl rdp enable-view-only
systemctl --user edit gnome-remote-desktop.service
[Service]
Environment="G_MESSAGES_DEBUG=all"
Environment="GST_DEBUG=4"
Environment="LIBVA_DRIVER_NAME=iHD"
Environment="VDPAU_DRIVER=va_gl"
Environment="GST_VAAPI_ALL_DRIVERS=1"
Environment="GRD_VAAPI_PRIORITY=1"
systemctl --user restart gnome-remote-desktop.service
systemctl --user show gnome-remote-desktop.service -p Environment
journalctl --user -u gnome-remote-desktop.service -b --no-pager
./adb reverse tcp:3389 tcp:3389
./adb shell netstat -an | grep LISTEN
disable all
systemctl --user stop gnome-remote-desktop
systemctl --user disable gnome-remote-desktop