LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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

[SOLVED, kind of] GIMP 2.9 fails to start due to incompatible (?) MyPaint brushes

Posted 10-28-2016 at 05:59 PM by the dsc (linux-related notes)
Updated 10-28-2016 at 06:01 PM by the dsc
Tags gimp, mypaint

GIMP 2.9 may fail to start due to some MyPaint brushes failing to "deserialize", whatever that means.

In order to "solve" that you don't need to get rid permanently of such brushes, which may still work fine on MyPaint itself.

Instead, move/rename the .mypaint user folder (perhaps ~/.config/mypaint to some?) to mypaint-temp or whatever, run gimp 2.9, it will start. Then go to preferences, folders, and change the mypaint-brushes folder settings, but...
Member
Posted in Uncategorized
Views 122 Comments 0 the dsc is offline
Old

Ambiance-blue seems to be a another GTK "mandatory alternative" theme for firefox

Posted 10-22-2016 at 11:43 PM by the dsc (linux-related notes)
Updated 10-22-2016 at 11:48 PM by the dsc

Firefox lately hasn't been working quite properly with any other theme than Adwaita, GTK3's default. Even Debian's firefox (now firefox again), even though it's still GTK2, somehow, apparently.

The main (perhaps only) problem is that "tooltips" will be black on black, both UI tooltips and alo the "native" tooltip when you hover a link.

If one doesn't hate Adwaita more than one hates not having legible tooltips, then firefox can be run as
...
Member
Posted in Uncategorized
Views 179 Comments 0 the dsc is offline
Old

A few tools to manage the CPU load of processes

Posted 10-12-2016 at 01:11 PM by the dsc (linux-related notes)

Sometimes I see questions related with that floating around, so here's a quick and lazy (just copying defitions from the manuals or sites of these programs) post on which hopefully someone in need of such tools will stumble as well.

"ionice - get/set program io scheduling class and priority"

"The auto nice daemon activates itself in certain intervals and renices jobs according to their priority and CPU usage. Jobs owned by root are left alone. Jobs are...
Member
Posted in Uncategorized
Views 163 Comments 0 the dsc is offline
Old

KDE/QT dialogs in GTK/Gnome, or, "that's a good question".

Posted 10-11-2016 at 05:20 AM by the dsc (linux-related notes)
Updated 10-11-2016 at 05:22 AM by the dsc

Quote:
October 12, 2008 at 17:09
Well now Qt uses GTK dialogs in GNOME. Why can’t Gtk “repay the debt” and use KDE dialogs in KDE?

http://blog.qt.io/blog/2008/10/01/na...logs-in-gnome/
I didn't even know that KDE did that/allowed to do that (alongside with GTK2 theming, which again, doesn't work in the other direction).

How nice would it be if it was reciprocal.

I simply don't understand some UI developers philosophies. Like "lets...
Member
Posted in Uncategorized
Views 94 Comments 0 the dsc is offline
Old

Silent pulse audio output detection/indication, with bash + arecord

Posted 10-02-2016 at 04:16 AM by the dsc (linux-related notes)
Updated 10-02-2016 at 04:19 AM by the dsc

You can "grep" something at /proc or whatever that tells whether there's some sound theoretically being played, but it will give a false positive when "silent sound" is being played.

A clumsy hack along these lines can detect "silent audio" as silence:

Code:
while true ; do 
arecord -d 1 -D pulse > /dev/shm/test-audio 2>&1 
cut -c 300- /dev/shm/test-audio | grep -a [[:alpha:]] > /dev/null && echo sound
...
Member
Posted in Uncategorized
Views 135 Comments 0 the dsc is offline

  



All times are GMT -5. The time now is 01:09 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration