this post was submitted on 24 Mar 2025
17 points (90.5% liked)

Linux

52728 readers
373 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

I'm talking about this patch:

https://dwm.suckless.org/patches/autostart/

Now, the notes seem simple: after apply the patch, dwm will look for the autostart script in ~/.dwm/autostart.sh.

But if you read it carefully, the file is:

~/.dwm/autostart.sh &

Wth does a "&" have to do with file name? I tried to just use the normal file: autostart.sh with exec dunst. It doesnt work..

I tried to create in the Thunar this weird file name, "autostop.sh &". The system does not recognize it as sh script anymore. .

Any help is welcome.

you are viewing a single comment's thread
view the rest of the comments
[–] mazzilius_marsti@lemmy.world 0 points 1 week ago (1 children)

yes, that is what I thought: so "dunst &" means to start dunst in the background. But the way they attach to the end of a file name is weird.

[–] clmbmb@lemmy.dbzer0.com 5 points 1 week ago

You should learn some shell basics before copy/pasting other people's work. It's not weird at all to have & after the script path/name.