Skip to content

Instantly share code, notes, and snippets.

View oprizal's full-sized avatar

Syaifur Rizal oprizal

View GitHub Profile
# Daemon config file for PipeWire version "0.3.40" #
#
# Copy and edit this file in /etc/pipewire for system-wide changes
# or in ~/.config/pipewire for local changes.
context.properties = {
## Configure properties in the system.
#library.name.system = support/libspa-support
#context.data-loop.library.name.system = support/libspa-support
#support.dbus = true
@oprizal
oprizal / install-nvidia-340xx-on-fedora-35.md
Created November 11, 2021 14:51
how-to-install-nvidia-driver-340xx-on-fedora-35

How to Install NVIDIA Driver 340xx on Fedora 35

After couple times failed to install Nvidia legacy driver 340xx on my Fedora 35, I found an instruction from the internet 1. Here are the step-by-step I did base on the article.

First, open terminal and be a root user.

Don't forget to add <space>+- after typing su.

$ su -
@oprizal
oprizal / build-latest-timeshift-version-on-fedora.md
Last active November 16, 2021 10:32
build-latest-timeshift-version-on-fedora
# Since I don't know the other depencies needed for Timeshift running on Fedora, first I install Timeshift (version 20.03) from Fedora repository to let any dependencies to be installed.
$ sudo dnf install timeshift 

# Install tools to build latest Timeshift
$ sudo dnf install vala libgee-devel libsoup-devel vte291-devel json-glib-devel

# Clone Timeshift repos
$ git clone https://github.com/teejee2008/timeshift.git
$ cd timeshift
@oprizal
oprizal / gnome-different-brightness-level-on-plugged-and-unplugged-the-ac-power.md
Created November 8, 2021 16:10
gnome-different-brightness-level-on-plugged-and-unplugged-the-ac-power

Gnome - Different Brightness Level when Plugged and Unplugged the AC Power

Recently I just annoyed that my laptop always changes the brightness level when plug and unplug the ac power.

Turn out this is because Gnome power management save different values when we changes the brightness level using Fn + Brightness or brightness slider.

Let say when the AC power plugged and we set the brightness level to 100% and then we unplug the AC power and change it to 75%.

Now each time we plug the AC power the brightness level will be 100% and if we unplug the AC power the brightness level will be 75% as the last value we set on each both state--on battery or on AC power.

@oprizal
oprizal / nvidia-legacy-driver-340xx-on-debian-11-bullseye.md
Last active June 1, 2024 18:16
Install Nvidia legacy driver 340xx on Debian 11 Bullseye

How to Install Nvidia Legacy 340xx Driver on Debian 11 Bullseye

DE/WM: Xfce4 & i3

First of all, always update the system first.

$ sudo apt update && sudo apt upgrade