On Tue, Jan 02, 2018 at 06:49:35AM -0800, Yethal wrote:
> W dniu poniedziałek, 1 stycznia 2018 22:42:09 UTC+1 użytkownik [799] napisał:
> > Hello,
> > 
> > 
> > I would like to enter a new menu item to the Appmenu of a Fedora 25 based 
> > AppVM.
> > The menu should contain a link to our corporate Mailserver (https:///owa).
> > 
> > I have thereof installed "menulibre" (sudo yum -y install menulibre)  and 
> > created a new desktop entry under the Office Section, but it won't show up 
> > in the qubes app menu.
> > I have synced the application within the applications Tab under VM Settings.
> > 
> > I have also tried to manually add the desktop file:
> > 
> > nano open-corporate-webmail.desktop
> > 
> > [Desktop Entry]
> > Encoding=UTF-8
> > Name=Open Corporate Webmail
> > Icon=my-icon
> > Type=Application
> > Categories=Office;
> > Exec=xdg-open https://example.com/owa/
> > 
> > Following the documentation about adding menu files I have run:
> > 
> > xdg-desktop-menu install open-corporate-webmail.desktop
> > 
> > Unfortunately both ways (menulibre and manual creation of desktop file) 
> > didn't solve the task.
> > 
> > ... Thereof the Question:
> > How can I add a web Shortcut to an application menu of an AppVM?
> > 
> > Kind regards
> > 
> > [799]
> 
> You need to move the .desktop file to /usr/share applications in the 
> TemplateVM upon which your AppVM depends and then run qvm-sync-appmenus in 
> Dom0
> 

Alternatively, as the link is only needed in one qube, create a custom
Menu entry.
Remember that you can use qvm-run in dom0 to launch applications in
appVMs. So you can create a simple .desktop file which will run the
command in the required qube, using either qubes-desktop-run or qvm-run.
(HINT - open a terminal in the qube and find out what command you need
to run to start the application. Then try that command in dom0 using
qvm-run. THEN edit the desktop file to use that command.)

Then just write a custom menu entry calling that desktop file.
<Menu>
        <Name>Webmail</Name>
        <Include>
                <Filename>custom.desktop</Filename>
        </Include>
</Menu>

unman

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/20180103014918.izuudmeb2gavoz4p%40thirdeyesecurity.org.
For more options, visit https://groups.google.com/d/optout.

Reply via email to