Re: [Trisquel-users] Weather location cannot be set in Trisquel mini applet
Here is the link to the bug: https://bugs.launchpad.net/ubuntu/+source/lxpanel/+bug/1539930. Seems like weather is being pulled from Yahoo "If you are using LXDE panel with bundled weather applet, then yes. If yo are using Plasma widgets for KDE (plasma-widget-cwp, plasma-widget-weatherforecast), then you have similar issue with another program. Weather applet from LXDE panel is usingyahoo api, and I have no firewall. So, issue can be somewhere. ~/src$ git clone http://git.lxde.org/git/lxde/lxpanel.git Cloning into 'lxpanel'... remote: Counting objects: 15127, done. remote: Compressing objects: 100% (6108/6108), done. remote: Total 15127 (delta 11793), reused 11352 (delta 8903) Receiving objects: 100% (15127/15127), 7.49 MiB | 336.00 KiB/s, done. Resolving deltas: 100% (11793/11793), done. Checking connectivity... done. ~/src$ grep -e http lxpanel/plugins/weather/* lxpanel/plugins/weather/httputil.c:/* Provides http protocol utility functions */ lxpanel/plugins/weather/httputil.c:#include "httputil.h" lxpanel/plugins/weather/httputil.c:#include lxpanel/plugins/weather/httputil.c: /* nanohttp magic */ lxpanel/plugins/weather/httputil.h:/* Provides http protocol utility functions */ lxpanel/plugins/weather/yahooutil.c:#include "httputil.h" lxpanel/plugins/weather/yahooutil.c:static const gchar * FORECAST_URL = "http://query.yahooapis.com/v1/public/yql?format=xml=;; lxpanel/plugins/weather/yahooutil.c: * Converts the passed-in string from UTF-8 to ASCII for http transmisison. ~/src$ Also: "The problem was Yahoo changed YQL so old form ceased to work. This issue is fixed in upstream sources, fix can be extracted from commit http://git.lxde.org/gitweb/?p=lxde/lxpanel.git;a=commitdiff;h=a5a4d42e7f18f413033d1802fb99c59d9d1a2e6f. If it is yahoo api, it was probably de-blobed / removed anyway by the Trisquel team. I'm curious to what the full version of Trisquel is using.
Re: [Trisquel-users] Password protected directory
OK, thanks!
Re: [Trisquel-users] Weather location cannot be set in Trisquel mini applet
I think it's a known problem with LXDE according to this post from a quick search. https://askubuntu.com/questions/762502/lubuntu-weather-applet-location-settings For now, I'm using terminal. I've tried a couple of applications, but ended up removing them as I would prefer one that works in the panel. I'll keep looking...
Re: [Trisquel-users] Password protected directory
> The problem is that this PC was bought using family budget and all adult > family members have sudo on it. > I though > that there should be an option to simply put a password on a directory and > rename it something like .muttmailrc to make it look like a part of the > system. > I will probably end up buying a separate laptop and use it for my > personal needs. Maybe you should just buy a USB drive and store your private data on that. It would be cheaper than buying a laptop, less suspicious than 70 Gb of config files, and possible to encrypt the entire disk. signature.asc Description: PGP signature
[Trisquel-users] Re : Password protected directory
I though that there should be an option to simply put a password on a directory and rename it something like .muttmailrc to make it look like a part of the system. That is what 'gpg -c' does. You can use option -o to specify the name of the encrypted file. And, as chaosmonk told you, there is a Nautilus extension, seahorse-nautilus, to do that with the mouse, from GNOME's file manager, which I happen to use: right-click on the file/directory and choose "Encrypt..." in the contextual menu.
Re: [Trisquel-users] Password protected directory
The problem is that this PC was bought using family budget and all adult family members have sudo on it. We use phones for most our everyday activity, but whenever we need to use a real PC, we have this machine available for all family members. I though that there should be an option to simply put a password on a directory and rename it something like .muttmailrc to make it look like a part of the system. I will probably end up buying a separate laptop and use it for my personal needs.
[Trisquel-users] Re : Password protected directory
'tar' is fast. You just do not want to compress with a computationally demanding algorithm. GZip should be OK. Encrypting with a public key: $ tar -czf /dev/stdout ~/.prn | gpg -eo prn.tar.gz.gpg -r lcerf[at]dcc.ufmg.br Encrypting with a password: $ tar -czf /dev/stdout ~/.prn | gpg -co prn.tar.gz.gpg Decrypting: $ gpg -d prn.tar.xz.gpg | tar -xz
Re: [Trisquel-users] Password protected directory
> Unfortunately, the .prn is a directory and it's size is around 70 Gb. > So I guess tar/untar it every time I need access to it is the only option? If it's only the content of the files you need encrypted, then you can recursively encrypt all of the files with $ cd ~/.prn $ for file in $(find -type f); do gpg -c $file && srm $file; done like I suggested, and then decrypt individual files as needed. However, if you don't want anyone to even see the directory tree, then I don't see a way around encrypting and decrypting the entire tar archive when you need it. With 70 Gb that could take a while. secure-deleting 70 Gb with srm could take a while too. Maybe you could save time by separating .prn into multiple directories and creating a separate tar for each, so that you don't have to decrypt all 70 Gb every time. signature.asc Description: PGP signature
Re: [Trisquel-users] Password protected directory
Thanks! Unfortunately, the .prn is a directory and it's size is around 70 Gb. So I guess tar/untar it every time I need access to it is the only option?
Re: [Trisquel-users] Password protected directory
> Let's say I want ~/.prn to be password protected, how can I do that? Not sure if this is the easiest way, but you could encrypt it with gpg. Nautilus (GNOME's file manager) has a plugin for doing this graphically. If you use Nautilus, install the plugin with $ sudo apt install seahorse-nautilus and you'll have to option to encrypt a file by right clicking on it. I haven't tried this myself, so I'm not sure if you'll be able to encrypt directories. If you use Caja (MATE's file manager), there is also a plugin but it is not in Trisquel's repository. https://github.com/darkshram/seahorse-caja/ Again, I'm not sure if that works on directories, or just files. Alternatively, you can do all this from the command line: To encrypt a file, run $ gpg -c /path/to/file You'll be prompted to enter a password twice, and /path/to/file.gpg will be created. If you then delete the original, $ srm /path/to/file (you might need to run "sudo apt install secure-delete" first) then only the encrypted file will remain. To decrypt it, run $ gpg /path/to/file.gpg Enter the password you created earlier, and the file will be decrypted. This only works on files, not directories. However, you could either encrypt each file individually (assuming you don't mind the directory structure being visible) $ cd ~/.prn $ for file in $(find -type f); do gpg -c $file && srm $file; done or convert the directory to a file and encrypt that. $ cd ~ $ tar cf .prn.tar .prn $ gpg -c .prn.tar Before deleting the original, make sure that you can successfully decrypt .prn.tar.gpg with $ gpg ~/.prn.tar.gpg and extract the resulting .prn.tar with tar xf ~/.prn.tar When you're ready to delete the originals, $ srm .prn .prn.tar signature.asc Description: PGP signature
[Trisquel-users] Re : Why isn't python3-distutils available for installation?
Excerpt from the Free System Distribution Guidelines: A free system distribution must not steer users towards obtaining any nonfree information for practical use, or encourage them to do so. The system should have no repositories for nonfree software and no specific recipes for installation of particular nonfree programs. Nor should the distribution refer to third-party repositories that are not committed to only including free software; even if they only have free software today, that may not be true tomorrow. Programs in the system should not suggest installing nonfree plugins, documentation, and so on. https://www.gnu.org/distros/free-system-distribution-guidelines.html You can install the .deb from Debian. You are on your own to check that the Python modules you then install with python3-distutils are free software.
[Trisquel-users] Re : Password protected directory
If you have a GPG key (not on the local disk, otherwise other sudoers have your private key) and if ~/.prn is a file (not a directory): $ gpg -er lc...@dcc.ufmg.br ~/.prn (lc...@dcc.ufmg.br is the id of my key) To use a symmetric key instead: $ gpg --symmetric ~/.prn To decrypt the file: $ gpg -d ~/.prn.gpg If ~/.prn is a directory, 'tar' it first (possibly with compression).
Re: [Trisquel-users] Why isn't python3-distutils available for installation?
"suggests" meaning it's not a dependency right? Couldn't apt be set to merely not suggest those instead of removing the entire thing? Or is it not doable in Trisquel? If I get the .deb file from Debian is it safe to install or will it pull some proprietary stuff from their site? Thanks.
[Trisquel-users] Re : Why isn't python3-distutils available for installation?
I believe it was removed because it suggests the installation of proprietary Python modules.
[Trisquel-users] Password protected directory
Hello! Let's say I want ~/.prn to be password protected, how can I do that? There are different sudoers on my home computer, so chown root:root won't prevent them from seeing contents of that directory. Any advice?
[Trisquel-users] Why isn't python3-distutils available for installation?
I wanted to upgrade OnionShare from old 1.3 version to 2.0 version. I noticed that it depends on python3-distutils but apparently while it is available in Ubuntu 16.04 it's not in Trisquel 8. Is it non-free?
Re: [Trisquel-users] Use android as virtual keyboard/mouse over Trisquel 8
Thanks. I wanted o avoid this one for fear that it would depend on many KDE packages but I see that's not the case. I will try it out. Thanks!
Re: [Trisquel-users] Security problems with http updates, might also affect Trisquel
Thanks for the reply Magic Banana. I wonder, shouldn't we still get rid of the http mirrors in light of what the article above says? Apparently it affects Debian and all derivatives (Ubuntu, etc). One more question I admit that my sources.list was filled with http mirrors, and I changed it. Are these lines enough? deb tor+https://archive.trisquel.info/trisquel/ flidas main deb-src tor+https://archive.trisquel.info/trisquel/ flidas main #Added by softw$ Or am I missing the "security" ones? I used to have those before... Thanks.
Re: [Trisquel-users] How to dim brightness on monitor connected with HDMI
glad to hear :p
Re: [Trisquel-users] Weather location cannot be set in Trisquel mini applet
+1 same problem here, but I have not tested in full version. Cheers!