LinuxQuestions.org
Visit Jeremy's Blog.
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

KDE5 manual bug fixes for Dolphin5 and ark service menus

Posted 06-02-2016 at 02:15 PM by the dsc (linux-related notes)
Updated 06-02-2016 at 02:22 PM by the dsc

Source:
Quote:
As posted on http://www.linuxgnut.com/dolphin-ext...n-kubuntu-1510 this is a practical fix for the problem:
sudo ln -s /usr/share/kde4/servicetypes/konqpopupmenuplugin.desktop /usr/share/kservicetypes5/

And manually added service menu files must be loaded with the command [/b]kbuildsycoca5[/b].


Makes me wonder how that "KDE trinity", "Mate for KDE3" thing is going on.
Member
Posted in Uncategorized
Views 311 Comments 0 the dsc is offline
Old

["SOLVED"] Weird failure in bash string comparison

Posted 05-02-2016 at 01:43 AM by the dsc (linux-related notes)
Updated 05-02-2016 at 01:52 AM by the dsc

A string produced by a given command is somehow different from a string produced by "catting" a file produced by redirecting the output of the very same command. That's weird, if you ask me.

The "solution" is not to compare them both, but create a second file from the "same" redirection, and then strings from "catting" those files. Then the comparison won't always say the strings are different.

Code:
#!/bin/bash
apps=$(ps -axo
...
Member
Posted in Uncategorized
Views 216 Comments 0 the dsc is offline
Old

Setting asymmetric correspondence between screen and mouse "area"

Posted 04-28-2016 at 07:57 AM by the dsc (linux-related notes)
Updated 04-28-2016 at 08:44 AM by the dsc
Tags ergonomy, mouse

Like the common acceleration feature, but asymmetric. So you can reach the ends of the screen with whatever range of motion "feels right", even if it's actually "wrong".

You basically misappropriate this spreadsheet:

https://docs.google.com/spreadsheets...gid=1008975224

(Thanks to whomever came up with it!)

Perhaps drawing two rectangles one inside the other may help...
Member
Posted in Uncategorized
Views 402 Comments 0 the dsc is offline
Old

[MYSTERY SOLVED] What does "echo ???????????????" really do?

Posted 04-20-2016 at 08:39 PM by the dsc (linux-related notes)
Updated 04-21-2016 at 05:07 PM by the dsc

It seems to alternate between listing an Nth file (somewhat obscurely related with the number of question marks) on the current folder, or giving some "history" entry, I guess.

That's weird.

Code:
22:54 **ROOT** /# echo ?
?
22:54 **ROOT** /# echo ??
??
22:54 **ROOT** /# echo ???
bin dev etc lib mnt opt run smb srv sys tmp usr var
22:55 **ROOT** /# echo ????
boot home proc root sbin
22:55 **ROOT** /# echo ?????
...
Member
Posted in Uncategorized
Views 382 Comments 4 the dsc is offline
Old

[WORK-AROUND] Bug on dragging windows of KDE/QT apps under openbox

Posted 04-12-2016 at 05:54 PM by the dsc (linux-related notes)
Updated 04-12-2016 at 05:56 PM by the dsc
Tags bug, kde, openbox

If you accidentally (or not) click/hold and drag the left mouse button from the inner area ("client" or "any empty area") in a KDE/QT window, it starts to be dragged/moved along, but it's not dropped when you release the button, unlike the behavior with GTK windows (at least GTK2, I guess). You got to press "enter" or "esc", I guess.

Presumably that doesn't happen under KDE proper/kwin, maybe not even with other window managers, but I didn't...
Member
Posted in Uncategorized
Views 287 Comments 0 the dsc is offline

  



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