Monday, 18 April 2022

[debian] slow startup of GTK3 apps like firefox/seahorse etc as user (runs ok as root)

 This issue happens mainly when you start the X11 session via console, running those apps as root is without any slowdowns.

A solution that works is to source the systemd user session to your X11 environment, eg by entering this line into the .xinitrc

  systemctl --user import-environment DISPLAY XAUTHORITY &


Thursday, 14 April 2022

ctwm : 'forgets' key-bindings after a while...

 This is f evil!! It seems this is a bug: sometimes key-bindings stopped working on ctwm 

luckily there is a solution, put this on your .ctwmrc file

# Ignore Num Lock and Caps Lock IgnoreModifier { lock m2 }
 

hat tip to this message of the ctwm message-list.

 
 

Thursday, 31 March 2022

[NetBSD] fluxbox-generate_menu doesn't work

This is an issue mainly on NetBSD , looks like a bug since 2009? I bet that not even it's maintainer does not use this window manager - well well no surpices if some people hate BSD's , primadonna maintainers that usually boot to windoze...

how to fix it:

  • edit the /usr/pkg/bin/fluxbox-generate_menu as root
  • at the line 1223 there is :    USERFLUXDIR="\${HOME}....... 
  • remove the \ before the ${HOME}



Thursday, 13 January 2022

"lean" debian? ... try NakeDeb

nakeDeb is a french* Debian based derivative distribution intended to deliver an ultra-minimal debian installation allowing you to quickly install a working system or use it as a lightweight live backup.


*fear not, the distro is way useful for non-French speakers , like me. It is in fact my main OS on the PC , at least not the crap-o-bloat of Gnome/KDE , Fluxbox is bit ancient here - 1.3.5 from... 2011 ! the "latest"  one is 1.3.7 (2015? IIRC)  not that much of difference as no super-duper new features are there.

Feel free to install - play and customise this gem!

for more info: https://nakedeb.arpinux.org/

cheers to Arnault !!

Friday, 7 January 2022

Easy templates in Org >= 9.2 (emacs) are not working?

Easy templates on org-mode allowed you to type quick the block codes eg 

<s [tab] would produce

#+BEGIN_SRC 

#+END_SRC

Things were changed after org-mode v9.2, so now you have to type C-c C-,

or

add  (require 'org-tempo) to your init file

Sunday, 17 October 2021

fix Arduino IDE ESP32 "No module named serial" - on a python3 system.

First of all install the darn pyserial

pip3 install pyserial

If you see this error - again- then it's 100% because is a python c*ck up as /usr/bin/python points to the python2.x not the python3 binary.

solution (tested on OpenSUSE) :

sudo rm /usr/bin/python

sudo ln -s /usr/bin/python3 /usr/bin/python

Saturday, 31 July 2021

installation notes: notification-daemon

It is way better to install "notification-deamon" as notification app instead of the useless crap called "dunst" as the dunst-crap is NON interactive.