LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices



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.
Old

Interesting blog post about zswap functionality

Posted 06-25-2014 at 04:31 PM by the dsc (linux-related notes)
Tags ram, swap, zswap

Zswap is basically like a "fake swap partition" inside the RAM itself, but instead of just "moving" things from one place to another in the RAM, these things are compacted, instead of being written to the actual swap partition, on the HDD. Or so I understand. It then squeezes more out of the RAM than with non-compressed use, at some cost of CPU due to the compression/uncompressions, and monitoring, but sparing access to the swap partition on the HDD.

https://www.ibm.com/developerworks/c...ality7?lang=en
Member
Posted in Uncategorized
Views 387 Comments 0 the dsc is offline
Old

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...
Member
Posted in Uncategorized
Views 302 Comments 0 the dsc is offline
Old

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...
Member
Posted in Uncategorized
Views 535 Comments 0 the dsc is offline
Old

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")

Code:
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...
Member
Posted in Uncategorized
Views 625 Comments 0 the dsc is offline
Old

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....
Member
Posted in Uncategorized
Views 385 Comments 0 the dsc is offline

  



All times are GMT -5. The time now is 08:59 AM.

Main Menu
Advertisement

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