LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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

PCManFM-qt has become pretty much a complete replacement for Dolphin/Konqueror

Posted 12-31-2019 at 03:58 AM by the dsc (linux-related notes)

It has split view, and can have a permanent filter field, at the same time it's faster to come about and perhaps even to navigate (that may be just an illusory impression).

It's still miles and miles away from KFM of KDE3, but I believe humankind will never again match that greatness. Sad that "trinity" never got as much adoption as Mate.
Member
Posted in Uncategorized
Views 3902 Comments 2 the dsc is offline
Old

MPV script crops/zooms the video without reencoding

Posted 12-25-2019 at 09:05 AM by the dsc (linux-related notes)
Tags mpv

Have you ever seen or being interested in watching a video with some eerily poor framing source, like, the center of interest would be slides that are shown tiny as "a picture in picture" kind of thing? This script is the handiest tool to make them watchable, if the resolution is high enough:

https://github.com/aidanholm/mpv-easycrop

Pressing "c" and then clicking at an edge of the virtual crop will darken most of the video, then, as you move the...
Member
Posted in Uncategorized
Views 2049 Comments 0 the dsc is offline
Old

Great tip to mass edit a file with lots of paths, using variables and "sed"

Posted 12-17-2019 at 07:33 AM by the dsc (linux-related notes)
Tags sed

Sed "default" delimiter is "/", or at least that's what most people use. I tipically find "|" more readable, so that's "my" default. Regardless, it can still be troublesome if you're dealing with paths and variables, it seems somehow the command will "break up".

Glenn Jackman posted on Stack Overflow:
Quote:
A pure bash answer: use parameter expansion to backslash-escape any slashes in the variable:

Code:
var="/Users/Documents/name/file"
...
Member
Posted in Uncategorized
Views 3231 Comments 0 the dsc is offline
Old

"find" files of multiple extensions, on one or more directories, excluding multiple subdirectories

Posted 12-07-2019 at 12:43 PM by the dsc (linux-related notes)
Updated 12-07-2019 at 12:47 PM by the dsc

It took me quite a while to find the correct syntax, only after some dozens of attempts that only worked partly right:

Code:
 find "${PWD}" "/optionally/any/other/path/"  \( -path '*/\.*' -o -name '*notthisfolder*' -o -name '*northis*' -o -wholename "*oteven/thi*" \) -prune -o -iname '*.ext1' -o -iname "*.ext2" -o -iname "*.ext*nsion3"
Where '*/\.*' excludes hidden folders (also files, I guess). All the patterns between the...
Member
Posted in Uncategorized
Views 1791 Comments 0 the dsc is offline
Old

[SOLVED?] Kdialog ("save file as") extremely slow to show up

Posted 10-08-2019 at 12:15 PM by the dsc (linux-related notes)

There are plenty of threads around the internet with this problem, not everyone is able to reproduce it, and probably "fixes" don't always work. In my case, I'm not even on KDE/plasma, even though I prefer KDE file managers and dialogs.

What I found that worked for me so far was from here: https://forum.manjaro.org/t/dolphin-...-load/69134/11

Quote:
Originally Posted by b_quest

It’s because dolphin may call upower when starting and upower fails and causes
...
Member
Posted in Uncategorized
Views 906 Comments 0 the dsc is offline

  



All times are GMT -5. The time now is 03:20 PM.

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