Sujet : XDG and Freedesktop (was: Re: Program to dole out jpg's to subdirctories, card-dealing style.)
De : nunojsilva (at) *nospam* invalid.invalid (Nuno Silva)
Groupes : comp.os.linux.miscDate : 29. Jun 2025, 10:35:05
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <103r1c9$1ellf$1@dont-email.me>
References : 1 2 3 4 5
User-Agent : Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)
On 2025-06-29, Eli the Bearded wrote:
In comp.os.linux.misc, Lawrence D'Oliveiro <ldo@nz.invalid> wrote:
On Sat, 28 Jun 2025 14:07:22 GMT, Charlie Gibbs wrote:
I refuse to use drag-and-drop. It's too dangerous, even for experienced
users. One slip of the finger on the mouse button you're dragging, and
it's time for
$ find ~ -print | grep <myfilename>
>
Valid, but I'd probably go with:
>
find ~ -name \*myfilename\*
>
I don't use drag-n-drop because I don't use any file manager I can drag
from.
>
In my case, it would just end up on the desktop. (What? You don't have an
entire virtual desktop dedicated to things like your email client?)
>
Nope. Why would I need a virtual desktop for mailx? I don't have a
"desktop" I have a root window blissfully free of icons. If only I could
convince XDG aware programs that "Desktop" is not a place.
>
$ grep -i desktop ~/.config/user-dirs.dirs
XDG_DESKTOP_DIR="$HOME/.empty"
$ (cd ; du .empty)
4 .empty
$
>
Elijah
------
does a lot of command line file management on his phone, too
Such XDG "compliance" does tend to introduce some annoying things that
in no way appear to be designed to cater to users who don't want the MS
Windows experience, or the freedesktop idea of what Linux-based systems
should be like.
* This idea of "Documents" and "Desktop" being folders that exist.
* The whole XDG_CONFIG_HOME approach is needlessly incompatible with the
standard (even if just de facto) configuration directory approach. All
it'd take to avoid the breakage would be requiring subdirectories of
it to begin with a "." - then backwards compatibility could perhaps be
a matter of setting XDG_CONFIG_HOME to $HOME?
* There have been changes breaking expectations and standards in how
copy-paste is handled in applications and toolkits because at some
point it was seen fitting to follow some other specification for how
copy and paste is handled, and places where Shift-Insert used to paste
from PRIMARY now paste content from CLIPBOARD.
Even in the event this was all in good faith, there's definitely more
than just one occurrence of it breaking compatibility bad enough that it
amounts to pushing the freedesktop view of what the system should be.
Not to mention now there have been utilities adopting the
XDG_CONFIG_HOME approach... but what does that mean for other UNIX and
UNIX-like systems? Users on other systems have to do it the freedesktop
way now?
There was also the introduction (or more widespread adoption?) of yet
another separate mechanism to handle file types and protocols, this one
apparently focused on "the desktop environment will provide a way to
handle it" - at least there are command line utilities that can
manipulate the settings, and IIRC these also work without a desktop
environment, despite the wording of at least the xdg-settings online
manual page suggesting it requires one. I think the only challenge of
this one, once one knows the tools, might be that it requires "desktop
entry" files (".desktop").
(Cf. my (non-)answer at
https://askubuntu.com/a/141178, but do note that
the accepted answer, not mine, is the one which addresses the actual
issue in the question.)
-- Nuno Silva
Date | Sujet | # | | Auteur |
23 Jun 25 | Program to dole out jpg's to subdirctories, card-dealing style. | 66 | | pH |
23 Jun 25 |  Re: Program to dole out jpg's to subdirctories, card-dealing style. | 6 | | Robert Heller |
23 Jun 25 |   Re: Program to dole out jpg's to subdirctories, card-dealing style. | 5 | | pH |
23 Jun 25 |    Re: Program to dole out jpg's to subdirctories, card-dealing style. | 2 | | Robert Heller |
23 Jun 25 |     Re: Program to dole out jpg's to subdirectories, card-dealing style. | 1 | | Lawrence D'Oliveiro |
23 Jun 25 |    Re: Program to dole out jpg's to subdirctories, card-dealing style. | 1 | | rbowman |
24 Jun 25 |    Re: Program to dole out jpg's to subdirctories, card-dealing style. | 1 | | pH |
23 Jun 25 |  Re: Program to dole out jpg's to subdirctories, card-dealing style. | 2 | | Lawrence D'Oliveiro |
24 Jun 25 |   Re: Program to dole out jpg's to subdirctories, card-dealing style. | 1 | | pH |
23 Jun 25 |  Re: Program to dole out jpg's to subdirctories, card-dealing style. | 5 | | Eli the Bearded |
24 Jun 25 |   Re: Program to dole out jpg's to subdirctories, card-dealing style. | 4 | | pH |
24 Jun 25 |    Re: Program to dole out jpg's to subdirctories, card-dealing style. | 3 | | Rich |
24 Jun 25 |     Re: Program to dole out jpg's to subdirctories, card-dealing style. | 2 | | Eli the Bearded |
24 Jun 25 |      Re: Program to dole out jpg's to subdirctories, card-dealing style. | 1 | | Lawrence D'Oliveiro |
23 Jun 25 |  Re: Program to dole out jpg's to subdirctories, card-dealing style. | 1 | | c186282 |
23 Jun 25 |  Re: Program to dole out jpg's to subdirctories, card-dealing style. | 50 | | Richard Kettlewell |
24 Jun 25 |   Re: Program to dole out jpg's to subdirctories, card-dealing style. | 40 | | pH |
24 Jun 25 |    Re: Program to dole out jpg's to subdirctories, card-dealing style. | 39 | | Lawrence D'Oliveiro |
24 Jun 25 |     Re: Program to dole out jpg's to subdirctories, card-dealing style. | 4 | | c186282 |
24 Jun 25 |      Re: Program to dole out jpg's to subdirctories, card-dealing style. | 3 | | rbowman |
24 Jun 25 |       Re: Program to dole out jpg's to subdirctories, card-dealing style. | 2 | | c186282 |
24 Jun20:16 |        Re: Program to dole out jpg's to subdirctories, card-dealing style. | 1 | | rbowman |
24 Jun 25 |     Re: Program to dole out jpg's to subdirctories, card-dealing style. | 34 | | c186282 |
24 Jun21:38 |      Re: Program to dole out jpg's to subdirctories, card-dealing style. | 33 | | Rich |
24 Jun22:37 |       Re: Program to dole out jpg's to subdirctories, card-dealing style. | 2 | | rbowman |
27 Jun20:46 |        Re: Program to dole out jpg's to subdirctories, card-dealing style. | 1 | | Rich |
25 Jun07:14 |       Re: Program to dole out jpg's to subdirctories, card-dealing style. | 30 | | c186282 |
27 Jun20:49 |        Re: Program to dole out jpg's to subdirctories, card-dealing style. | 29 | | Rich |
27 Jun23:34 |         Re: Program to dole out jpg's to subdirctories, card-dealing style. | 28 | | c186282 |
29 Jun00:06 |          Re: Program to dole out jpg's to subdirctories, card-dealing style. | 27 | | Lawrence D'Oliveiro |
29 Jun04:41 |           Re: Program to dole out jpg's to subdirctories, card-dealing style. | 26 | | Eli the Bearded |
29 Jun05:44 |            Re: Program to dole out jpg's to subdirctories, card-dealing style. | 1 | | Lawrence D'Oliveiro |
29 Jun10:35 |            XDG and Freedesktop (was: Re: Program to dole out jpg's to subdirctories, card-dealing style.) | 23 | | Nuno Silva |
30 Jun00:58 |             Re: XDG and Freedesktop (was: Re: Program to dole out jpg's to subdirctories, card-dealing style.) | 22 | | Lawrence D'Oliveiro |
30 Jun06:18 |              Re: XDG and Freedesktop (was: Re: Program to dole out jpg's to subdirctories, card-dealing style.) | 17 | | Eli the Bearded |
30 Jun07:52 |               Re: XDG and Freedesktop (was: Re: Program to dole out jpg's to subdirctories, card-dealing style.) | 16 | | Lawrence D'Oliveiro |
30 Jun19:50 |                Re: XDG and Freedesktop (was: Re: Program to dole out jpg's to subdirctories, card-dealing style.) | 10 | | Eli the Bearded |
30 Jun21:15 |                 Re: XDG and Freedesktop (was: Re: Program to dole out jpg's to subdirctories, card-dealing style.) | 3 | | John Ames |
1 Jul01:30 |                  Re: XDG and Freedesktop (was: Re: Program to dole out jpg's to subdirctories, card-dealing style.) | 1 | | Lawrence D'Oliveiro |
1 Jul08:38 |                  Re: XDG and Freedesktop | 1 | | Richard Kettlewell |
1 Jul00:14 |                 Re: XDG and Freedesktop | 1 | | Bobbie Sellers |
1 Jul01:29 |                 Re: XDG and Freedesktop (was: Re: Program to dole out jpg's to subdirctories, card-dealing style.) | 5 | | Lawrence D'Oliveiro |
1 Jul04:40 |                  Re: XDG and Freedesktop (was: Re: Program to dole out jpg's to subdirctories, card-dealing style.) | 4 | | Eli the Bearded |
1 Jul05:28 |                   Re: XDG and Freedesktop (was: Re: Program to dole out jpg's to subdirctories, card-dealing style.) | 3 | | Lawrence D'Oliveiro |
1 Jul17:01 |                    Re: XDG and Freedesktop (was: Re: Program to dole out jpg's to subdirctories, card-dealing style.) | 2 | | John Ames |
1 Jul17:10 |                     Re: XDG and Freedesktop | 1 | | Bobbie Sellers |
1 Jul00:07 |                Re: XDG and Freedesktop | 5 | | Nuno Silva |
1 Jul01:33 |                 Re: XDG and Freedesktop | 4 | | Lawrence D'Oliveiro |
1 Jul07:02 |                  Re: XDG and Freedesktop | 3 | | Nuno Silva |
1 Jul08:30 |                   Re: XDG and Freedesktop | 1 | | Lawrence D'Oliveiro |
1 Jul14:36 |                   Re: XDG and Freedesktop | 1 | | Rich |
1 Jul00:12 |              Re: XDG and Freedesktop | 4 | | Nuno Silva |
1 Jul01:21 |               Re: XDG and Freedesktop | 3 | | Lawrence D'Oliveiro |
1 Jul05:20 |                Re: XDG and Freedesktop | 2 | | Eli the Bearded |
1 Jul05:25 |                 Re: XDG and Freedesktop | 1 | | Lawrence D'Oliveiro |
1 Jul18:00 |            Re: Program to dole out jpg's to subdirctories, card-dealing style. | 1 | | candycanearter07 |
29 Jun11:30 |   Re: Program to dole out jpg's to subdirctories, card-dealing style. | 9 | | Carlos E.R. |
30 Jun01:17 |    Re: Program to dole out jpg's to subdirctories, card-dealing style. | 6 | | Fritz Wuehler |
30 Jun06:53 |     Re: Program to dole out jpg's to subdirctories, card-dealing style. | 2 | | Eli the Bearded |
30 Jun07:55 |      Re: Program to dole out jpg's to subdirctories, card-dealing style. | 1 | | Lawrence D'Oliveiro |
30 Jun07:05 |     Re: Program to dole out jpg's to subdirctories, card-dealing style. | 3 | | c186282 |
30 Jun21:32 |      Re: Program to dole out jpg's to subdirctories, card-dealing style. | 2 | | Eli the Bearded |
1 Jul01:34 |       Re: Program to dole out jpg's to subdirctories, card-dealing style. | 1 | | Lawrence D'Oliveiro |
30 Jun08:40 |    Re: Program to dole out jpg's to subdirctories, card-dealing style. | 1 | | The Natural Philosopher |
30 Jun13:03 |    Re: Program to dole out jpg's to subdirctories, card-dealing style. | 1 | | Carlos E.R. |
27 Jun21:57 |  Re: Program to dole out jpg's to subdirctories, card-dealing style. | 1 | | Shadow |