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
* The whole XDG_CONFIG_HOME approach is needlessly incompatible with the
standard (even if just de facto) configuration directory approach.
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?
I think the only challenge of this one, once one knows the tools,
might be that it requires "desktop entry" files (".desktop").
ldo@theon:~> ls -d ~/.[!.]* | wc -l
270
Death to dotfile clutter!
This is all implemented in common library code. If the same code runs on a different *nix system, built against the same libraries, then it will implement the same conventions for its dotfiles.
These are very versatile things. They not only define clickable icons on
the desktop, but also menu entries. And also icons in the favourites
toolbar. And also custom entries in the “create new document” menu in file
managers.
In comp.os.linux.misc, Lawrence D'Oliveiro <ldo@nz.invalid> wrote:
ldo@theon:~> ls -d ~/.[!.]* | wc -l 270
Death to dotfile clutter!
Unix ... has dot files.
This is all implemented in common library code. If the same code runs
on a different *nix system, built against the same libraries, then it
will implement the same conventions for its dotfiles.
Bunch of big "if"s there.
These are very versatile things. They not only define clickable icons
on the desktop, but also menu entries. And also icons in the favourites
toolbar. And also custom entries in the “create new document” menu in
file managers.
Somehow I find myself not needing any of those things.
Somehow I find myself not needing any of those things.
Elijah
------
is admittedly different in UI taste
On Mon, 30 Jun 2025 05:18:06 -0000 (UTC), Eli the Bearded wrote:
Unix ... has dot files.Way too many of them. How many are there in your $HOME?
The XDG spec aims to keep this clutter under control.
Bunch of big "if"s there.Most of the Linux distros around already contain those libraries. The
whole freedesktop.org group has widespread support among *nixes. They're
not some "fringe" group as you might think.
If you run a Linux GUI, then you already have them.
On Sun, 29 Jun 2025 10:35:05 +0100, Nuno Silva wrote:
I think the only challenge of this one, once one knows the tools,
might be that it requires "desktop entry" files (".desktop").
These are very versatile things. They not only define clickable icons on
the desktop, but also menu entries. And also icons in the favourites
toolbar. And also custom entries in the “create new document” menu in file
managers.
On Mon, 30 Jun 2025 05:18:06 -0000 (UTC), Eli the Bearded wrote:
In comp.os.linux.misc, Lawrence D'Oliveiro <ldo@nz.invalid> wrote:
ldo@theon:~> ls -d ~/.[!.]* | wc -l 270
Death to dotfile clutter!
Unix ... has dot files.
Way too many of them. How many are there in your $HOME?
The XDG spec aims to keep this clutter under control.
This is all implemented in common library code. If the same code runs
on a different *nix system, built against the same libraries, then it
will implement the same conventions for its dotfiles.
Bunch of big "if"s there.
Most of the Linux distros around already contain those libraries. The
whole freedesktop.org group has widespread support among *nixes. They’re not some “fringe” group as you might think.
These are very versatile things. They not only define clickable icons
on the desktop, but also menu entries. And also icons in the favourites
toolbar. And also custom entries in the “create new document” menu in >>> file managers.
Somehow I find myself not needing any of those things.
If you run a Linux GUI, then you already have them.
In comp.os.linux.misc, Lawrence D'Oliveiro <ldo@nz.invalid> wrote:
On Mon, 30 Jun 2025 05:18:06 -0000 (UTC), Eli the Bearded wrote:
Unix ... has dot files.Way too many of them. How many are there in your $HOME?
The XDG spec aims to keep this clutter under control.
Does it? Or does it just create a new closet to sweep them into?
$ ls -a $HOME |grep -c '^[.]'
72
$ find ~/.config -type f |wc
305 327 21490
$
Bunch of big "if"s there.Most of the Linux distros around already contain those libraries. The
whole freedesktop.org group has widespread support among *nixes. They're
not some "fringe" group as you might think.
Yeah, but I run plenty of programs that don't use those libraries and
are unlikely to do so. Is ksh ever going to use ~/.config/profile ? (Is bash?) xfig is a tool I still use and like, but it most certainly is not using a file dialog from this century.
Not all the world is Linux, and tools like xfig predate Linux.
Also XDG has a very limited understanding of how people may organize
files. I don't have a "templates" directory, I'm not even sure what I'd
put in one. I don't have a "music" directory, and I don't need one.
Here are the directories I want to use to organize things:
$HOME/src # my own programs
$HOME/packages # tar balls and the like
$HOME/builds # build root for packages
$HOME/notes # personal text files, including email
$HOME/bin # where my programs live
$HOME/lib # where my libraries live
$HOME/man # where my man pages live
$HOME/images # photos and no-photos
$HOME/tmp # temporary storage, eg downloads
$HOME/video # video files
No capital letters in names. I co-opt some of the XDG settings to use
these, but that's working around the library instead of with it. (Eg. I
use $HOME/tmp for "templates" simply because of similar letters.)
If you run a Linux GUI, then you already have them.
I know that the files on on the disk, I dispute that I use them. At
any one time I'm usually running just the following windowed programs:
xterm (x many times)
Firefox
Deluge
icewm components
On a temporary basis, I start, run, and quit programs like feh, xpdf, mplayer, gimp, xfig, vuescan. I don't think I have used any others on
Linux in the last two months. Icons and menus are not a significant part
of how I use icewm. Even the firefox process I've been using for the
last week or two right now was started from a command line in an xterm.
Elijah
------
prefers the login on console and start X manually model of Unix
On 2025-06-30, Lawrence D'Oliveiro wrote:
On Sun, 29 Jun 2025 10:35:05 +0100, Nuno Silva wrote:
I think the only challenge of this one, once one knows the tools,
might be that it requires "desktop entry" files (".desktop").
These are very versatile things. They not only define clickable icons
on the desktop, but also menu entries. And also icons in the favourites
toolbar. And also custom entries in the “create new document” menu in
file managers.
Yes, but they're additional things, which was what I was aiming at with
the «it requires "desktop entry" files» part, as opposed to just
providing a binary name or a command to execute.
If the tool you want to use does not have a desktop entry file, can you
use it for file/protocol associations without creating such a file
first?
Or is there some breed of weirdo out there that does all their letter- writing/Paint doodling/whatever by opening up an existing document,
making changes, and saving it as a new file?
You did miss the point that the spec does this in a way that
specifically does not allow to retain the previous behaviour. Why?
This, intentionally or not, deals a blow to choice.
It would literally take just a dot per file to retain that
compatibility.
In comp.os.linux.misc, Lawrence D'Oliveiro <ldo@nz.invalid> wrote:
The XDG spec aims to keep this clutter under control.
Does it? Or does it just create a new closet to sweep them into?
Most of the Linux distros around already contain those libraries. The
whole freedesktop.org group has widespread support among *nixes.
They're not some "fringe" group as you might think.
Yeah, but I run plenty of programs that don't use those libraries and
are unlikely to do so.
Not all the world is Linux, and tools like xfig predate Linux.
Also XDG has a very limited understanding of how people may organize
files. I don't have a "templates" directory, I'm not even sure what I'd
put in one.
I don't have a "music" directory, and I don't need one.
Here are the directories I want to use to organize things:
On Mon, 30 Jun 2025 18:50:40 -0000 (UTC), Eli the Bearded wrote:
In comp.os.linux.misc, Lawrence D'Oliveiro <ldo@nz.invalid> wrote:It actually creates a closet to pack things into, whereas before all those files were lying loose around the floor of your bedroom (aka $HOME). It actually helps to clean up your room.
The XDG spec aims to keep this clutter under control.Does it? Or does it just create a new closet to sweep them into?
Yeah, but I run plenty of programs that don't use those libraries andMany projects have converted. E.g Blender did this some years ago.
are unlikely to do so.
Inkscape and GIMP do too. I think newer ones just do it as a matter of course.
Not all the world is Linux, and tools like xfig predate Linux.Freedesktop specs aren't supposed to be Linux-specific.
Also XDG has a very limited understanding of how people may organizeThere are people accustomed to, shall we say, more "object-oriented" ways
files. I don't have a "templates" directory, I'm not even sure what I'd
put in one.
of doing things. Instead of opening an "Untitled" document in the app, and then having to select the name and place to save it with/in for the first time, using a template lets you start with a document already named and placed correctly (and with some suitable initial settings), which you then open in the app to insert the actual content.
Here are the directories I want to use to organize things:Suit yourself. Free Software is all about choice.
In comp.os.linux.misc, Lawrence D'Oliveiro <ldo@nz.invalid> wrote:
Document-application associations are an inseparable part of the whole
concept of a GUI.
Uh-huh. I think you fail to convey anything significant there.
Document-application associations are an inseparable part of the whole concept of a GUI.
How is a "closet to pack things into" different from a "closet to sweep
them into"?
Freedesktop specs aren't supposed to be Linux-specific.
They sure as fuck are not on the other Unix I use these days, my $WORK Macintosh.
Free Software's choice is Hobson's Choice.
On Tue, 01 Jul 2025 00:07:03 +0100, Nuno Silva wrote:
You did miss the point that the spec does this in a way that
specifically does not allow to retain the previous behaviour. Why?
To get rid of the clutter.
This, intentionally or not, deals a blow to choice.
Think of it this way: keeping all those dotfiles in the root of $HOME is
not just clutter, it’s also a potential privacy risk. It lets other users on the system see the kinds of apps you run, and perhaps even when you
last ran them.
It would literally take just a dot per file to retain that
compatibility.
Putting files beginning with “.” inside directories beginning with “.” is
kind of ... stupid, don’t you think? The initial “.” is supposed to denote
“don’t normally show this file/dir”. It was a hack to reduce clutter.
Like, okay, music/pictures/etc. I get, but "templates" has always
baffled me; do they think everyone does mass mail-merge on the regular?
Or is there some breed of weirdo out there that does all their letter- writing/Paint doodling/whatever by opening up an existing document,
making changes, and saving it as a new file?
On 2025-07-01, Lawrence D'Oliveiro wrote:
Think of it this way: keeping all those dotfiles in the root of $HOME
is not just clutter, it’s also a potential privacy risk. It lets other
users on the system see the kinds of apps you run, and perhaps even
when you last ran them.
That's not really a valid argument, is it?
Sounds to me that you need to check the permissions and umask in use in
your system?
It's all fun to argue about "." in front of names being a hack, but
that's a very tiny cost that'd have given you the ability to coexist
with the existing approach.
On 2025-07-01, Lawrence D'Oliveiro wrote:
On Tue, 01 Jul 2025 00:07:03 +0100, Nuno Silva wrote:
It would literally take just a dot per file to retain that
compatibility.
Putting files beginning with “.” inside directories beginning with “.” is
kind of ... stupid, don’t you think? The initial “.” is supposed to denote
“don’t normally show this file/dir”. It was a hack to reduce clutter.
At this point, I'm starting to suspect you're trying to justify a bad
and non-inclusive design decision as you go.
On Tue, 1 Jul 2025 04:28:23 -0000 (UTC)
Lawrence D'Oliveiro <ldo@nz.invalid> wrote:
They sure as fuck are not on the other Unix I use these days, my
$WORK Macintosh.
But that’s not really a *nix system, is it? It is “Unix®”, but
“Unix®” is just a trademark that Apple has licensed, it doesn’t make >> it work like people expect a *nix system to work.
OSX is marvelous - it's Unix when freenix zealots want to count it for representation in popularity contests vs. The Great Satan of Redmond,
but *not* Unix when they need to justify some arbitrary decision of a
freenix "standards" group as The Only Way. A true chameleon!
OSX is marvelous - it's Unix when freenix zealots want to count it for representation in popularity contests vs. The Great Satan of Redmond,
but *not* Unix when they need to justify some arbitrary decision of a
freenix "standards" group as The Only Way. A true chameleon!
On Tue, 01 Jul 2025 08:38:23 +0100
Richard Kettlewell <invalid@invalid.invalid> wrote:
Anyway, if these directories don’t fit your needs then nothing is
forcing you to use them and nothing is preventing your from creating
your own.
Nothing's forcing me to *use* them, but certain software insists on re- creating them when I delete them, which is obnoxious.
On Tue, 1 Jul 2025 12:49:36 -0700, John Ames wrote:
On Tue, 01 Jul 2025 08:38:23 +0100 Richard Kettlewell
<invalid@invalid.invalid> wrote:
Anyway, if these directories don’t fit your needs then nothing is
forcing you to use them and nothing is preventing your from creating
your own.
Nothing's forcing me to *use* them, but certain software insists on re-
creating them when I delete them, which is obnoxious.
Stop using that software, then.
“Doctor, it hurts when I do this!”
“Don’t do that, then!”
What if the problem is toolkits or other libraries creating these just because of the freedesktop specs? And made worse by more libraries
adopting such behaviours because "it doesn't hurt"?
On Wed, 2 Jul 2025 23:41:50 -0000 (UTC)
Lawrence D'Oliveiro <ldo@nz.invalid> wrote:
So let us know, what exactly is/are the piece(s) of software that are
recreating these folders when you try to delete them?
No idea - they just keep mysteriously re-appearing.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 546 |
Nodes: | 16 (2 / 14) |
Uptime: | 09:17:14 |
Calls: | 10,387 |
Calls today: | 2 |
Files: | 14,060 |
Messages: | 6,416,669 |