LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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

Bash xdotool+wmctrl "daemon" that maximizes "almost maximized" windows

Posted 10-01-2016 at 08:16 PM by the dsc (linux-related notes)
Tags openbox, wmctrl

I find annoying that, for whatever reason, it seems that some windows get "almost maximized" (I have the impression that some browsers do that by "design", even though I'm not sure), and then I end up clicking in a desktop pixel instead of the scroll bar or something. In my case that action is assigned to show the desktop/minimize all windows.

So here's what I just came up with so far, for a 1280x1024 resolution:

Code:
while true ; do sleep 3
...
Member
Posted in Uncategorized
Views 148 Comments 0 the dsc is offline
Old

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

Posted 04-12-2016 at 06:54 PM by the dsc (linux-related notes)
Updated 04-12-2016 at 06: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 165 Comments 0 the dsc is offline
Old

Opera Presto had the best GUI ever. Ever.

Posted 02-21-2016 at 11:27 PM by the dsc (linux-related notes)

I can't speak anything about the web-rendering part, which seemed at very least okay, in pair with firefox and chrome, if not somewhat better, sometimes. Even there the GUI alone could give it an edge sometimes as it had a button where you could choose to display/download no image at all, only display already cached images, or operate normally. Other browsers may even have that function, but it's hidden deeper in a less customizable GUI.

And customization was so easy and powerfull....
Member
Posted in Uncategorized
Views 959 Comments 2 the dsc is offline
Old

Application-specific recent files pipe-menus for Openbox

Posted 01-10-2016 at 10:55 PM by the dsc (linux-related notes)
Updated 01-14-2016 at 03:32 AM by the dsc (improvement)

Here's an example for GIMP:

Code:
#!/bin/bash

printf "<?xml version=\"1.0\" encoding=\"UTF-8\"?><openbox_pipe_menu>"

# Instead of just "gimp" in the next line, it could even be a series of
# related programs, if you juggle between different applications with 
# these files. Such as "gimp\|inkscape\|krita\|mypaint"

grep -B 10 gimp ~/.local/share/recently-used.xbel | \ 
grep
...
Member
Posted in Uncategorized
Views 1523 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 03-18-2016 at 01:20 PM 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 519 Comments 0 the dsc is offline

  



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