[qubes-users] Re: Assigning a specific xfce virtual desktop to a VM-program pair
On 04/12/2017 10:26 PM, daltong defourne wrote: > On Wednesday, April 12, 2017 at 10:08:20 PM UTC+3, Hack wrote: >> On 04/12/2017 08:35 PM, daltong defourne wrote: >>> On Wednesday, April 12, 2017 at 8:48:30 PM UTC+3, cooloutac wrote: >>>> On Wednesday, April 12, 2017 at 1:16:36 PM UTC-4, daltong defourne wrote: >>>>> I know this (and similar matters) has been discussed in different places, on and off >>>>> >>>>> For example here: >>>>> https://groups.google.com/forum/#!topic/qubes-users/jtjyq8N6bY0/discussion >>>>> https://groups.google.com/forum/#!topic/qubes-users/gCklOzk9xYg >>>>> https://github.com/QubesOS/qubes-issues/issues/2627 >>>>> >>>>> However, now I am solidly confused and don't know what to do and how. >>>>> >>>>> What I want >>>>> >>>>> have firefox running in RedAppVM-One start on xfce desktop 1 >>>>> >>>>> have firefox running in RedAppVM-Two start on xfce desktop 6 >>>>> >>>>> Ideally, I'd also like to make ~all~ software from RedAppVM-One to start on desktop 1 , but even "solving for firefox" would be an okay start for me. >>>> >>>> I think you can do this on KDE, for xfce you probably have to install a 3rd party tool to dom0. >>> >>> Devilspie2 does not seem to play nice with qubes (ref: https://github.com/QubesOS/qubes-issues/issues/2627 ) but if there is a "low bloodshed" way to make it work with qubes it would be nice. >>> >>> And yes, I'm on xfce... >>> >> >> Where do you read that Devilspie2 does not play nice with Qubes? I am >> using both of them, and it works nicely, since months! (And I was the >> one who started this tread…) > Hi Hack! > Hi! > I have linked to the qubes-issues thread where it seemingly came up. > The full problem quote is: > > "I tried to install devilspie2 for testing purposes on Qubes. Currently, it's not work on Qubes. > Devilspie2 function get_window_name() return Windows names without AppVM labels. Therefore, it's not possible to sort windows on desktops by AppVM name." > > I reckon it is not actually correct and the lua scripts you provided work in Qubes 3.2 "as is"? > Yes, because those who failed to make it works used get_window_name() instead of get_class_instance_name()!!! > If so, if I may ask a few questions: > 1) do the lua provided "stick" the window to a given desktop (as in, I won't be able to send a window to a different virtual desktop even if I try) ? Well, every time you launch a program, it will be automatically send to the chosen virtual desktop. But you can then send this program where you want. With the script I provided, every program from "RedAppVM-One" will be send to workspace 1. But after that, if you want to send this program to workspace 6, you can. You can customize it easily: Change only these values: dom = 'RedAppVM-One'; workspace = 1 > 2) if no, does devilspie2 provide a way to do that ? See above. > 3) if yes, is there a way to avoid sticking (as in, always start in desktop 1, but can be sent to any other desktop) ? See 1) But I repeat, once you have launched a program, you can then move it where you want. > 4) could you please write up a quick primer on using devilspie2 with qubes (any caveats, etc?) > It works like a charm! Devilspie2 is even quite flexible, but be careful, because if you write something like "RedAppVM" in dom variable, and 1 for workspace, without adding "-One", and so one to the name "RedAppVM", every new windows starting with 'RedAppVM*' will be send to the same workspace, here 1. > Thank you very much > You are welcome. -- 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/ocn56k%24pk7%241%40blaine.gmane.org. For more options, visit https://groups.google.com/d/optout.
[qubes-users] Re: Assigning a specific xfce virtual desktop to a VM-program pair
On 04/12/2017 07:16 PM, daltong defourne wrote: I know this (and similar matters) has been discussed in different places, on and off For example here: https://groups.google.com/forum/#!topic/qubes-users/jtjyq8N6bY0/discussion https://groups.google.com/forum/#!topic/qubes-users/gCklOzk9xYg https://github.com/QubesOS/qubes-issues/issues/2627 However, now I am solidly confused and don't know what to do and how. What I want have firefox running in RedAppVM-One start on xfce desktop 1 have firefox running in RedAppVM-Two start on xfce desktop 6 Ideally, I'd also like to make ~all~ software from RedAppVM-One to start on desktop 1 , but even "solving for firefox" would be an okay start for me. If I am not mistaken : 1) Install DevilSpie2, 2) then, write some lua scipt like this : For workspace 1, on $HOME/.config/devilspie2/RedAppVM-One.lua dom = 'RedAppVM-One'; class = get_class_instance_name(); workspace = 1; if (string.match(class, dom)) then set_windows_workspace(workspace) end For workspace 6 on $HOME/.config/devilspie2/RedAppVM-Two.lua dom = 'RedAppVM-Two'; class = get_class_instance_name(); workspace = 6; if (string.match(class, dom)) then set_windows_workspace(workspace) end -- 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/oclp1u%2417c%241%40blaine.gmane.org. For more options, visit https://groups.google.com/d/optout.
[qubes-users] clone/alias interfaces and Routing
Hi, I have some trouble to reach a vm through clone/alias interfaces. Firewall rules are OK, but the gateway does not route correctly packets, as it sends them on Internet… So I tried to add some route on the gateway, but then packets go nowhere… The arp table then shows "(incomplete)" with the ip of the clone/alias interface. And this entry can not be deleted… (I tried again and again…) I only setup up the address and the netmask on the clone/alias interface. So nothing should be wrong here. I got the same problem with Debian and Fedora vms. What should I do with the gateway to reach a vm (Debian or Fedora) through an address set on a clone/alias interface? How to route packets? And how to deal with iface on the gateway («set on the flow») as the gateway does not bring up automatically another iface for clone/alias interfaces? Tanks. -- 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/oc2fg5%24k5h%241%40blaine.gmane.org. For more options, visit https://groups.google.com/d/optout.
[qubes-users] Re: Alias interface file does not persist
On 04/01/2017 07:33 PM, Unman wrote: On Sat, Apr 01, 2017 at 11:54:05AM +0200, Hack wrote: Hi, I tried to add an Alias interface configuration files in: /etc/sysconfig/network-scripts/ifcfg-eth0:0 but it does not work. Of course, I used bind-dirs as usual, but here, the file itself: ifcfg-eth0:0 does not persist, but directories does… I assume you've read the docs on bind-dirs - did you notice the gotchas about creating new, and editing, files? Thanks, and yes I read the doc. One solution would be to create the file in /rw/bind-dirs/etc... and restart the qube. Try that and see if it solves the problem. already done, and nothing works! I am not familiar with Fedora, but maybe «Fedora» creates a temporary ifcfg-eth0:0 file and copy it over /etc/sysconfig/network-scripts/ ? -- 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/oc2ald%24qlg%241%40blaine.gmane.org. For more options, visit https://groups.google.com/d/optout.
[qubes-users] Alias interface file does not persist
Hi, I tried to add an Alias interface configuration files in: /etc/sysconfig/network-scripts/ifcfg-eth0:0 but it does not work. Of course, I used bind-dirs as usual, but here, the file itself: ifcfg-eth0:0 does not persist, but directories does… -- 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/obntbo%244pk%241%40blaine.gmane.org. For more options, visit https://groups.google.com/d/optout.
[qubes-users] Save session in appvm
Hi, How can I save session inside appvms (here, Fedora template), for future restore, since /org/gnome/gnome-session does not exist/work. Thanks. -- 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/oadunk%24dgd%241%40blaine.gmane.org. For more options, visit https://groups.google.com/d/optout.
[qubes-users] Re: qvm-ls
On 03/16/2017 09:49 AM, Andrew David Wong wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA512 [Please don't top-post.] On 2017-03-16 01:24, Hack wrote: Sorry, I should I've been more specific :s I mean in a "simple" script, to shutdown all vms whose names start with disp*. That's not more specific. That's completely different. :) It doesn't not work if I try, inside an array, something like: appvms = ( disp* ) Try something like: DISPVMS=($(qvm-ls --raw-list | grep ^disp)) for VM in ${DISPVMS[*]}; do qvm-shutdown $VM; done On 03/16/2017 09:11 AM, Andrew David Wong wrote: On 2017-03-16 01:08, Hack wrote: Hi, How to output, with qvm-ls, all appvm names starting, for example, with «disp». This kind of command does not work: qvm-ls disp* Thanks qvm-ls --raw-list | grep disp - -- Andrew David Wong (Axon) Community Manager, Qubes OS https://www.qubes-os.org -BEGIN PGP SIGNATURE- iQIcBAEBCgAGBQJYylGcAAoJENtN07w5UDAwP4wQAKc+Tv6cjlTUIP3tWJB0eoH8 yZ1CDjqfSW+bJv7k+uki4QXUe18k0ldhRMMASlclwHzgJ5vdj4FusVNc+p4Uby6U P7c062c1JfHkj/3gwBQRPxvj7enD/wDxor+yA2VD6N8dzj085wJN8pN8MEl2ypXy SVKQHLK3RsOYrUzXibsKxqy17yQCN2xYq0F3+mZKNdOQP7lueixD0nHOuFjcd32+ 5ghO+JKOfdHKKH1AqBm33KMZp+OcZbMpFYk3dScA2Hgbf39MviHbFLs0131DOHPU 5h/qkKE/b739co7LeophQWr5oqC3EgUIXtI0KrmD8m+Y8rBSChx9qyEef5cDfnTE UZ1pR1VOpgPcf/3MTSb1SPA8mE/uTi0EgjfoWGASxKItAYol0PdcX/FX2mKWzn6U rHapEyGy7sOUiXaWtRuPIPe/Nht7QKarRDoeaI8wDzeypssMizsMCKdiu2ylRcX+ l5FSjGzIaEQqTlqo6BYNDkKUB65XHfIZcbqfYxbsN4VbvOLUKUVfpM9O1adKHgcD uaoq+4E+fOaSgd93PQ4shVPgTdtIRer4KyC0LzXWyLawNT3H41p/WDmLmbtWOzlj Y9mPWyzY1fSIyFyXAxdixDf6AAFqTaCFL/rXrypEyUnj7SvTeSC/r71CW7BZaTUA JMQM474HXn0GRq097kiF =j86R -END PGP SIGNATURE- Thank you very much! > [Please don't top-post.] Sorry, business habit :s I never understood how bash scripting works :s Far away from C ; C# ; PHP, etc… syntax. It disgusts me :s I hate how it works :s It sucks ! -- 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/oadkmr%24l45%241%40blaine.gmane.org. For more options, visit https://groups.google.com/d/optout.
[qubes-users] Re: qvm-ls
Sorry, I should I've been more specific :s I mean in a "simple" script, to shutdown all vms whose names start with disp*. It doesn't not work if I try, inside an array, something like: appvms = ( disp* ) On 03/16/2017 09:11 AM, Andrew David Wong wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On 2017-03-16 01:08, Hack wrote: Hi, How to output, with qvm-ls, all appvm names starting, for example, with «disp». This kind of command does not work: qvm-ls disp* Thanks qvm-ls --raw-list | grep disp - -- Andrew David Wong (Axon) Community Manager, Qubes OS https://www.qubes-os.org -BEGIN PGP SIGNATURE- iQIcBAEBCgAGBQJYykixAAoJENtN07w5UDAwnxcP/jrGSZuzkQouTonONKjRiu5d Qt731ks6TRE08aAXkcafsS+a2umNWyAdUqYjDjZg3cnV1Cx5Xa2d7tjgJV/ogel6 8cqSZ6lIQaRhmiiInY3JEYDjP3uSU8JSLIE0ukMNvtWU3UadaAwmzNt85IF1hu98 RXGdUvldW/47rwwHV49r87zHcdR/PDMI1su50kJqKir5ItNkR5yiOpwfksym8fLi 4wTOcYk0j08iuGW8teZw0dgZFrsbl5gl3ms+DHX/+fp40RKi37UKQ8635DbwfwlC 9G/36koUqEImx07m8UFXwkKDrTzrHtrOy3JBTH2d7efT9Kl45k75122DwMjGj5ur 6XZKZ6u8juVnNB5IQQDG377pzalKyvqDAhQdMrNtvvQsabf3ZvKBrY7PQlDahnfo v53K607BoktlQ7HQYP9M8SqPG7FEeffy2CKdw8jwMDfLCgGAhtnydB9Ebf27BCYw UojU/ECLZMRPePjsYlNxL+omCoDCyFFMDaUuUSQ4Y+V6GZsCX0C1hjWlXiP3zllg iQFa9HBy4v35vmf+usBViOQvpNnGhCUqvToPtTLmk1z1oCuihhzCrUCYlaZeu7A+ Cj8JLGibEWxYs5tbB3jzHhm7ysG+HRT5HM8nVAoTi9GZeDugaCS1joE2VFIXxD95 fpsjtZcgu0Ja4RG/Ag3V =w+9L -END PGP SIGNATURE- -- 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/oadi3b%24jm%242%40blaine.gmane.org. For more options, visit https://groups.google.com/d/optout.
[qubes-users] qvm-ls
Hi, How to output, with qvm-ls, all appvm names starting, for example, with «disp». This kind of command does not work: qvm-ls disp* Thanks -- 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/oadh63%248jp%241%40blaine.gmane.org. For more options, visit https://groups.google.com/d/optout.
[qubes-users] Re: Devilspie2 integration
On 02/03/2017 09:05 AM, Andrew David Wong wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On 2017-02-02 23:13, Hack wrote: On 02/03/2017 06:35 AM, Andrew David Wong wrote: On 2017-02-02 06:09, Hack wrote: Hi, Could it be possible to provide Qubes OS with Devilspie2 at first install? Like this, we could have, by default? some virtual desktops attributed to some task. For example: * Desktop 1 = administration tasks (sys-firewall, sys-net, etc…) * Desktop 2 = Personal * Desktop 3 = Work * and so on Maybe with some color "matching" on the tool bars? Of course, with the option to customize it. [Copying my reply from qubes-devel. Please don't send duplicate messages to both lists.] This seems far too subjective to be built-in by default in a sensible way, even with customization options. User preferences vary wildly. Some don't even use virtual desktops at all. Why not simply install Devilspie2 (or a similar program) yourself and set up your own virtual desktops as you please, if that's what you desire? Yes, of course I can install Devilspie2, but I think it can be useful for people, like me, who use virtual desktops. It can be provided as an option during the installation. Thereby, we could have the choice of having Devilspie2 installed by default (1 virtual desktop by Domain), and then, customize it, or not having Devilspie2 "activated". Because I think, it can be a good idea, *not only for me*, I suggest this. I see that you're intent on ignoring my request not to send duplicate messages to qubes-devel and qubes-users. That's very disappointing. At any rate, I've replied to you on qubes-devel: https://groups.google.com/d/msg/qubes-devel/b0gJGe3OktY/edd3LbkXDQAJ - -- Andrew David Wong (Axon) Community Manager, Qubes OS https://www.qubes-os.org -BEGIN PGP SIGNATURE- iQIcBAEBCgAGBQJYlDm7AAoJENtN07w5UDAw20EQAI5Bw0BhTth0exYk01Akxi2i iVNtPXaOqBQd/BU56i+UVXQcEbtzCjsnEeRIWEhqtgwyU41fomcTzhS5nCsULHYO sOuBgKiZZp6+Dqtbs+p9BXDBMOj60LeImbB3xsdTKq5xlv862+rdPWbKdVWmnH81 u/7ln1Oq3XBNw/lhUm9w0zUvC2SvAVA6IlPw6QyDRhk9rn3UREvbwMof01nm8PJw QsCKJQJZ1XasxnUohWytSHbFjM+JC5RavadHsl0FUo5x7veanTfe9TgnDjHOtjuh rPOTH8ysZA9bomP/ygXXE0C6LB/t3ASd6fzGJi7+1wKtvqSR6eCCdRSAbe+C8PiD Q3Dr7dYjY8WbehbX+XA9UFoGoIOfwKu3cuPc4ZgiVe9uliWhDP/h4tVl5j99LEoO INJVYzCTTSjg1Lx3XtYJewvB4hzwLbs5UoRVlY9pz9tclJ0gG/avsvGByH+7hDhI I17hfuXfuP3xgR3yAn9EMoZqSw4HS78GXRqNdRlAouPO7g06kVD0cg0XV/TONUIQ z9YGD4iyytCBjXYSLmkwGZ0nLwU9Pc6xN9fze1v9Es6/ah46re9VacjqCCLo9oBA tTXBYT1esIWLXOwNqLcna1pbp36oA/+uh40gWiffHB45ZNr2iM2X/FPoxBd1lc3P EGTJv8t+DXZy96XmweB6 =th9r -END PGP SIGNATURE- With all due respect, as Community Manager, you should always search 'for an excuse'… I did not intend to ignore your message. I was barely awake, and screw up. -- 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/o71ets%245vo%241%40blaine.gmane.org. For more options, visit https://groups.google.com/d/optout.
[qubes-users] Re: Devilspie2 integration
On 02/03/2017 06:35 AM, Andrew David Wong wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On 2017-02-02 06:09, Hack wrote: Hi, Could it be possible to provide Qubes OS with Devilspie2 at first install? Like this, we could have, by default? some virtual desktops attributed to some task. For example: * Desktop 1 = administration tasks (sys-firewall, sys-net, etc…) * Desktop 2 = Personal * Desktop 3 = Work * and so on Maybe with some color "matching" on the tool bars? Of course, with the option to customize it. [Copying my reply from qubes-devel. Please don't send duplicate messages to both lists.] This seems far too subjective to be built-in by default in a sensible way, even with customization options. User preferences vary wildly. Some don't even use virtual desktops at all. Why not simply install Devilspie2 (or a similar program) yourself and set up your own virtual desktops as you please, if that's what you desire? - -- Andrew David Wong (Axon) Community Manager, Qubes OS https://www.qubes-os.org -BEGIN PGP SIGNATURE- iQIcBAEBCgAGBQJYlBacAAoJENtN07w5UDAwgBUP/jeFcplQexNjPCLubJSUV5nI jwE4waaAYdzBEkM7WllnrgKXeO1wqygcyyogGV4wJd65NG/TmryxBfwtAMkraOtQ wOwZezY3WdAmGgCfiRPDFIt02H7FSRHQGVfqN7Il/rIzTIfHMmzGIh61fxI90HYw z5+/9gMPLF6/mLe1WeHMLlXgju4YpIB6426PW+73nqTMhzfqpLdfFt9rVB+p0he9 PBNynaa6RLajQ+KafLF4L5kZaNUjY3rshFQ24ektvqKroiS+DsnD6PfC0HYnVHvx z8XOVfNo3oqI6Nn+kbI19ZP22tCXPNCSleII1ksqydZ5E7jRxZAjkoWQ2GbR6Thf y4X8g0Z8X+e2MOxiO9JExFfaZLNMyBcN3indiU3FlDlUykgvvvXchi3ibnJS690G dU8NuvRAUum3ZWYMMNmIYLGAVZj1Ns11aNJdjJuiWFtTx48pSugCm7IwIX93kOKv F9bSO3vwTjmmWwbkKhcklJ8+t1UvIyHpbYpKQr1+cNViX9Y7CvD7qFsRnQPLuKUX mANc6eOHHvoXyOxiWnrmT9ur+23sEGnhWHUlsjI81qAKdoxS2oejdcw2k9INugve Ki4M4F7CAzB3eL86E5NnAe17YmdDyfFZEyezBW7pBub9Sw4HEq7w4yEOhvH6IJoE I+4CS4BiGHqRf1oyuSul =RBJd -END PGP SIGNATURE- Yes, of course I can install Devilspie2, but I think it can be useful for people, like me, who use virtual desktops. It can be provided as an option during the installation. Thereby, we could have the choice of having Devilspie2 installed by default (1 virtual desktop by Domain), and then, customize it, or not having Devilspie2 "activated". Because I think, it can be a good idea, *not only for me*, I suggest this. -- 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/o71ajd%247l9%242%40blaine.gmane.org. For more options, visit https://groups.google.com/d/optout.
[qubes-users] Devilspie2 integration
Hi, Could it be possible to provide Qubes OS with Devilspie2 at first install? Like this, we could have, by default? some virtual desktops attributed to some task. For example: * Desktop 1 = administration tasks (sys-firewall, sys-net, etc…) * Desktop 2 = Personal * Desktop 3 = Work * and so on Maybe with some color "matching" on the tool bars? Of course, with the option to customize it. -- 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/o6veip%24n88%241%40blaine.gmane.org. For more options, visit https://groups.google.com/d/optout.