Page 1 of 1

How to add links to Vanilla Dpup's bottom tray? [SOLVED]

Posted: Thu Jan 04, 2024 8:35 pm
by pp4mnklinux

Hello every body:

I'm working with VanilladPup and I want to add links to the bottom tray.

How can I do this?

It will be marvellous if you can explain me how to open them with a specific browser (my default one is SLIMJET, but I wanna open this links with OPERA)

THANKS A LOT IN ADVANCE


Re: How to add links to Vanilla Dpup's bottom tray?

Posted: Fri Jan 05, 2024 9:43 am
by Feek
pp4mnklinux wrote: Thu Jan 04, 2024 8:35 pm

Hello every body:

I'm working with VanilladPup and I want to add links to the bottom tray.

How can I do this?

It will be marvellous if you can explain me how to open them with a specific browser (my default one is SLIMJET, but I wanna open this links with OPERA)

I tried doing this with Chrome:

I went to /usr/share/applications and found the .desktop file for chrome.
Right click -> duplicate -> I named it something.
After creating it, I opened it in a text editor and found the line "Exec=/usr/bin/google-chrome-stable %U". I added the link address so it looked like this: "Exec=/usr/bin/google-chrome-stable https://forum.puppylinux.com/ %U". I saved it.

In desktop settings in tray I added my newly created .desktop file with link. It seems to work fine.
Hopefully it will give you some inspiration.


Re: How to add links to Vanilla Dpup's bottom tray?

Posted: Fri Jan 05, 2024 12:44 pm
by pp4mnklinux

Thanks a lot for your answer... @Feek
I thought this method, and I tried it, but the problem is that I use portable versions, so I must start the launch file.... buuuuuahhh.. complex and difficult for me.

Now I'm in a Try/Error process, haha...

I decided to use another bar, becuase it's difficult add programs to the original one.

I installed PLANK and I'm trying to add these links.

Tnaks for your help.-

Cheers (I added you as friend, I appreciate your collaborations... THAT'S THE WAY IT WORKS !!!)

:thumbup2:


Re: How to add links to Vanilla Dpup's bottom tray?

Posted: Fri Jan 05, 2024 9:54 pm
by Feek
pp4mnklinux wrote: Fri Jan 05, 2024 12:44 pm

I thought this method, and I tried it, but the problem is that I use portable versions, so I must start the launch file.... buuuuuahhh.. complex and difficult for me.

Sorry, I don't currently use portable browsers. But I tried some portable browser from Mike Walsh earlier.

If I remember correctly, Mike provides a launch script inside the browser folder. And I think there was also a script for creating a menu entry (and perhaps removing it as well). After running this script, it should create a .desktop file in /usr/share/applications to which you can try adding the link address and then add it to the tray (see above).
I'd definitely go that route rather than trying to edit the launch script.

Good luck!


Re: How to add links to Vanilla Dpup's bottom tray?

Posted: Fri Jan 05, 2024 10:23 pm
by pp4mnklinux

Hi @Feek and thanks again for your answer.

We must be thinking the same way, hahaha, because I tried your solution days ago, but I found a problem, with Vanilladpup, the menu link doesn't work (at my computer) so I can't try this solution.

Aaaahhh if you access opera from the menu, nothing happens.

Don't worry and waste your time thinking about it... I gonna stop trying, but some day a light will go on my head and I'll find any solution.-

Thanks a lot for your time and help.

Have a nice day.

Cheers


Re: How to add links to Vanilla Dpup's bottom tray?

Posted: Sat Jan 06, 2024 9:00 pm
by d-pupp

@pp4mnklinux you can edit the file that handles this directly.
It is a hidden file so click on the eye in rox to see it
.jwm/jwmrc-tray2
You will see a line like this one.

Code: Select all

<TrayButton popup="defaultbrowser" icon="/usr/share/icons/hicolor/48x48/apps/firefox-esr.png">exec:defaultbrowser</TrayButton>

This is for the default browser. Just copy or edit it to point at your portable browser launch script.
Replace defaultbrowser with the full path to your portable.


Re: How to add links to Vanilla Dpup's bottom tray?

Posted: Sun Jan 07, 2024 7:33 pm
by pp4mnklinux

Thanks to everybody who helped me.

Solved and configured the way I want.


Re: How to add links to Vanilla Dpup's bottom tray? [SOLVED]

Posted: Sun Jan 07, 2024 9:02 pm
by bigpup

What exactly did you do to get what you wanted?