LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Blogs > linux-related notes
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.
Uncategorized Entries with no category
Old

Uniformity between GTK2/3 and QT/KDE with QT using GTK themes

Posted 07-04-2014 at 01:52 AM by the dsc (linux-related notes)
Updated 07-04-2014 at 01:54 AM by the dsc
Tags gtk, kde, q.t., theming

Whereas gtk-qt-engine doesn't work very well, that is, GTK can't be easily made to "simulate" QT/KDE themes, the converse seems to work very well, and apparently no additional package is needed for that, but QT alone, or actually just qtconfig-qt4, in order to set the QT/KDE* theme as "GTK+".

So one third of the problem of desktop uniformity is solved if you have one GTK2 (I believe it's GTK2, not 3, I'm not sure) theme that you find good enough to have both in...
Member
Posted in Uncategorized
Views 330 Comments 0 the dsc is offline
Old

Adaptive "default" browser script (rudimentary, but seems to work)

Posted 06-28-2014 at 04:22 AM by the dsc (linux-related notes)
Updated 07-01-2014 at 05:45 PM by the dsc ("bugfix")

Sometimes you open an application that will in turn open some web page, and it will automatically open it with the default browser. The problem is that often you'd prefer that it had been opened in whatever other browser that may be already running, even if it's not the system's default. So I came up with this script in order to try to get this behavior:

Code:
#!/bin/bash
# This "software" (so to speak) is totally UNLICENSED and barely documented. What you see is
...
Member
Posted in Uncategorized
Views 319 Comments 0 the dsc is offline
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 330 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 271 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 423 Comments 0 the dsc is offline

  



All times are GMT -5. The time now is 06:06 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