Showing posts with label xfce4. Show all posts
Showing posts with label xfce4. Show all posts

Thursday, July 16, 2026

Monday, July 13, 2026

flameshot error: Screenshot portal timed out after 30 seconds

On a linux (arch or gentoo) with xfce4 and X server, flameshot does not run and gives an error:
flameshot: error: Screenshot portal timed out after 30 seconds
flameshot: error: Unable to capture screen

To fix that:
mkdir -p ~/.config/flameshot
Create or open if exists, ~/.config/flameshot/flameshot.ini, and add to it
[General]
useX11LegacyScreenshot=true

Restart flameshot

Thursday, May 14, 2026

picom: Sample confing in gentoo with xfce4 and nouveau dirver

Picom on Nouveau: Which Backend to Use If you're running the open-source nouveau NVIDIA driver and using the picom compositor, you've likely run into rendering glitches or crashes. The culprit is almost always the backend. Picom's GLX backend relies heavily on OpenGL, and nouveau's OpenGL support is incomplete. Stick to the xrender backend instead — it's slower, but stable. Create a config file at

~/.config/picom/picom.conf

with the following content:
backend = "xrender";

Vsync — disable, nouveau's support is unreliable
vsync = false;

Shadows
shadow = true;
shadow-radius = 7;
shadow-opacity = 0.75;
shadow-offset-x = -7;
shadow-offset-y = -7;

Fading
fading = true;
fade-in-step = 0.03;
fade-out-step = 0.03;

Opacity
inactive-opacity = 1.0;
frame-opacity = 1.0;
Then restart picom: pkill picom; picom -b
That's it. You trade some visual effects (blur requires GLX) for a stable desktop. If you ever switch to the proprietary NVIDIA driver, revisit the GLX backend for better performance.

Tuesday, May 12, 2026

gentoo: Extra packages for xfce4

sudo emerge -av xfce-extra/xfce4-whiskermenu-plugin xfce4-cpugraph-plugin xfce-extra/xfce4-notes-plugin x11-apps/xhost app-admin/system-config-printer xdg-desktop-portal-gtk xfce4-sensors-plugin

Sunday, May 03, 2026

gnome-boxes from flatpak: file selection window does not show

I had that issue on gentoo running systemd with xfce4. Even though xdg-desktop-portal and xdg-desktop-portal-gtk portals were installed and running, gnome-boxes file selection window was not working. The solution was to set gtk portal by default:

create ~/.config/xdg-desktop-portal/portals.conf:

[preferred]
default=gtk
org.freedesktop.impl.portal.FileChooser=gtk

Friday, April 10, 2026

bedrock with hijacked gentoo and xfce4: missing icons from strata in xfce4 application menu

sudo touch /usr/share/icons/hicolor
sudo gtk-update-icon-cache

based on: https://old.reddit.com/r/bedrocklinux/comments/llt5pp/buggy_icons_from_other_stratums_in_gnome/gnuo7tv/

Saturday, March 28, 2026

distrobox: start krusader with dark them from host

/run/current-system/sw/bin/distrobox-enter -n abox -- bash -c 'env GTK_THEME=Adwaita:dark ICON_THEME=Papirus QT_QPA_PLATFORMTHEME=qt6ct krusader -qwindowtitle %c %u'

Tuesday, March 10, 2026

Fix: Firefox in Distrobox "Show in Folder" Opens the Wrong App on Linux

In Distrobox, install thunar if using xfce4 and add inode/directory=thunar.desktop into ~/.config/mimeapps.list: [Default Applications]
inode/directory=thunar.desktop

Start libreoffice in dark theme from distrobox on nix os through .desktop file

On Host, after exporting the libreoffice from distrobox, edit e.g. ~/.local/share/applications/abox-libreoffice-calc.desktop and add "env GTK_THEME=Adwaita:dark": Exec=env GTK_THEME=Adwaita:dark /run/current-system/sw/bin/distrobox-enter -n abox -- libreoffice --writer %U

Friday, January 30, 2026

Fedora atomic (vauxite xfce4): install nvidia drivers

sudo rpm-ostree install akmod-nvidia xorg-x11-drv-nvidia
sudo rpm-ostree kargs --append=rd.driver.blacklist=nouveau,nova_core --append=modprobe.blacklist=nouveau,nova_core --append=nvidia-drm.modeset=1


https://github.com/eoladil/Fedora-Silverblue-Guides?tab=readme-ov-file#4-install-nvidia-drivers-for-current-geforce-tesla-and-quadro-gpus

Thursday, November 06, 2025

gentoo & xfce4: no authorized to mount hard drives

https://gist.github.com/Scrumplex/8f528c1f63b5f4bfabe14b0804adaba7

xfce by default uses https://packages.gentoo.org/packages/gnome-extra/polkit-gnome

If not automatically started, you can manually start it (as a user, not root):
/usr/libexec/polkit-gnome-authentication-agent-1

Friday, July 19, 2024

Sunday, January 22, 2017

MATLAB: Run using xfce4 launcher without termianl window

Add -desktop parameter, e.g., /opt/MATLAB/R2016a/bin/matlab -desktop

Thursday, January 05, 2017

Arch Xfce: Add print screen screenshot window

Add the following coomands to keyboard shortcuts into xfce4:
 xfce4-screenshooter -f
 xfce4-screenshooter -w

Saturday, July 20, 2013

Arch Linux: xfce 4.10 panel freezes

From time to time the xfce 4.10 panel freezes. Instead of restarting or logging out, one can just kill it and it should restartkillall -9 xfce4-panel