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

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

Posted 12-06-2018 at 09:19 PM by the dsc

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 force="yes">
        <x>160</x>
        <y>540</y>
      </position>
       <size>
        <width>560</width>
        <height>290</height>
      </size>
      </application>
It doesn't need more specification than "role" for this specific problem. And actually I have the impression that adding class/name somehow renders it null.

And since I'm publishing these Openbox' window hacks, here's one so that one can sort of mimic a "single window" GIMP without having it set as such on GIMP itself. The advantage is that it allows for floating auxiliary image windows, whereas GIMP's own single window mode would force those to be restricted to tabs.

Code:
    <application role="gimp-toolbox-1">
      <decor>no</decor>
      <skip_taskbar>yes</skip_taskbar>
    </application>
    <application role="gimp-dock-1">
      <decor>no</decor>
      <skip_taskbar>yes</skip_taskbar>
    </application>
Now that I look at it I realize there must be some settings on GIMP's side, whatever that sets the toolbox and the docker to be "always on top". Something related with "window hinting". Otherwise the maximized image window would be covering those windows, which would make it pretty much unusable.
Posted in Uncategorized
Views 1190 Comments 1
« Prev     Main     Next »
Total Comments 1

Comments

  1. Old Comment
    Some one help me for learning linux?
    https://www.thinkerlinux.com/
    Posted 12-06-2018 at 11:33 PM by ThinkerLinux ThinkerLinux is offline
 

  



All times are GMT -5. The time now is 08:31 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
Open Source Consulting | Domain Registration