[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] checking eww download directory
From: |
Clément Pit-Claudel |
Subject: |
Re: [PATCH] checking eww download directory |
Date: |
Fri, 27 Jan 2017 14:38:31 -0500 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 |
On 2017-01-27 14:10, Mark Oteiza wrote:
> - it would be nice if eww looked a little harder for an existing
> downloads directory. Perhaps what's below is too much, comments
> welcome
This sounds like a great idea! And I'd say what's below is not enough,
actually :) For example, it fails in locales that are not English (on French
versions of Ubuntu, the Downloads folder is "Téléchargements"), or if users
manually customized the name of that folder (I use ~/dls).
How hard would it be to integrate with the xdg-user-dirs standard instead? On
many GNU/Linux systems, running "xdg-user-dir DOWNLOAD" is enough
(http://stackoverflow.com/questions/13161226/). This would make eww consistent
with Firefox, too (they take the slightly more painful route of parsing
~/.config/user-dirs.dirs:
https://dxr.mozilla.org/mozilla-release/source/xpcom/io/SpecialSystemDirectory.cpp#256)
Cheers,
Clément.
- [PATCH] checking eww download directory, Mark Oteiza, 2017/01/27
- Re: [PATCH] checking eww download directory, Lars Ingebrigtsen, 2017/01/27
- Re: [PATCH] checking eww download directory, Mark Oteiza, 2017/01/27
- Re: [PATCH] checking eww download directory, Eli Zaretskii, 2017/01/27
- Re: [PATCH] checking eww download directory, Yuri Khan, 2017/01/28
- Re: [PATCH] checking eww download directory, Eli Zaretskii, 2017/01/28
- Re: [PATCH] checking eww download directory, Lars Ingebrigtsen, 2017/01/28
- Re: [PATCH] checking eww download directory, Mark Oteiza, 2017/01/28
- Re: [PATCH] checking eww download directory, Lars Ingebrigtsen, 2017/01/27
- Re: [PATCH] checking eww download directory,
Clément Pit-Claudel <=