You are not logged in.

#21 2024-11-06 00:17:27

PackRat
jgmenu user Numero Uno
Registered: 2015-10-02
Posts: 2,611

Re: I Want To Add Applications To The Openbox rc.xml File

MarkW wrote:

I think I might need special permission to post the image.

You haven't reached your minimum post count. I thought it was 10. And I can't find the section to boost your status.


You must unlearn what you have learned.
    -- yoda

Offline

#22 2024-11-06 00:18:52

MarkW
Member
Registered: 2024-11-03
Posts: 240

Re: I Want To Add Applications To The Openbox rc.xml File

Don't worry, I have something else to complain about big_smile

Offline

#23 2024-11-06 12:19:31

MarkW
Member
Registered: 2024-11-03
Posts: 240

Re: I Want To Add Applications To The Openbox rc.xml File

Here is the output of xprop

BtqbIg1t.png

Offline

#24 2024-11-06 12:45:16

Sector11
Mod Squid Tpyo Knig
From: Upstairs
Registered: 2015-08-20
Posts: 8,008

Re: I Want To Add Applications To The Openbox rc.xml File

Glad to see more knowledgeable help popped in.


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#25 2024-11-06 13:45:12

PackRat
jgmenu user Numero Uno
Registered: 2015-10-02
Posts: 2,611

Re: I Want To Add Applications To The Openbox rc.xml File

MarkW wrote:

Here is the output of xprop

https://i.imgur.com/BtqbIg1t.png

Try it like this:

  <application class="discord*" role="browser-window">
    <desktop>3</desktop>
    <decor>yes</decor>
    <shade>no</shade>
  </application>

Don't use the "position force" option; that's more for x-y coordinates. For now stay focused on getting discord on the preferred desktop.


You must unlearn what you have learned.
    -- yoda

Offline

#26 2024-11-06 14:40:16

MarkW
Member
Registered: 2024-11-03
Posts: 240

Re: I Want To Add Applications To The Openbox rc.xml File

I modified as suggested

pTO1J08.png

But still no bueno

Offline

#27 2024-11-06 14:49:00

PackRat
jgmenu user Numero Uno
Registered: 2015-10-02
Posts: 2,611

Re: I Want To Add Applications To The Openbox rc.xml File

Discord may be one of those applications that does not work well with a window manager's per app settings.

You can try adding the name as well.

  <application class="discord*" role="browser-window" name="PresentDayProduction - Discord">
    <desktop>3</desktop>
    <decor>yes</decor>
    <shade>no</shade>
  </application>

You must unlearn what you have learned.
    -- yoda

Offline

#28 2024-11-06 14:58:08

MarkW
Member
Registered: 2024-11-03
Posts: 240

Re: I Want To Add Applications To The Openbox rc.xml File

Present Day Production is the server I had open at the time.  But I'll give it a go

Offline

#29 2024-11-06 15:27:25

Sector11
Mod Squid Tpyo Knig
From: Upstairs
Registered: 2015-08-20
Posts: 8,008

Re: I Want To Add Applications To The Openbox rc.xml File

I know this isn't a part of what is going on here with the idea of running the discord program.
I don't use that because it phones home more often then ET wants to go home.

I use Discord in Firefox where I have it locked down so as not to phone home.
In my rc.xml I have it attached to

Alt-d
    <!-- Keybindings for running applications -->
    <keybind key="A-d">
      <action name="Execute">
        <startupnotify>
          <enabled>true</enabled>
          <name>Discord</name>
        </startupnotify>
        <command>firefox https://discord.com/channels/@me https://gist.github.com/matthewzring/9f7bbfd102003963f9be7dbcf7d40e51</command>
      </action>
    </keybind>

Works for me - just no notifications.
The second page that opens is "A guide to Markdown on Discord."


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#30 2024-11-06 15:47:48

PackRat
jgmenu user Numero Uno
Registered: 2015-10-02
Posts: 2,611

Re: I Want To Add Applications To The Openbox rc.xml File

MarkW wrote:

Present Day Production is the server I had open at the time.  But I'll give it a go

If it works, that would mean every discord server you visit may need it's own entry.

As a test, try this:

    <application class="Thunar">
      <position force="no">
        <x>1%</x>
        <y>1%</y>
      </position>
      <size>
        <width>55%</width>
        <height>75%</height>
      </size>
      <desktop>4</desktop>
      <maximized>no</maximized>
    </application>

see if thunar open on desktop 4 near the upper left corner; working on my system:

KTeB2xR0_t.png


You must unlearn what you have learned.
    -- yoda

Offline

Board footer

Powered by FluxBB