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

"Rofi" seems to be the best alt+f2 / fbrun replacement for Openbox

Posted 09-10-2019 at 10:25 AM by the dsc (linux-related notes)
Updated 09-11-2019 at 08:06 AM by the dsc

Not to be confused with ROFL.
Fbrun is quite nice, does what is supposed to, but the history corruption is quite disappointing.
Gmrun looks nice, but is terribly limited, you can't launch a command with any parameter, "foobarizer /path/to/file --foo --bar" becomes just "foobarizer." Yet it seems somewhat noticeably slower than FBrun.

I thought I could have an improvised replacement with something like bash -c "$(zenity --entry)", but it's...
Member
Posted in Uncategorized
Views 1892 Comments 0 the dsc is offline
Old

Openbox' rc application rules don't use the "raw" value of xprop properties

Posted 02-12-2019 at 03:45 AM by the dsc (linux-related notes)

For a long while, I thought you should add things like "_NET_WM_WINDOW_TYPE_DIALOG", the literal output of xprop/obxprop, but you should actually just abbreviate this part at least to either "normal, dialog, splash, utility, menu, toolbar, x, or desktop", as the comment-description that should come in the default rc.xml says.

That's particularly useful if you have different rules for different windows of the same application, like having the main window maximized...
Member
Posted in Uncategorized
Views 883 Comments 0 the dsc is offline
Old

Sometimes Openbox' own rc.xml "application" settings will work when devilspie doesn't

Posted 12-06-2018 at 09:19 PM by the dsc (linux-related notes)

For whatever reason Devil's Pie stopped working with the geeqie "move" dialog. My preferred GTK3 theme is kind of broken and will naturally create a window that's kind of crunched in itself, but it can be circumvented by determining its size. For a long while it worked with Devil's Pie, for some reason it stopped working.

But fortunately Openbox' own settings can fix it:

Code:
       <application role="dlg_dest_folder" >
      <position
...
Member
Posted in Uncategorized
Views 702 Comments 1 the dsc is offline
Old

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

Posted 10-01-2016 at 07:16 PM by the dsc (linux-related notes)
Updated 12-16-2016 at 04:04 AM by the dsc
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 1173 Comments 0 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 557 Comments 0 the dsc is offline

  



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