this post was submitted on 20 Apr 2024
564 points (91.0% liked)

linuxmemes

21748 readers
1043 users here now

Hint: :q!


Sister communities:


Community rules (click to expand)

1. Follow the site-wide rules

2. Be civil
  • Understand the difference between a joke and an insult.
  • Do not harrass or attack members of the community for any reason.
  • Leave remarks of "peasantry" to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
  • Bigotry will not be tolerated.
  • These rules are somewhat loosened when the subject is a public figure. Still, do not attack their person or incite harrassment.
  • 3. Post Linux-related content
  • Including Unix and BSD.
  • Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of sudo in Windows.
  • No porn. Even if you watch it on a Linux machine.
  • 4. No recent reposts
  • Everybody uses Arch btw, can't quit Vim, <loves/tolerates/hates> systemd, and wants to interject for a moment. You can stop now.
  •  

    Please report posts and comments that break these rules!


    Important: never execute code or follow advice that you don't understand or can't verify, especially here. The word of the day is credibility. This is a meme community -- even the most helpful comments might just be shitposts that can damage your system. Be aware, be smart, don't fork-bomb your computer.

    founded 2 years ago
    MODERATORS
     
    (page 2) 50 comments
    sorted by: hot top controversial new old
    [–] [email protected] 23 points 8 months ago (1 children)

    Oh that setting is super easy to change, just go to run, type in regedit, expand HKEY_LOCAL_MACHINE then just scroll until you find CLSID-73838-abf83-c758d57-87a90ba, set the value to zero and reboot!

    load more comments (1 replies)
    [–] [email protected] 3 points 8 months ago (2 children)

    To this day, I still don't know how to set a path variable permanently in any Linux distro

    [–] [email protected] 5 points 8 months ago* (last edited 8 months ago)

    I do feel like setting environment variable on linux is not as intuitive as on windows, but after I setup my workflow, I realized I never have the need to manually set any environmental variable besides in flatseal.

    Maybe you have a specific use case for it?

    load more comments (1 replies)
    [–] [email protected] 3 points 8 months ago (1 children)

    Have you found appdata/local/Application Data? It's a "conjunction point" that you can only find via the command line, and only exists for backwards compatibility. It points to appdata/... Do not EVER try to gain access over all your files in appdata/. It'll break due to that conjunction point.

    load more comments (1 replies)
    [–] [email protected] 42 points 8 months ago (8 children)

    This isn't really accurate for either side. For Linux, I've had crap shove configs in ~, /etc, /var, at least.

    On Windows, it could be literally anywhere or in the registry.

    [–] [email protected] 7 points 8 months ago (1 children)

    That's one thing I especially like about Flatpaks on the Linux side. Everything's in ~/.var.

    load more comments (1 replies)
    load more comments (7 replies)
    [–] [email protected] 1 points 8 months ago

    I use an all encompassing indexing app on windows called "Everything" and it let's me find....everything, since it indexes it all, it also finds it instantly. if you have to use windows, I suggest getting it. It's no cost.

    [–] [email protected] 2 points 8 months ago (1 children)

    There once was a time when configs were not in a universal place like .config. I have terrible memories of trying to fix a gnome setting gone wrong and having to search several files in four different places and just having to firebomb everything.

    [–] [email protected] 4 points 8 months ago

    Still the case today... Not every Linux app complies with XDG.

    [–] [email protected] 22 points 8 months ago

    Mozilla products:

    "What is this .config folder you talk about?"

    [–] [email protected] 22 points 8 months ago (3 children)

    not seen in this comic: the linux file isn't where the comic/manual/internet nerds says it should be, and there's no realistic way to find it

    [–] [email protected] 1 points 8 months ago* (last edited 8 months ago)

    Until flatpak came along and just keeps everything in their respective app sandbox.

    If your app don't need full user home access (most app don't), you can use a persistent folder to place the folder in app sandbox instead of home.

    It is not only more clean, but also more secure and private.

    [–] [email protected] 3 points 8 months ago (1 children)

    Sure there is: find / -name myprogram*.md -o -name myprogram*.txt or start with just looking for the program name and pipe to less

    [–] [email protected] 8 points 8 months ago (1 children)
    [–] [email protected] 5 points 8 months ago

    The prompt was realistic not simple lol. Usually some man or programname -h and then reading will tell you where to look and that's simple. Not many people want to hear "RTFM" though.

    [–] [email protected] -1 points 8 months ago (1 children)

    Nonsense. And even if the config file cannot be found in the usual directories then there are always tools like KFind that can search your entire OS within seconds.

    [–] [email protected] 10 points 8 months ago (2 children)

    congratulations. you've just sent a linux newb down a 12 hour rabbit hole that doesn't actually solve their problem.

    [–] [email protected] 13 points 8 months ago

    and thats the power of linux baby hell yeah

    load more comments (1 replies)
    [–] [email protected] 16 points 8 months ago (1 children)
    [–] [email protected] 7 points 8 months ago (3 children)

    Takes you to the roaming subfolder though

    [–] [email protected] 3 points 8 months ago (1 children)

    Most configs should be in the roaming directory, since you'd usually expect them to roam between computers on a domain. The local directory is only for stuff that doesn't make sense to sync to other computers - things like caches, configs specific to that individual PC, etc.

    Not that it matters for home users, as home users generally aren't using Active Directory with roaming profiles.

    load more comments (1 replies)
    [–] [email protected] 5 points 8 months ago

    Which contains 90% of what you search. Then just press backspace, and you reach the appdata folder.

    load more comments (1 replies)
    [–] [email protected] 2 points 8 months ago* (last edited 8 months ago)

    All that depends on developer. Majority of my used Windows software is portable stored in folder that's synced with Dropbox. All settings are then usually stored in the same folder so I can easily copy SW over to another machine without loosing any configuration / history.

    Some of those programs still do not store settings in same folder, you can often simply export settings from GUI.

    [–] [email protected] 16 points 8 months ago* (last edited 8 months ago) (1 children)

    Some people have diacritics and spaces in their usernames, which wreaks havoc for badly written programs accessing AppData or folders in the user's "home" directory, such as Documents. And there are lots of such programs.

    When setting up Windows, use a short and memorable, DOS-compatible username, and then change it later (the home folder will still have the old name). You can then move indiidual Libraries (Documents, Downloads, Music, Pictures and Videos) to the root of D:\ too.

    [–] [email protected] 5 points 8 months ago* (last edited 8 months ago) (1 children)

    programs writing shit in the document folder are so freaking annoying. I typically backup my document folder, as they contains most of my user files.

    And some stupid program just decide to litter it with their temporary file, and game saves....

    [–] [email protected] 2 points 8 months ago (1 children)

    It is okay if they only do what you asked for.

    "Okay, Audacity, save to 'C:\Users\me\Documents\recording.aup'"

    *folder 'C:\Users\me\Documents\recording_data' shows up*

    load more comments (1 replies)
    load more comments
    view more: ‹ prev next ›