Re: [dev] tinyx port to libXfont2

From: Storkman <storkman_AT_storkman.nl>
Date: Wed, 13 Nov 2024 01:02:49 +0100

On Tue, Nov 12, 2024 at 08:07:45PM +0000, stefan11111 wrote:
> Not really related to what was discussed earlier,
> but I thought I might find someone who can help me with this here.
>
> I have this script for starting Xfbdev and running my .xinitrc:
>
> ```
> #!/bin/sh
>
> export DISPLAY=${DISPLAY:-:0}
> trap "$HOME/.xinitrc" USR1
>
> (
> trap '' USR1
>
> exec /usr/bin/Xfbdev -screen 1920x1080 :0 vt1
> ) &
>
> wait
> ```
>
> This script works fine, except when I kill dwm with alt + q.
> Instead of killing the X server along with dwm, the X server freezes and
> I have to telnet in
> from another device to kill it, by running pkill Xfbdev.
>
> Does anyone know how to improve the above script to get it to kill X
> after I kill dwm?

Well, that's what xinit is for, isn't it?

-- 
Storkman
Received on Wed Nov 13 2024 - 01:02:49 CET

This archive was generated by hypermail 2.3.0 : Wed Nov 13 2024 - 01:12:09 CET