LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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

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

Posted 08-30-2015 at 04:23 PM by the dsc (linux-related notes)
Updated 11-21-2015 at 07: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 737 Comments 3 the dsc is offline
Old

Configuring "spare" wacom/drawing tablet space as extra keys or something else?

Posted 08-21-2015 at 02:02 AM by the dsc (linux-related notes)
Updated 01-10-2016 at 11:29 PM by the dsc
Tags tablet

It's not an urgent matter so I won't post on the forums. But if anyone knows it's possible I'm quite interesting in directions on how to do it, specially if it's something more or less trivial, like not requiring to re-program the driver or something.

If the title/subject isn't clear, sometimes, in order to have the tablet area proportional with the screen, one may need to "unmap"/deactivate some of the tablet area. Then perhaps this could be configured as extra keys or...
Member
Posted in Uncategorized
Views 457 Comments 0 the dsc is offline
Old

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

Posted 08-18-2015 at 09:42 AM by the dsc (linux-related notes)
Updated 08-18-2015 at 10:03 AM by the dsc
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 542 Comments 0 the dsc is offline
Old

Timeline / "slider" for Openbox' MPC pipe menu (obmpc.sh)

Posted 08-17-2015 at 08:27 PM by the dsc (linux-related notes)
Updated 09-07-2015 at 03:12 AM by the dsc

My most recent customization/tweak to a script that isn't really mine:

https://github.com/leomeloxp/dotfile...enbox/obmpc.sh

Change the denominator of "slice1" and the put the same number in the loop in order to have more or less time slices. It seems there may be something somewhat wrong with the maths, but seems to work nevertheless.

Code:
  echo "  <separator />"
    dur=$(mpc -f %time% | head -n 1)
...
Member
Posted in Uncategorized
Views 331 Comments 0 the dsc is offline
Old

Awk line to convert [HH]:MM:SS to seconds

Posted 08-17-2015 at 07:35 PM by the dsc (linux-related notes)

awk -F':' '{if (NF == 2) {print $1 * 60 + $2} else {print $1 * 60 * 60 + $2 * 60 + $3}}'

I saw it somewhere and maybe tweaked a bit, maybe not -- I barely know anything of awk.

I find it particularly good because you can give just minutes or hours and minutes as input, there's no mandatory hours, unlike some other answers you'll see if you google for it, which will assume minutes as hours if there is no hours.

Of course, such assumption of the leading...
Member
Posted in Uncategorized
Views 276 Comments 2 the dsc is offline

  



All times are GMT -5. The time now is 07:27 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration