💡🐧 My Manjaro Tips and Preferences

Theming

1. Change Default Theme

Edit ~/.config/gtk-3.0/settings.ini, add below line:

gtk-theme-name="Layan-Dark"

Change according to your theme. Do also to the ~/.config/gtk-4.0/settings.ini

2. Prevent Gnome to Use Default Theme After Restart

Go to Gnome Extension, disable the “Legacy (GTK3) Theme Scheme Auto Switcher”

3. Some Apps/Software Don’t Follow The Active Theme

The below solution is if the problem caused by Gnome 43, for example the Calculator app and Nautilus (files) app.

1. Solution 1

Edit /etc/environment (you can use nano with sudo), and add the following line:

GTK_THEME=Layan-Dark

And relogin.

2. Solution 2

Copy file from {theme folder}/gtk-4.0 ke ~/.config/gtk-4.0 and relogin. This doesn’t work if the theme have a file called “gtk.gresource”. And then relogin.

3. Solution 3

Edit ~/.profile (you can use nano), add the following line:

export GTK_THEME=Layan-Dark

And relogin.

4. Add Windows Transparency

yay -S mutter-rounded --overwrite '*'
sudo pacman -S yarn
git clone https://github.com/yilozt/mutter-rounded-setting
cd ./mutter-rounded-setting
./install

To access it:

gjs dist/mutter_settings.js

Or run “dconf-editor” then go to “org/gnome/mutter”

Control and Navigation

1. Isolate Workspace When Alt+Tab

Go to Settings > Multitasking > scroll and check isolate. Or you can run the following code:

gsettings set org.gnome.shell.app-switcher current-workspace-only true

2. Enabling Smooth Scroll in Firefox (Pixel Scrolling)

Edit /etc/environment (you can use nano with sudo), and add the following line:

MOZ_USE_XINPUT2=1
MOZ_ENABLE_WAYLAND=1

3. Enabling Pinch to Zoom in Firefox

In the Firefox:

about:config
apz.gtk.touchpad_pinch.enabled=true

Coding

1. Jupyter can’t run in VSCode

yay -S code-features

2. Intellisense doesn’t Work in Jupyter Cells in VSCode

Go to VSCode Settings > Extension > Jupyter > check the Enable Extended Kernel Completions

Softwares

1. Install NVIDIA, CUDA, CUDNN

sudo mwhd -a pci nonfree 0300
sudo pacman -S cuda cudnn

2. Install Wine to Run Executable App

sudo pacman -S wine wine-gecko wine-mono

Thanks

Leave a Reply

Your email address will not be published. Required fields are marked *