LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Blogs > linux-related notes
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.
Uncategorized Entries with no category
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 1050 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 1184 Comments 1 the dsc is offline
Old

Disable chromium/chrome printing for a given profile

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

Are you tired of selecting text, right-clicking to search the term, and accidentally releasing the button on "print"? Worry no more!

Despite of what a developer said, it can be done by manually editing the "Preferences" json file. For linux at least.

Quote:
This way: Open the profile folder, find the JSON file Preferences, find "printing" field (browser->extensions->printing), then add , "enabled": false into it.
...
Member
Posted in Uncategorized
Views 1347 Comments 0 the dsc is offline
Old

"Always on top" indicator script for Openbox

Posted 11-16-2018 at 05:47 PM by the dsc (linux-related notes)
Updated 08-23-2023 at 10:43 AM by the dsc

May have some use outside of Openbox as well, I don't know. I have Openbox set up so the window focus will follow the mouse cursor, no need to click them to raise and so on, which I find usually convenient but sometimes it requires to toggle some windows to "always on top" in order to do some drag-and-drop operations and things like that. If I forget to do it, one of the windows will disappear below another and that's a bit annoying; sometimes I may have even toggled it, but toggled it...
Member
Posted in Uncategorized
Views 1523 Comments 0 the dsc is offline
Old

Tabbed xterm with suckless' "tabbed"

Posted 11-02-2018 at 09:40 PM by the dsc (linux-related notes)

Just found about it today.

With the program "tabbed" you can put xterm (maybe some other stuff, or similar terminals specifically, haven't examined it more than that) on a tabbed interface on Openbox (on Fluxbox anything can be tabbed with no additional tools...).

Just by issuing it as such:

tabbed -c xterm -into

I found useful to add this to .bashrc:

Code:
cmdline="$(tr -d '\0' </proc/$PPID/cmdline)"
...
Member
Posted in Uncategorized
Views 2414 Comments 0 the dsc is offline

  



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