W dniu sobota, 11 marca 2017 22:34:34 UTC+1 użytkownik Andrew David Wong 
napisał:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA512
> 
> On 2017-03-11 09:31, Grzesiek Chodzicki wrote:
> > How to add custom applications to DispVM appmenu:
> > 
> > 1. Install the required app in the TemplateVM upon which your DispVM 
> > depends (fedora-23/24 by default)
> > 2. Shutdown the TemplateVM
> > 3. In Dom0 run qvm-create-default-dvm <templatename>
> > 4. At this point your app can be launched in DispVM, to confirm launch 
> > Xterm in DispVM and start your app from there. Now we are going to add an 
> > entry for it in the Applications menu
> > 5. Go to /usr/local/share/applications
> > 6. Create a new .desktop file for your app using following (example) syntax:
> > 
> > [Desktop Entry]
> > Version=1.0
> > Type=Application
> > Exec=sh -c 'echo <yourapphere> | /usr/lib/qubes/qfile-daemon-dvm 
> > qubes.VMShell dom0 DEFAULT red'
> > Icon=dispvm-red
> > Terminal=false
> > Name=DispVM: <put your desired name here>
> > GenericName=DispVM: <put your desired generic name here>
> > StartupNotify=false
> > Categories=Network;X-Qubes-VM;
> > 
> > 7. go to /etc/xdg/menus/applications-merged
> > 8. Edit the qubes-dispvm.menu using any editor
> > 9. Under <Include> add another line containing the name of your .desktop 
> > file (so it looks like this):
> > 
> > <Include>
> > <Filename>qubes-dispvm-firefox.desktop</Filename>
> > <Filename>qubes-dispvm-xterm.desktop</Filename>
> > <Filename>yourdesktopfilehere</Filename>
> > </Include>
> > 
> > 10. Your custom menu entry should appear on the Applications list now
> > 
> > Andrew - Frankly, this should be available within the GUI, should I add 
> > that to Documentation and/or create a ticket?
> > 
> 
> Please feel free to do so.
> 
> - -- 
> Andrew David Wong (Axon)
> Community Manager, Qubes OS
> https://www.qubes-os.org
> -----BEGIN PGP SIGNATURE-----
> 
> iQIcBAEBCgAGBQJYxG1XAAoJENtN07w5UDAwXPQP/2hvs1va6LTLVTKWqQwlCmZd
> BHjO59rE/0ENlsK+diT1ANpggPODWTTckw6+o/rsKhGvQXv/1PZfPJCzY3FV9w66
> CndadAoQZunyGp1otJolGJHiS5ppqNXqm8+pzCNtkZ1YkYUj4QwjAAjZ67VU1y8H
> C6yb774opL+CYiOzMOy3jTnnc/yWeJfFxGKNoB8YLRBqXrk8wG+vMVZYphoYo9xg
> XIUu4xGZtCAdVvkcWT/RgBsHsdKoJ+CSij2B3bAx9vZPmmnndpB5HiXdzSZXLGhi
> Dh/Xnc9+veqLKZ9rk1DpJ0CxLnaqAz3VEqzjha7cYL+yulZvH15LO46nIfyrFOQl
> eUXK65hPj/C/+qFs2c1yBU0wFB3YcMe6fxdyUId5pKSQBU34hlDLDKhWsLVKNJ1t
> gAxEtszRecgyi4px4sI0POHhsxbDauGpSBYYcNedFIKPNnERW+mNNA2d7n7xlwHj
> 2cNt7MzUFXIxq8UwS1A5pds9KMdA5cZXGIDujMGnuKvCDCtXyOcYQyJqbupJ6/c5
> gS8JZ16RHi/oBMzmfenz2GVUjf3afATDN/oxAVJSoYtX/xZeoHQi3x2qePyfJ7hs
> q+9PxBX5RbwQs27B0M+fwF1/1Myi1J9DC2mzBfc6lgb29WwKJxdIb/RXkoaUmFA2
> 7uzEP5ORYkQQgpwlIu7i
> =0o7g
> -----END PGP SIGNATURE-----

PR sent and issue created
https://github.com/QubesOS/qubes-issues/issues/2694.

-- 
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/8007c1ad-5a18-4d79-9e9a-6518b1c7e590%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to