this post was submitted on 07 Oct 2025
321 points (97.3% liked)

linuxmemes

27638 readers
1418 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 users for any reason. This includes using blanket terms, like "every user of thing".
  • Don't get baited into back-and-forth insults. We are not animals.
  • 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.
  • 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, no politics, no trolling or ragebaiting.
  • 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.
  • 5. πŸ‡¬πŸ‡§ Language/язык/Sprache
  • This is primarily an English-speaking community. πŸ‡¬πŸ‡§πŸ‡¦πŸ‡ΊπŸ‡ΊπŸ‡Έ
  • Comments written in other languages are allowed.
  • The substance of a post should be comprehensible for people who only speak English.
  • Titles and post bodies written in other languages will be allowed, but only as long as the above rule is observed.
  • 6. (NEW!) Regarding public figuresWe all have our opinions, and certain public figures can be divisive. Keep in mind that this is a community for memes and light-hearted fun, not for airing grievances or leveling accusations.
  • Keep discussions polite and free of disparagement.
  • We are never in possession of all of the facts. Defamatory comments will not be tolerated.
  • Discussions that get too heated will be locked and offending comments removed.
  • Β 

    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 remove France.

    founded 2 years ago
    MODERATORS
    321
    chmod 666 (discuss.tchncs.de)
    submitted 3 days ago* (last edited 3 days ago) by nutbutter@discuss.tchncs.de to c/linuxmemes@lemmy.world
     
    top 22 comments
    sorted by: hot top controversial new old
    [–] optissima@lemmy.ml 36 points 3 days ago (2 children)

    Idk if titles can be updated but consider chmod 666

    [–] muhyb@programming.dev 19 points 3 days ago

    Yup, it can be edited. This is not Reddit. :)

    Done. Thanks!

    [–] BeardedGingerWonder@feddit.uk 26 points 3 days ago (2 children)
    [–] Ascend910@lemmy.ml 7 points 3 days ago (1 children)
    [–] BeardedGingerWonder@feddit.uk 17 points 3 days ago (1 children)

    There was a mote of an idea floating about a few months back you've reminded me of. Basically distrohopping the hard way - start with one distro and install/remove packages until you've gotten to another one.

    [–] jack@sh.itjust.works 13 points 2 days ago (1 children)
    [–] Ascend910@lemmy.ml 4 points 2 days ago

    Starting from lfs?

    [–] caseyweederman@lemmy.ca 3 points 3 days ago

    Oh that's nasty. Yeah, do it!

    [–] Ging@anarchist.nexus 27 points 3 days ago (1 children)

    You... You wouldn't actually do this, would you?

    [–] mittorn@masturbated.one 26 points 3 days ago (1 children)

    @Ging @nutbutter it's freedom of init system choice!

    [–] Ging@anarchist.nexus 12 points 3 days ago (1 children)

    You're not wrong, but ...jesus what is that homeserver? I'm gonna go clean the coffee off my monitor now

    [–] mittorn@masturbated.one 3 points 3 days ago* (last edited 3 days ago) (1 children)

    @Ging this was reference to one funny musks post about mastodon few years ago (post was deleted later)
    Also, mascot is green elephant reference:
    https://en.wikipedia.org/wiki/The/_Green/_Elephant

    [–] Ging@anarchist.nexus 3 points 2 days ago

    After further review, I respect this greatly :D

    [–] three@lemmy.zip 19 points 3 days ago

    No idea what you're taking about, but I'll always upvote this picture.

    [–] Gonzako@lemmy.world 5 points 2 days ago (2 children)

    How does one actually use systemd? I tried making a script to trigger every time I boot up but it didn't work out for me

    [–] e8d79@discuss.tchncs.de 6 points 2 days ago (1 children)

    This should work. Add a file /home/username/.config/systemd/user/my_cool_service.service with this content:

    [Unit]
    Description=My cool service
    
    [Service]
    Type=oneshot
    ExecStart=/home/username/my_cool_script.sh
    
    [Install]
    WantedBy=default.target
    

    Now add the script /home/username/my_cool_script.sh.

    #!/bin/bash
    echo "Hello from my cool script."
    

    Enable and run the service.

    $ chmod +x /home/username/my_cool_script.sh
    $ systemctl --user daemon-reload
    $ systemctl --user enable my_cool_service.service
    # Optional:
    $ systemctl --user start my_cool_service.service 
    $ journalctl -e --user-unit=my_cool_service # You should see the echoed string from the script.
    

    The service should now run every time the user username logs in.

    [–] Gonzako@lemmy.world 2 points 2 days ago

    Oh, thanks! My distro has a package that has a bunch of visual configurations that reset on boot and I wanted to do my configs on top

    [–] jim3692@discuss.online 5 points 2 days ago

    Did you set the WantedBy field?

    Did you systemctl enable the service?

    [–] dukatos@lemmy.zip 11 points 3 days ago

    Installing Arch with extra steps

    [–] davidagain@lemmy.world 3 points 2 days ago

    chmod 640 for the win.

    [–] sepi@piefed.social 4 points 3 days ago

    go get em, tiger