[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

How can I add an arbitrary String with an associated Script/Command in the Right Click Drop Down Menu List in OpenBox WM? Also, autostart applications every session?



My dear illustrious leaders and senior list members of Debian user list,

I now use OpenBox extensively. Learning its ways. Growing comfortable with it.

I had the following interactions with OpenBox List members on the subject:

[quote]
[openbox] How can I add an arbitrary String with an associated
Script/Command in the Right Click Drop Down Menu List in OpenBox WM?
Also, autostart applications every session?
[/quote]

http://icculus.org/pipermail/openbox/2023-May/009637.html
<i>Susmita/Rajib</i>

http://icculus.org/pipermail/openbox/2023-May/009638.html
<i>Mathias Dufresne</i>

http://icculus.org/pipermail/openbox/2023-May/009639.html
<i>Susmita/Rajib</i>

http://icculus.org/pipermail/openbox/2023-May/009644.html
<i>Mathias Dufresne</i>

What I want is explained in
http://icculus.org/pipermail/openbox/2023-May/009639.html, and is as
follows:
[   ...   ]
My target is "Right Click Drop Down Menu List" and objective is to
enter a "a link to a customised script/command kept in a directory
elsewhere to be displayed as a menu-item within the Right Click Drop
Down Menu List that could be clicked for the linked script/command to
be executed".

I placed an identical copy of  a MyScript.desktop file, linking a
script file, in both ~/Desktop and in ~/.local/share/applications.

OB tint2 panel set-up has drawn info from the MyScript.desktop file to
be displayed on the "Application Available" right Launcher selectable
window, based on data in Launcher maintained as "launcher_item_app =
~/.local/share/applications/MyScript.desktop", in the file
~/.config/tint2/tint2rc.

But my present objective is to have the script link added as a
menu/sub-menu within the Right click Drop-down menu-list as a list
item.
[   ...   ]


Further information is posted at
http://icculus.org/pipermail/openbox/2023-May/009637.html, which is as
follows:
[   ...   ]
I have a working debian-menu reflecting the stored menu file in
/var/lib/menu-xdg/menus/debian-menu.menu

I read the page http://openbox.org/wiki/Help:Menus.

Searching the internet, I tired to add a menu in extraScripts.xml in
~/.config/openbox/. But failed to have it displayed upon right click
with $sudo update-menus.

-------------------Begin Lines----------------------
   <menu id="extras" label="ExtraScripts">
      <menu id="my-scripts-menu" label="My Scripts">
         <item label="My Script">
            <action name="Execute">
               # <command>~/my_script.sh</command>
<command>true</command>
            </action>
         </item>
      </menu>
   </menu>
-------------------Begin Lines----------------------

Right clicking on the desktop I find
/var/lib/menu-xdg/menus/debian-menu.menu being executed and the right
click drop down menu, sub-menu list appearing.

I want to add my personal scripts in this list.

I also want to autostart some applications upon every session.
[   ...   ]


It appears that I can't explain myself to the OpenBox mailing list
senior members.

Please assess if my explanation is adequate for you and if it is,
please help me.

Best wishes,
Rajib


Reply to: