El martes, 5 de julio de 2016, 5:39:13 (UTC-6), Eva Star escribió: > > (Instead of "qubed-dom0-update is "qubes-dom0-update") > > thank you > > > As I understand, in some versions of bash, the "\n" don't works as > > expected. So, I propose to change "echo" by "printf". You just have to add > > a "\n" at the end. > > thanks. I will fix it. > > > 2) I have dom0 in spanish. So, my Pictures folder is /home/user/Imágenes/ > > instead of /home/user/Pictures/. But when I run the script, it is saving > > the pictures in "/home/user/Pictures/" instead of ".../Imágenes" > > To obtain the correct directory to save the file you can use this command: > > xdg-user-dir PICTURES > > /home/user/Imágenes > > > > is it portable way to get PICTURES directory on other unix based systems?
xdg-user-dir is a freedesktop.org tool. As I know, it works on Linux, Solaris and BSD. In the case of dom0, is a Fedora Linux, so we haven't any problem here. The issue can be with the VMs that doesn't have this command. There have to think in another way for this cases. -- 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/a6cb9b3d-051e-4df9-af8c-0055773f3cf3%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.