Skip to content

dwm autostart

I've been trying out dwm, and it looks very promising. Is there a way to run certain things on startup (like xsetroot, kupfer, etc.)?

3 points13 comments
Open on Reddit
About this post
Posted
Archived
Score
3 · 100% up
Kind
Text
ID
2p033v

Author

12
posts
106
comments
2
media
View profile

13 comments

OK, I did it. I just copied .xinitrc to /usr/local/dwm-session, and make an XSession .desktop file for that.

1 points

That was a lot more than you had to do, and will be run when any user logs in. As it says on LightDM's wiki page, just move everything from your ~/.xinitrc to ~/.xprofile, but remove the line that starts dwm.

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.