### Install and Enable Snapd on Nobara Source: https://wiki.nobaraproject.org/general-usage/snaps/nobara-snaps This snippet shows the commands to install the snapd package manager using DNF, and then enable and start the snapd service. This is a prerequisite for using Snap packages on Nobara. ```bash sudo dnf install -y snapd sudo systemctl enable --now snapd ``` -------------------------------- ### Install KDE Applications and Cleanup Source: https://wiki.nobaraproject.org/general-usage/troubleshooting/switching-to-kde Installs essential KDE applications and then removes specific KDE applications and libraries that might be considered bloat or unnecessary for a minimal KDE setup. ```bash sudo dnf groupinstall -y \ guest-desktop-agents \ kde-apps \ kde-desktop-environment \ kde-media \ standard --exclude=ffmpeg,ffmpeg-libs sudo dnf remove -y \ dragon \ k3b \ kaddressbook \ kaddressbook-libs \ kdeaccessibility* \ kdepim-addons \ kdepim-runtime \ kdepim-runtime-libs \ kdiagram \ kf5-akonadi-calendar \ kf5-akonadi-mime \ kf5-akonadi-notes \ kf5-akonadi-search \ kf5-calendarsupport \ kf5-calendarutils \ kf5-kdav \ kf5-kidentitymanagement \ kf5-kimap \ kf5-kitinerary \ kf5-kldap \ kf5-kmailtransport \ kf5-kmailtransport-akonadi \ kf5-kmbox \ kf5-kontactinterface \ kf5-kpimtextedit \ kf5-kpkpass \ kf5-kross-core \ kf5-ksmtp \ kf5-ktnef \ kf5-libgravatar \ kf5-libkdepim \ kf5-libkleo \ kf5-libksane \ kf5-libksieve \ kf5-mailcommon \ kf5-mailimporter \ kf5-mailimporter-akonadi \ kf5-messagelib \ kf5-pimcommon \ kf5-pimcommon-akonadi \ kio-gdrive \ kipi-plugins \ kmahjongg \ kmail \ kmail-account-wizard \ kmail-libs \ kmines \ kolourpaint \ kolourpaint-libs \ kontact \ kontact-libs \ konversation \ korganizer \ korganizer-libs \ kpat \ krdc \ krdc-libs \ krfb \ krfb-libs \ krusader \ ktorrent \ kwrite \ libkdegames \ libkgapi \ libkmahjongg \ libkmahjongg-data \ libkolabxml \ libphonenumber \ libwinpr \ mpage \ pim-data-exporter \ pim-data-exporter-libs \ pim-sieve-editor \ plasma-welcome \ qgpgme \ qt5-qtwebengine-freeworld \ qtkeychain-qt5 \ scim* \ system-config-printer \ system-config-services \ system-config-users \ unoconv \ xsane \ xsane-gimp \ abrt-desktop ``` -------------------------------- ### Install and Enable falcond Service Source: https://wiki.nobaraproject.org/general-usage/additional-software/falcond Installs the falcond package and enables its systemd service to start automatically on boot. This is the initial setup step for using falcond. ```bash sudo dnf in falcond --refresh sudo systemctl enable --now falcond ``` -------------------------------- ### Install WineASIO and Configure Realtime Privileges (Bash) Source: https://wiki.nobaraproject.org/general-usage/additional-software/wineasio Installs the WineASIO package and enables necessary system services for realtime audio processing. It also adds the current user to the 'realtime' and 'pipewire' groups, requiring a reboot for changes to take effect. ```bash sudo dnf in wineasio sudo systemctl enable realtime-setup.service sudo systemctl enable realtime-entsk.service sudo usermod -aG realtime $(whoami) sudo usermod -aG pipewire $(whoami) reboot ``` -------------------------------- ### Configure Input and Display Settings via Setup Script Source: https://wiki.nobaraproject.org/modifications/packages The default `setup` package from Fedora includes modifications to `/etc/profile` for specific workarounds. These include settings for input methods (IBUS) to address synchronization issues and display settings (KWIN) to manage triple buffering for HDR on Nvidia GPUs. These exports are intended to resolve known bugs and improve system stability. ```bash # workaround for input issue https://github.com/ibus/ibus/issues/2618 export IBUS_ENABLE_SYNC_MODE=2 # workaround for KDE Plasma HDR on Nvidia issue https://bugs.kde.org/show_bug.cgi?id=495260 export KWIN_DRM_DISABLE_TRIPLE_BUFFERING=0 ``` -------------------------------- ### Install Snap Store on Nobara Source: https://wiki.nobaraproject.org/general-usage/snaps/snap-package-managers This command installs the `snap-store` application, which is the recommended package manager for snaps on Nobara. It is used when the `snapd` service is installed but the graphical store is missing. This is a command-line operation requiring root privileges. ```bash sudo snap install snap-store ``` -------------------------------- ### Install and Enable GPU Screen Recorder UI Source: https://wiki.nobaraproject.org/general-usage/additional-software/GPU-Screen-Recorder Installs the graphical user interface for the GPU Screen Recorder and enables it to start automatically on user login. This command uses the DNF package manager, common in Fedora-based distributions like Nobara. ```bash sudo dnf in gpu-screen-recorder-ui --refresh systemctl enable --now --user gpu-screen-recorder-ui ``` -------------------------------- ### Example falcond Global Configuration Source: https://wiki.nobaraproject.org/general-usage/additional-software/falcond An example of the global configuration file for falcond, located at /etc/falcond/config.conf. These settings apply system-wide unless overridden by game-specific profiles. ```ini enable_performance_mode = true scx_sched = none scx_sched_props = default vcache_mode = none profile_mode = none ``` -------------------------------- ### Install MangoJuice on Nobara Source: https://wiki.nobaraproject.org/general-usage/additional-software/MangoJuice This command installs the MangoJuice application using the DNF package manager on Nobara Linux. It ensures that the necessary files and dependencies for MangoJuice are downloaded and configured. ```bash sudo dnf in mangojuice ``` -------------------------------- ### Configure Starship Prompt for New Bash Users Source: https://wiki.nobaraproject.org/modifications/packages This script enables and configures the Starship prompt for new users on their first login. It checks if Starship is installed and initializes it for Bash. If the user's Starship configuration file does not exist, it copies a default configuration if available. ```bash if test "$BASH"; then if command -v starship &>/dev/null; then eval "$(starship init bash)" if [ ! -f $HOME/.config/starship.toml ]; then if [ -f /usr/share/starship/starship.toml ]; then cp /usr/share/starship/starship.toml $HOME/.config/ fi fi fi fi ``` -------------------------------- ### Launch WineASIO Settings (Bash) Source: https://wiki.nobaraproject.org/general-usage/additional-software/wineasio Opens the WineASIO configuration utility for a specified Wine prefix. This allows users to adjust settings and ensure the driver is correctly configured for their audio applications. ```bash env WINEPREFIX=~/ wineasio-settings ``` -------------------------------- ### Install KDE and Switch Login Manager Source: https://wiki.nobaraproject.org/general-usage/troubleshooting/switching-to-kde Installs the KDE Plasma desktop environment and switches the display manager from GDM to SDDM. It also replaces Nobara's default workstation release with the KDE version. ```bash sudo dnf install -y sddm sudo systemctl disable gdm sudo systemctl enable sddm sudo rpm -e --nodeps nobara-release-identity-workstation sudo dnf swap -y nobara-release-workstation nobara-release-kde sudo dnf group install -y kde-desktop-environment --exclude=ffmpeg,ffmpeg-libs ``` -------------------------------- ### Install GPU Screen Recorder GTK App Source: https://wiki.nobaraproject.org/general-usage/additional-software/GPU-Screen-Recorder Installs the GTK-based graphical application for the GPU Screen Recorder. This provides an alternative user interface for managing the screen recording functionality. ```bash sudo dnf in gpu-screen-recorder-gtk ``` -------------------------------- ### Install DaVinci Resolve using Nobara Wizard Source: https://wiki.nobaraproject.org/general-usage/additional-software/davinci-resolve This process outlines the steps to install DaVinci Resolve using the dedicated Nobara DaVinci Resolve Wizard. It involves downloading the Resolve .zip file and letting the wizard handle the installation of necessary ROCm packages and Resolve itself. This method ensures Resolve works correctly with Nobara's runtime package. ```text 1. Open the Nobara DaVinci Resolve Wizard from the Nobara Welcome App: 2. Click the `Download DaVinci Resolve` url in the wizard to download the latest DaVinci Resolve .zip file. 3. Click the `Select Downloaded File` button to select the .zip file you just downloaded. 4. Once the file has been selected, The wizard will proceed to install ROCm packages for AMD hardware, then it will either install or upgrade DaVinci Resolve depending on whether or not you have it installed. It will display `Running DaVinci Resolve installer...` like so: All operations will occur in the background. Once the wizard has finished you should see a new popup showing `DaVinci Resolve installed Successfully!`: ``` -------------------------------- ### Example falcond Game Profile Source: https://wiki.nobaraproject.org/general-usage/additional-software/falcond An example of a game-specific profile configuration for falcond. These profiles define custom optimizations for individual games, overriding global settings when that game is running. ```ini name = "game.exe" performance_mode = true scx_sched = bpfland scx_sched_props = gaming vcache_mode = cache start_script = "/home/ferreo/start.sh" stop_script = "notify-send 'game stopped'" ``` -------------------------------- ### Register WineASIO with Wine Prefix (Bash) Source: https://wiki.nobaraproject.org/general-usage/additional-software/wineasio Registers the WineASIO driver with a specified Wine prefix. If no prefix is provided, it defaults to '~/.wine'. This step is crucial for Wine applications to recognize and utilize the WineASIO driver. ```bash env WINEPREFIX=~/ wineasio-register ``` -------------------------------- ### Manage Nvidia Drivers via Script Source: https://wiki.nobaraproject.org/new-user-guide-general-guidelines This command executes a Nobara script to manage Nvidia drivers. Running it once uninstalls existing drivers, and running it a second time installs them. This is a fallback method when the GUI driver manager is inaccessible. ```bash /usr/lib/nobara/drivers/modify-driver.sh nvidia-driver ``` -------------------------------- ### Create User-Specific falcond Profile Source: https://wiki.nobaraproject.org/general-usage/additional-software/falcond Instructions and example for creating a user-specific falcond profile. User profiles are stored in /usr/share/falcond/profiles/user/ and take precedence over system profiles with the same name. ```bash sudo mkdir -p /usr/share/falcond/profiles/user/ sudo nano /usr/share/falcond/profiles/user/game.conf ``` ```ini name = "game.exe" performance_mode = true scx_sched = bpfland scx_sched_props = gaming vcache_mode = cache start_script = "/home/ferreo/start.sh" stop_script = "notify-send 'game stopped'" ``` -------------------------------- ### Install DaVinci Resolve Encoder Plugins to IOPlugins Folder Source: https://wiki.nobaraproject.org/general-usage/additional-software/davinci-resolve This command shows how to move the extracted DaVinci Resolve encoder plugins into the Resolve IOPlugins directory using sudo. This step is necessary for Resolve to recognize and utilize the new encoding capabilities provided by the plugins. ```bash $ sudo mv DR-x264-x265-prores/*dvcp.bundle* /opt/resolve/IOPlugins/ $ sudo mv DR-vaapi/*dvcp.bundle* /opt/resolve/IOPlugins/ ``` -------------------------------- ### Reboot System Source: https://wiki.nobaraproject.org/general-usage/troubleshooting/switching-to-kde Reboots the system to apply the changes made to the display manager and desktop environment. ```bash sudo systemctl reboot ``` -------------------------------- ### Reinstall Nextcloud Client and Apply KDE Theme Source: https://wiki.nobaraproject.org/general-usage/troubleshooting/switching-to-kde Reinstalls the Nextcloud client if necessary and applies the Nobara KDE theme. This includes copying configuration files and setting GTK theme for GNOME applications running under KDE. ```bash sudo dnf install -y nextcloud-client sudo dnf install kde-nobara cp -R /etc/xdg/* ~/.config/ lookandfeeltool -a org.nobaraproject.desktop gsettings set org.gnome.desktop.interface gtk-theme Nobara ``` -------------------------------- ### Configure Nvidia Rendering Fixups (Shell) Source: https://wiki.nobaraproject.org/modifications/packages This script detects Nvidia GPUs and sets environment variables to improve rendering performance and compatibility, particularly for Wayland sessions and specific bug workarounds. It relies on the presence of `lspci` and checks for Nvidia device identifiers. ```shell if [ -f /bin/lspci ]; then nvgpu=$(lspci | grep -iE 'VGA|3D' | grep -i nvidia | cut -d ":" -f 3) if [[ ! -z $nvgpu ]]; then export LIBVA_DRIVER_NAME=nvidia export MOZ_DISABLE_RDD_SANDBOX=1 export EGL_PLATFORM=$XDG_SESSION_TYPE # https://bugs.kde.org/show_bug.cgi?id=488941, export KWIN_DRM_ALLOW_NVIDIA_COLORSPACE=1 fi fi ``` -------------------------------- ### Cleanup Leftover GNOME Packages Source: https://wiki.nobaraproject.org/general-usage/troubleshooting/switching-to-kde Performs a final cleanup of any remaining GNOME-specific packages and extensions that might persist after the main removal process. ```bash sudo dnf remove \ gnome-shell-extension-arc-menu \ gnome-shell-extension-clipboard-history \ gnome-shell-extension-custom-accent-colors \ gnome-shell-extension-gesture-improvements \ gnome-shell-extension-quick-settings-tweaker \ gnome-shell-extension-wireless-hid \ gnome-shell-nobara-theming \ gnome-extension-manager \ gnome-x11-gesture-daemon \ nobara-gnome-layouts \ gnome-shell-ext* \ gdm \ gnome-shell ``` -------------------------------- ### Convert AAC to PCM Audio using FFmpeg Script (Bash) Source: https://wiki.nobaraproject.org/general-usage/additional-software/davinci-resolve This bash script utilizes FFmpeg to convert video files with AAC audio to PCM audio. It iterates through all files with a specified extension in a directory, copies the video and subtitle streams, and converts the audio to pcm_s24le, saving the output as .mov files in a 'converted' subdirectory. Ensure FFmpeg is installed and accessible in your PATH. ```bash #!/bin/bash EXT=.mkv mkdir -p converted for f in *$EXT; do NAME=$(echo $f | sed "s/$EXT//g") ffmpeg -i "$f" -map 0:0 -map 0:1 -map 0:2 -vcodec copy -acodec pcm_s24le -f mov converted/"$NAME".mov done ``` -------------------------------- ### Enable Global Vulkan Capture Layer (Shell) Source: https://wiki.nobaraproject.org/modifications/packages This script globally enables the Vulkan capture layer for OBS by setting specific environment variables. It's a simple configuration to ensure Vulkan capture is active by default. ```shell export OBS_VKCAPTURE=1 export OBS_VKCAPTURE_QUIET=1 ``` -------------------------------- ### Fix GNOME Missing 'New File' Option (Shell) Source: https://wiki.nobaraproject.org/modifications/packages This script ensures the 'New file' option is available in GNOME file managers by creating the necessary directory and a placeholder 'Text file' if they don't exist. It targets the user's Templates directory. ```shell if [ ! -f $HOME/Templates/"Text file" ] then mkdir -p $HOME/Templates touch $HOME/Templates/"Text file" fi ``` -------------------------------- ### Run Nobara System Updater via CLI Source: https://wiki.nobaraproject.org/new-user-guide-general-guidelines Executes the Nobara system updater directly from the command line. This is suitable for SSH connections or non-graphical environments. It initiates a full system synchronization and update process. ```bash nobara-sync cli ``` -------------------------------- ### Remove GNOME Packages Source: https://wiki.nobaraproject.org/general-usage/troubleshooting/switching-to-kde Removes GNOME-related packages and groups from the system to free up space and prevent conflicts after switching to KDE. ```bash sudo rpm -e --nodeps gnome-shell sudo rpm -e --nodeps nobara-gnome-layouts sudo dnf group remove -y workstation-product-environment sudo dnf remove -y \ gdm \ evince \ file-roller \ gedit \ gnome-extension-manager \ gnome-icon-theme \ gnome-shell-extension-arc-menu \ gnome-shell-extension-blur-my-shell \ gnome-shell-extension-clipboard-history \ gnome-shell-extension-custom-accent-colors \ gnome-shell-extension-dash-to-panel \ gnome-shell-extension-desktop-icons \ gnome-shell-extension-gamemode \ gnome-shell-extension-gesture-improvements \ gnome-shell-extension-pop-shell \ gnome-shell-extension-supergfxctl-gex \ gnome-shell-extension-user-theme \ gnome-shell-extension-wireless-hid \ gnome-shell-nobara-theming \ gnome-startup-applications \ gnome-tweaks \ gnome-x11-gesture-daemon \ nautilus-admin \ nobara-gnome-layouts \ qt5ct ``` -------------------------------- ### Configure Steam Download Speeds Source: https://wiki.nobaraproject.org/modifications/packages This snippet shows configuration options for the Steam package provided by Nobara Project to improve download speeds. It enables HTTP/2 for Linux clients and adds a factor for improving download rate by adding another connection. ```ini @nClientDownloadEnableHTTP2PlatformLinux 0 @fDownloadRateImprovementToAddAnotherConnection 1.0 ``` -------------------------------- ### Configure Kernel for Filesystem and Input Devices Source: https://wiki.nobaraproject.org/modifications/kernel Kernel configuration settings for filesystem features like NTSYNC and DM_SNAPSHOT, and input device support including memoryless force feedback and I2C devices. ```kconfig CONFIG_NTSYNC=y CONFIG_DM_SNAPSHOT=y CONFIG_INPUT_FF_MEMLESS=y CONFIG_I2C_CHARDEV=y CONFIG_BMI260_I2C=m ``` -------------------------------- ### Create systemd service for power management Source: https://wiki.nobaraproject.org/graphics/amd/flicker-issue-kde-wayland-at-frame-rates-greater-100-fps This snippet creates a systemd service file to set the power_dpm_force_performance_level to 'high'. This is a workaround for flicker issues in KDE Wayland at high frame rates. It requires root privileges to create the file and enable the service. ```bash [Unit] Description=set the parameters power_dpm_force_performance_level [Service] Type=oneshot ExecStart=/bin/bash -c 'echo high > /sys/class/drm/card*/device/power_dpm_force_performance_level' [Install] WantedBy=multi-user.target ``` ```bash systemctl daemon-reload systemctl enable --now power-dpm.service ```