LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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

Hurdles of a customizer

Posted 06-30-2017 at 04:42 PM by the dsc (linux-related notes)
Updated 06-30-2017 at 04:44 PM by the dsc

So I've recently learned that Slim Display Manager is obsolete and ideally should be replaced with something else. Perhaps that's why systemd doesn't always actually turn off the power or reboots when it should, I thought, as I've read that it wasn't keeping up to date with systemd's stuff.

I've spent almost "the entire day" testing some other ones, and somehow none works just right. They mess with environment variables so that either the notification daemon doesn't work...
Member
Posted in Uncategorized
Views 624 Comments 0 the dsc is offline
Old

Possible workaround for dumb installs of multiple-versions of GIMP

Posted 06-23-2017 at 01:59 PM by the dsc (linux-related notes)
Updated 06-23-2017 at 02:00 PM by the dsc

Somehow I managed to install the debian stock GIMP 2.8 and compile the git 2.9. I had the impression that at some point they were both working, but after some upgrade of one and/or another, 2.8 was complaining about an improper version of libgimp.

That would probably have been prevented by doing things right, which may have included creating a debian package for 2.9, among other things. Perhaps the most important "other thing" would have been paying more attention with the...
Member
Posted in Uncategorized
Views 666 Comments 0 the dsc is offline
Old

Speeding up and reducing the quality of podcasts (saving disk space)

Posted 04-29-2017 at 10:49 PM by the dsc (linux-related notes)
Updated 09-15-2017 at 02:55 PM by the dsc

An interesting method I now realize is possible:

Code:
ffmpeg -i in-normal.mp3 -filter:a "atempo=1.4" -f wav - | lame -q 2 -v --vbr-new -V 9 -b8 -B 20 - out_speedup.mp3
A previous method I was using had sox and for some reason mpg123 or 321 I guess, to generate a "physical" temporary wav somewhere, this method use a pipe instead of an actual temporary file.

The input file isn't necessarily mp3, it can be m4a/aac at least, possibly also webm,...
Member
Posted in Uncategorized
Views 1763 Comments 1 the dsc is offline
Old

Interface design principles

Posted 04-27-2017 at 06:31 PM by the dsc (linux-related notes)
Updated 07-05-2017 at 01:43 PM by the dsc (links!)

Just an organized rant that I'll expand gradually as I think of new things. I'm not an expert in this subject but I believe that if more designers adhered to some of these principles, it would reduce somewhat problems related with stress, like high blood pressure, violence in the workplace, mass shootings. Things will possibly apply for webdesign, software GUI/CLI, and some stuff even for "hardwares" of any sort. Not necessarily in order of importance.

1 - ERGONOMY. For...
Member
Posted in Uncategorized
Views 974 Comments 0 the dsc is offline
Old

Apparently [[ *"$a"* == $b ]] is DIFFERENT from [[ $b == *"$a"* ]]

Posted 04-25-2017 at 11:11 PM by the dsc (linux-related notes)
Updated 04-25-2017 at 11:25 PM by the dsc

a="foo/bar" ; b="foo/bar/gee" ; [[ *"$a"* == $b ]] && echo -e "\n 1 - b contains a; *a* = b \n" ; [[ $b == *"$a"* ]] && echo -e "\n 2 - b contains a ; b = *a* \n"

Code:
$ a="foo/bar" ; b="foo/bar/gee" ; [[ *"$a"* == $b ]] && echo -e "\n 1 - b contains a; *a* = b \n" ; [[ $b == *"$a"* ]] && echo -e  "\n 2 - b contains a ; b =
...
Member
Posted in Uncategorized
Views 621 Comments 4 the dsc is offline

  



All times are GMT -5. The time now is 11:33 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
Open Source Consulting | Domain Registration