3 ms·
I've always liked OS X's concept of the Library folder, particularly back in Snow Leopard when it wasn't hidden by default. Applications need a place to save s
by Wowfunhappy 7y ago
I've always liked OS X's concept of the Library folder, particularly back in Snow Leopard when it wasn't hidden by default.
Applications need a place to save state, and you don't really want it to be hidden, because sometimes I as a user do need to change it manually for any number of obscure reasons. So you make a subfolder that's designated for apps to write to.
There's no good way to put this into the existing Linux model though. All you'd do is add yet another standard a la https://xkcd.com/927/ https://xkcd.com/927/
- psanford 7y agoYou as a user can still access hidden directories. Most new applications are nice enough to respect the XDG specification.
- Wowfunhappy 7y agoOh, for sure, but it's mildly annoying. Especially when a . is used to make the directory hidden, because I can't unhide that specific directory without changing the name apps expect.
- brobinson 7y agoYou can press cmd-shift-g to open a "Go to folder" prompt which has some basic tab completion. This also works in file selection dialogs. Hopefully this saves someone as much time as it has saved me over the years. I get into the Library folder by doing: cmd-shift-g -> ~/Library -> enter
- deleted 7y ago[deleted]
- harry8 7y agoWhat? Of course you can! $ ln -s .hidden not_hidden It's that easy. Really.
- Wowfunhappy 7y agoWell, that's a symlink. It's a good idea, and something I should remember if I ever do start using Linux again—but the downside is that if I do need to temporarily enable hidden files, I'll see the same directory twice. I'm being picky, I know! But I still think the Library approach is cleaner. (Again, back when it wasn't hidden by default!)
- slipheen 7y agoNot exactly the same, but the closest Linux equivalent that's semi-widely used would probably by ~/.local
- thinkloop 7y agoAnd the problem is gigantic, programs in general are completely broken - why does my entire system have to be compromised because I decided to play Catan. We need the iOS/Android model for permissions on desktop.
- psanford 7y agoThats one thing that snaps are trying to do. I personally prefer firejail for application sandboxing and permissions but then you have to be extra careful how you install the application (dpkg post-install scripts have been known to do sketchy things) and you have to make sure you never accidentally run the application without firejail.
- bmn__ 7y ago> We need the iOS/Android model for permissions on desktop. This model is terrible. OS asks up-front: program wants permissions to do A, B, C, X, Y, Z: grant/refuse? You the user decide that the program should not be allowed to do X, so you refuse. Now the program will not run at all. That's about the worst design possible. A 10 year old can brainstorm a better design within a few minutes. Investigate prior art: man 7 apparmor man 4 capsicum man 2 pledge
- Denvercoder9 7y agoAt least on recent Android versions the apps only ask for permissions when they actually need them, not on install time, and you can grant/refuse individual permissions.
- Wowfunhappy 7y agoThis is also how iOS has worked since forever. I think it's helpful, but not that helpful. In practice, apps that want access to my contacts usually keep asking for access every time I try to do anything, until I eventually either relent to make the prompts go away or click allow by accident. And that's me as a computer-enthusiast. I would bet money most normal people just hit allow always. Because it's easier.