Smokes your problems, coughs fresh air.

Tag: KDE

Fixing the Firefox file dialogs in Linux Mint (17)

For a few months now, the file dialogs (open, save, etc) in Firefox on Linux Mint 17 KDE malfunctioned. Clicks didn’t go through and/or were interpreted as drags. I finally figured out that it was caused by the Oxygen KDE theme.

So, I installed mint-themes-gtk3 and chose Mint-X as my theme.

It is now fixed.

xwd, the best X11 screen grabbing tool

xwd (1) is my favorite screen capture program for X Windows. Usage is simple:

xwd|xwdtopnm|pnmtopng>/tmp/screen.png   # Or:

Entering one of these commands, will give you a special pointer to click on the window you want to capture. That’s how simple it is to grab an X window with xwd.

You can also grab the whole screen with -root or exclude the window borders with -nobdrs. The manual page contains more options.

I was pretty elated when I first discovered xwd. I didn’t like having to invoke the GIMP, just for taking a quick screenshot. KDE and GNOME come with screenshot utilities, but sometimes I prefer other window managers (e.g.: this machine has been running WindowMaker from day one). Also the GNOME utility lost the option to exclude the window borders (in GNOME’s noble quest to become an appliance). All in all, I was glad to learn about a tool that I could count on to be available on most machines that have X Windows installed. Except, Gentoo has stripped many of these useful, little tools from the base install:

emerge x11-apps/xwd

Gentoo update: Portage configuration confusion

During the first gentoo update session for this machine, I didn’t get very far. I already mentioned the problem I had with e2fsprogs, but this was not the first or the last problem that I had.

Until a few moments ago, I actually thought I made a bit of a fuck-up. I was meaning to make regular snapshots of /etc/portage files for a while now, because I was always just an echo something >> /etc/portage/package.keywords with one >-symbol too few away from destroying my configuration. Despite this fear, I thought I had already started deleting entries from /etc/portage/package.keywords and /etc/portage/package.unmask without backing up first.

Luckily, it turns out that I did make a dated copy of /etc/portage/package.keywords before starting on my modifications. I didn’t do so for /etc/portage/package.unmask, but I recovered a recent enough version from a recent full system rsync backup. So, everything is good. Still, I’m glad that I now use Git to track all changes in /etc/. All this goes to show that my methods are sometimes a bit more organized than my mind, which, I suppose, is a good thing. 😕

The point of this post—yes, there is a point—the point is that once you start mixing stable and unstable stuff, your system becomes, ehm, unstable. I have this huge amount of crap already in /etc/portage to cater to my wish to run stuff that I know to be quite stable but that isn’t yet marked as such in the Gentoo porttree. Now, after many months, I want to remove everything from package.keywords and package.unmask that is no longer necessary.

I was going to write about all the complicated upgrades, downgrades and conflicts suggested by Portage (mostly related to me removing KDE 4 stuff from package.keywords and package.unmask), because I was confused about what changes I had made. With the relevant backups readily available for comparison, I am no longer in a hurry to untangle my thoughts and I’ve moved the preliminary notes to a new draft for when I’ll actually update KDE 4.

Actual justification for this post

I’m trying to get into a blogging style were I post a lot more rubbish like this that can’t possibly be of any use to anybody except myself. I have plenty of reasons/excuses for this (about which I’ll likely post in the future), but I shouldn’t actually need any. That Ryan wanker who thinks I publish this blog for him should really shut the fuck up. Sure enough, he isn’t talking about this blog but I still think he’s a big-time asshole. Fuck you, Ryan!

© 2024 BigSmoke

Theme by Anders NorenUp ↑