Showing posts with label linux. Show all posts
Showing posts with label linux. Show all posts

Sunday, 13 September 2026

[CTWM] Fixing firefox's mouse offset bug in ctwm

Firefox under ctwm has a nasty bug: when in full-screen, the mouse position is a bit offset.

Clicking, marking text, etc., is a bit away from the actual cursor position.


One fix under ctwm is to disable window decorations for Firefox.

You will lose buttons like maximize, minimize, and close, but there is a great solution for this:


export MOZ_GTK_TITLEBAR_DECORATION=system

Dang... problem solved!!!
This happens because Firefox attempts to guess modern (crap) desktop environments, e.g., (Fisher-Price) GNOME or KDE (aka KBloat), and completely miscalculates the window geometry math when forced into a minimal X11 environment.

Even enabling USE_EWMH in your .ctwmrc doesn't always fix it.

The only minus is you wont have the same window decoration on firefox
but at least the most buttons and the border are there...


Happy browsing in ctwm!

Friday, 28 February 2025

[*] darn GTK4 apps don't follow dark theme

Fresh install of Ubuntu Unity , smooth transition, just few fixes, alas some darn GTK4 apps - eg the half-baked file-roller - don't give an F about the dark theme I have (yaru-dark), they also don't obey anymore the  ' dconf write /org/gnome/desktop/interface/color-scheme "'prefer-dark'" ' that works nicely with GTK3 apps.. (FFS really) , took a while to find the solution, put this 

export GTK_THEME=Yaru:dark

into your .profile


Update

Same crap on Fedora (F42) Gnome ! This time fixed by adding : 

export GTK_THEME=HighContrastInverse 

on my aliases file under the  $HOME/.bashrc.d directory
HighContrastInverse a bit more 'compatible' with the HighContrast on Accessibility -if you like that.
btw you can use something else eg GTK_THEME=Adwaita:dark . still some apps may have broken interfaces because of this, eg style and accent colour are not working anymore (effing mess there ... )


Friday, 1 March 2024

multi compress Amiga directories and their .info under linux as separate archives

a/ using LHA under linux :

 

for i in */; do lha c "${i%/}.lha" "$i" "${i%/}.info" ; done

 

b/  using tar
 

for i in */; do tar -cvf "${i%/}.tar" "$i" "${i%/}.info" ; done

 

both of them will create individually archives 



Monday, 22 January 2024

fix ID3 on mass mp3s

both my ipods - hacked to RockBox started to freak up and stop on multiple mp3s , the error ? something like ?kbps - (noID3)

the solution: strip any ID3 - eg via DeadBeef - and convert to v.2.3

via eyeD3

(DO NOT strip other vers of ID3 using eyeD3 as it will del the v2 as well!

eyeD3 --to-v2.3 *.mp3
 

Saturday, 5 August 2023

GIMP : increase friggin small fonts on menu

 This addon works! Just put it into your plug-ins folder. To find your plug-ins folder : run GIMP then  Edit > preferences > Folders > Plug-ins 

Solution works on windoze10 as well 

Monday, 17 December 2012

QTerminal (on razorQT)

What the heck now.. This shit cannot get parameters from the pcmanfm!
I mean that if you set as terminal emulator "qterminal %s" in any effin combination (with/without full path) the damn thing is not working and just opens
a terminal at the ~/ .. damn..  xterm works (yeah) but I found the solution:
apt-get install terminator !

Tuesday, 11 December 2012

GOG games...

Total waste of money , if you want to run them under linux (wine), better try to find the originals on eBay...

Friday, 7 December 2012

If you are on a x64 installation (and Intel GFX) then install too the mesa-dri-drivers.i686 in order to play windoze games under Wine

Thursday, 6 December 2012

Fedora 17

I did the "mistake" and installed the chromium from the official repo (http://fedoraproject.org/wiki/Chromium)

Well, then all my bookmarks (copied the ~/.config/google-chrome as ~/.config/chromium) *LOST* their favicons!!! Anyway, I had *NO* issues when I installed the google-chrome from the google (https://www.google.com/intl/en/chrome/browser/)


Fedora 17

Damn... I spend a lot of time to find what the f** the f** firewall did not allow NFS share (as sever)
even when the NFS4 ports were enabled...

As you can read here http://www.pomeroy.us/2012/03/   the f** OS uses other name as ethX ,just put the name of the "eth" device into the trusted firewall ports... f*** hell!