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
November 20, 2024 00:14
-
-
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 | |
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
[/] | |
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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
firmware
https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/
copy to
/etc/firmware/
/usr/lib/firmware/
modinfo iwlwifi | grep firmware > current