You are not logged in.

#1 2016-06-23 23:36:25

dripdrop
Member
Registered: 2016-03-13
Posts: 5

silent shutdown

Hello guys!!I like the silent boot/shutdown thing a lot and even though i managed to completely silence my boot and kernel/systemd messages at shutdown i still see programms output and xorg messages..I tried everything mentioned in the wiki
for instance exec /usr/bin/Xorg -keeptty -nolisten tcp "$@" vt$XDG_VTNR at xserver and [[ -z $DISPLAY && $XDG_VTNR -eq 1 ]] && exec startx  > /dev/null on my shellrc but still no luck.Also programms output(tint conky gtkwarnings etc)seems kinda troublesome to silence.Any ideas??

Offline

#2 2016-06-24 16:19:30

teckk
Member
Registered: 2013-02-21
Posts: 519

Re: silent shutdown

Also programms output(tint conky gtkwarnings etc)seems kinda troublesome to silence.

Redirect standard output to file

command > /dev/null

Redirect standard error to file

command 2> /dev/null

Redirect both to file

command &> /dev/null

or

command > /dev/null 2>&1

Redirect stderr to stdout

command 2>&1

Try something like:

mpv file.mp3
mpv file.mp3 > /dev/null
mpv file.mp3 &> /dev/null

Offline

#3 2016-06-24 17:29:30

dripdrop
Member
Registered: 2016-03-13
Posts: 5

Re: silent shutdown

oh gosh... exec startx  &> /dev/null ,completely black shutdown..Thanks a lot for your help man smile smile

Offline

Board footer

Powered by FluxBB