Share your knowledge at the LQ Wiki.
Go Back > Blogs
User Name


Just annotations of little "how to's", so I know I can find how to do something I've already done when I need to do it again, in case I don't remember anymore, which is not unlikely. Hopefully they can be useful to others, but I can't guarantee that it will work, or that it won't even make things worse.

Gwenview > Gthumb

Posted 06-22-2014 at 04:01 AM by the dsc (linux-related notes)
Updated 06-22-2014 at 10:10 PM by the dsc (update)

I don't like much the "thumbnails only" mode that both these viewers/managers enforce, in the old days you could have a file list that you could alternate between various views, including thumbnails, and a preview pane. But these days we're almost forced to chose between the two, even though Geeqie isn't all that bad.

But Gwenview is absurdly superior in some basic editing, namely cropping and resizing. While editing files with about 2000x2000 px or so, Gthumb kept accessing/writing...
Posted in Uncategorized
Views 287 Comments 0 the dsc is offline

Fixing the fonts in Oracle Java 8, Debian

Posted 06-19-2014 at 03:43 PM by the dsc (linux-related notes)
Tags fonts, java

That was funny. I had the same problem some time ago, in an earlier install, and then accidentally stumbled in my own answer to the problem, and I didn't even remember that I had solved it before, much less how I did it. That's why I need this blog. :-/

The problem is that when you run a java app with the exported parameters to use the GTK look and feel, it runs reasonably OK (perhaps not 100% identical, I didn't compare if carefuly, but at least it's way more homogeneous than the...
Posted in Uncategorized
Views 480 Comments 0 the dsc is offline

A much faster "du" alternative for the current folder (non-recursive)

Posted 06-17-2014 at 10:55 PM by the dsc (linux-related notes)
Updated 06-17-2014 at 11:21 PM by the dsc (grammar, "benchmarks")

find . -maxdepth 1 -printf %k"000\n" | awk '{  sum += $1 } END { print sum }' | numfmt --from=auto --to=iec-i
I was annoyed with the fact that "du", with whatever parameters I tried to get only the usage for the files on the root of the current folder (i. e., non-recursive), took ages to give the result, while the value comes comparatively instantaneously when you're browsing the folders on a file manager like Konqueror or some other, with that indication. I don't...
Posted in Uncategorized
Views 514 Comments 0 the dsc is offline

Bash conversion of Opera sessions to "netscape standard" bookmarks

Posted 06-11-2014 at 04:34 AM by the dsc (linux-related notes)

You run it on the session folder (.win files, usually on ~/.opera/sessions/), and it will generate a single html file with all the bookmarks (taken from the last visited URL for any given tab in that session, hence the file/variable "lasturl" -- the session files record some "history", but this isn't being exported/converted here), and coded "subfolders" for each session file, with the filenames as titles. Every time it runs it rewrites this generated html file....
Posted in Uncategorized
Views 339 Comments 0 the dsc is offline

Restore some of chrome/ium performance by ditching extensions

Posted 06-05-2014 at 09:42 PM by the dsc (linux-related notes)
Updated 06-05-2014 at 09:44 PM by the dsc

It may be obvious at hindsight but took me a while to try it.

Chrome/ium already has the advantage of being able to enable/disable extensions without restart, so it's really a good practice, compared with Firefox. You can sometimes enable an extension just while you're using it.

I think the particular extension that was causing most of the slowness was/is Tampermonkey, which is sort of a scriptish/greasemonkey for Chrome. I think that there may be some bug with it because...
Posted in Uncategorized
Views 231 Comments 0 the dsc is offline


All times are GMT -5. The time now is 12:26 PM.

Main Menu

Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration