LinuxQuestions.org
Help answer threads with 0 replies.
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

Autostart script method to fix the GTK3 scroll-warp feature-bug

Posted 09-27-2016 at 07:41 PM by the dsc (linux-related notes)
Updated 09-27-2016 at 07:44 PM by the dsc

I'm not aware of there being something like a "gtk-3.0-settings.d" to preserve settings.ini options between theme changes (including involuntary ones), so that's a work-around method, adding that to the session auto-start script:

Code:
! grep warps-slider $HOME/.config/gtk-3.0/settings.ini && echo "gtk-primary-button-warps-slider = false" >> $HOME/.config/gtk-3.0/settings.ini
But that of course only works after a new login (not mentioning...
Member
Posted in Uncategorized
Views 35 Comments 0 the dsc is offline
Old

Poor, but acceptable, work-around to the lack of image previews for XCF and ORA (maybe other formats as well)

Posted 09-18-2016 at 10:35 PM by the dsc (linux-related notes)
Updated 09-18-2016 at 11:58 PM by the dsc
Tags gimp, ora, xcf

Apparently there isn't much system-wide preview support for formats such as XCF and ORA. It used to be better at some point, at least when KDE was mostly QT4, at some point I had fancy thumbnail previews of everything. Everything! Gwenview apparently was also at some point able to preview ORA and maybe the others, but I've never seen that.

So, unfortunately I'm not a programmer or anything, so I can only look for poor man's solutions like a script that converts such files into more...
Member
Posted in Uncategorized
Views 85 Comments 2 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 78 Comments 0 the dsc is offline
Old

Clock at the top-right corner "instead of" on the taskbar

Posted 09-10-2016 at 08:41 PM by the dsc (linux-related notes)
Updated 09-10-2016 at 08:50 PM by the dsc
Tags eyecandy

I like an auto-hiding taskbar, but a downside to it is that the clock is always hidden. Not that it's tremendously hard to just move the mouse over it in order to raise the clock again, but at the same time, often there is wasted space near the upper-right corner, that could well be used for a clock.

The easiest way to do it is simply with the osd_clock program:

Quote:
osd_clock -t -o -10 -r -s 1 -c "#DCDCDC" -F "%a %d %b %y %I:%M __________________________________________"
...
Member
Posted in Uncategorized
Views 80 Comments 0 the dsc is offline
Old

Handy 1-liner script to copy link addresses in Firefox just by hovering and pressing a key

Posted 09-06-2016 at 11:58 AM by the dsc (linux-related notes)
Updated 09-06-2016 at 12:56 PM by the dsc (grammerz und orthographicz ure wrongzes)

Let's say, there is a page with several interesting podcasts, you want to download several of them, not all. Don't bother with dozens of right-click-copy-url-then-go-and-paste-somewhere-somehow. Just hover the link and press a custom key that runs this script line:

Code:
xdotool click 3 && xdotool mousemove_relative 5 5 && xdotool key a && echo "$(xclip -o)" >> /dev/shm/ffclipboard
Evidently, it requires xdotool and xclip, not...
Member
Posted in Uncategorized
Views 138 Comments 0 the dsc is offline

  



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