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

Ridiculous work-around for kdialog ignoring geometry parameters

Posted 11-30-2023 at 03:55 PM by the dsc (linux-related notes)
Updated 01-29-2024 at 01:25 PM by the dsc

Have kdialog preceeded by (or succeeded after an "&" if the context allows it, and if it's preferable for some reason) a loop that has wmctrl "grepping"/activating" the unique name of the kdialog window, followed by xdotool resizing it, and breaking the loop.

Code:
( while  true ; do
sleep 0.2 # reduces CPU load if the loop never breaks for some reason
wmctrl -a "relevant and ideally unique title for kdialog window"  &&
...
Member
Posted in Uncategorized
Views 141 Comments 0 the dsc is offline
Old

"Show original directory" on Dolphin5, as a Service Menu

Posted 09-11-2016 at 05:29 PM by the dsc (linux-related notes)
Updated 09-11-2016 at 05:33 PM by the dsc

It used to be a native function of Konqueror/Dolphin4, but apparently it's rubbish and should be a service menu, so here's my attempt at it.

Code:
# This is free, open-source, and all that kind of stuff 
[Desktop Entry]
Type=Service
X-KDE-ServiceTypes=KonqPopupMenu/Plugin
MimeType=all/all
Actions=goToRealPath;
ServiceTypes=KonqPopupMenu/Plugin

[Desktop Action goToRealPath]
Name=Go To Real Path
Exec=dolphin "$(dirname
...
Member
Posted in Uncategorized
Views 1050 Comments 0 the dsc is offline
Old

[solved?] New GTK2 bug? Maybe it's a QtCurve bug. Theme changes randomly

Posted 08-30-2015 at 03:23 PM by the dsc (linux-related notes)
Updated 11-21-2015 at 06:22 PM by the dsc
Tags bugs, theme

UPDATE: whatever happened before, it seems that now it can be partly solved by simply commenting out the font-related lines in /usr/share/themes/QtCurve/gtk-2.0/kdeglobals (not to be confused with KDE's own file with the same name!).

After a while (after a massive upgrade) the randomness of the thing stopped, the correct theming consistently fails. More evidently fonts, icon theme, and colors (including tooltips' colors). I'm not sure the widget's "design" is also affected,...
Member
Posted in Uncategorized
Views 1272 Comments 3 the dsc is offline
Old

[UPDATED] Fix some GTK3 new bugs/"features" with a few simple configurations

Posted 08-18-2015 at 08:42 AM by the dsc (linux-related notes)
Updated 04-28-2016 at 04:20 AM by the dsc (fixing broken link)
Tags bugs, gtk3

"Legacy scrolling". Back then clicking on the scroll bar meant to go about a page up or down, not that you magically know the exact content that is at that absolute point. Also "remove overlay scroll indicators", so the scroll bar is always visible and occupies a definite space, instead of sometimes overlapping content and making it harder to click, as the overlay pops up.

https://wiki.archlinux.org/index.php...lling_behavior

...
Member
Posted in Uncategorized
Views 1337 Comments 0 the dsc is offline

  



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