Skip to content

u/gtmanfred

In this archive from Jan 2013 to Mar 2016

1
posts
70
comments
0
media
318
score

Top posts

Top comments

Zsh is awesome. But omz is terrible. Do much just extra useless crap in it. I recommend actually sitting down, reading the zsh wiki and setting up your own environment.

That was how I learned to write zsh completion and then wrote a large portion of the systemd completion.

If you absolutely have to use some framework, check out prezto, it was forked from omz by a guy in the #zsh irc channel who actually knows what he is doing, and cleaned up a lot of the crud in omz.

25 points

Those options for starting xorg on login are dumb,

you have systemd, use it

https://github.com/sofar/xorg-launch-helper https://github.com/sofar/user-session-units

enable xorg.service... then you need user-session-units for the dbus.target and service... there are aur packages.

This came from a blog post i wrote a long time ago and have since deleted the whole blog for.

http://git.kaictl.net/wgiokas/systemd-user.git/tree/dwm.service

Get a window manager service unit... like dwm above. then you want a wm.target that will be your default.target once enabled

http://git.kaictl.net/wgiokas/systemd-user.git/tree/wm.target

yay Alias=

Now, put everything you would normally put in your .xinitrc in it's own .service unit, and make it WantedBy=mystuff.target

http://git.kaictl.net/wgiokas/systemd-user.git/tree/mystuff.target

Which will be started before your wm, but after your xorg.

then... once you login with the autologin that you have already mentioned above... it will launch a user@<uid>.service and will start your user session.

If you need networking, add /etc/systemd/system/user@<uid>.service.d/network.conf that just has

[Unit]
After=network.target

and it will make the user session wait for networking to start your user session.

And that is how I have setup my last 5 raspberry pis that are sitting around just running midori.

10 points

Subreddits

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.