Skip to content

u/Olosta_

In this archive from Jun 2015 to Dec 2022

1
posts
21
comments
0
media
96
score

Top posts

Top comments

That's basically correct but a few points:

  • OP is confusing TTY1 (first virtual terminal) and stdout (FD 1 of the process) and stderr (FD 2 of the process). stdout/stderr is what the OP is looking for (VTs are what you switch between when using CTRL+ALT+FX).

  • This is not The X server output directlly.

  • Since this is arch, I'm assuming you are running systemd, your process are all in a session managed by systemd, that session is centralising the output and then putting it in .xsession-errors, you can have the same data with:

    $ loginctl session-status

or for the full log:

$journalctl -u session-cX.scope

(you get the session-cX.scope in the unit field of the first command)

17 points

Cron executes scripts in an environment that is hard to reproduce except by actually putting it in cron and waiting for it to run. With systemd you get all the environment sanitation and settings you have for services

Getting the output of a cron run by email is a bit weird, usefull in some cases but systemd is more flexible there.

Systemd can actually wait for the previous cron to finish before launching the next with an efficient process tracking.

10 points

I suppose this means that sessions from the same user can interact with each other by dbus.

One example I can think of is that you could have a user mpd service during your session and another cron-like task that starts the music in the morning.

You could also have headless background services (again from a cron-like task, from a screen or from a user daemon) that sends notifications to your desktop from dbus.

9 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.