Daily Shaarli

All links of one day in a single page.

November 24, 2024

Note: Scanner setup

Install

sudo apt install --no-install-recommends simple-scan

Fix privilege problems (only sudo can scan)

1) Create /lib/udev/rules.d/55-libsane.rules and /lib/udev/rules.d/40-libsane.rules, each containing:

# Brother scanners
ATTRS{idVendor}=="04f9", ATTRS{idProduct}=="00ab", MODE="0660", GROUP="scanner", ENV{libsane_matched}="yes"

2) change 04f9 and 00ab with the ones found with lsusb

3) Add user to scanner group

    sudo usermod -a -G scanner nparafe

4) Reboot

Gear icon instead of App icon in taskbar - Ask Ubuntu
thumbnail

I made a .desktop file for a PyQt5 App, it does show the icon on the desktop, but when I open it and starts running, the icon is not showed in the taskbar, instead there is a gear icon. Thanks for ...

Guide: extremely minimal gnome wayland

Install base packages

sudo apt install --no-install-recommends gnome-shell gnome-terminal gnome-control-center 
some useful things
sudo apt install --no-install-recommends htop gnome-accessibility-themes gnome-tweaks psmisc wget ca-certificates eog
start from terminal
MOZ_ENABLE_WAYLAND=1 QT_QPA_PLATFORM=wayland XDG_SESSION_TYPE=wayland dbus-run-session gnome-shell
"logout" to tty
killall gnome-shell

for notifications to work (e.g. dino)

sudo apt install --no-install-recommends gjs

Install nautilus

sudo apt install --no-install-recommends nautilus

Qt apps look and feel

sudo apt install --no-install-recommends qt5ct adwaita-qt

add to ~/.profile

export QT_QPA_PLATFORMTHEME=qt5ct

Install network-manager

sudo apt install --no-install-recommends network-manager wpasupplicant

https://wiki.debian.org/NetworkManager#Wired_Networks_are_Unmanaged

gnome-keyring (untested)

sudo apt install --no-install-recommends gnome-keyring libpam-gnome-keyring 
start gnome-keyring
gnome-keyring-daemon -r -d

Stuff that currently don't work (for me)

  • Screen lock - power management

    • Needs GDM
    • There is a script (I haven't tested). More.
  • Night-light

  • Logout button

    • Needs GDM (is there a way to change the button command e.g. "killall gnome-shell" ?