On jeu., 2016-04-07 at 00:58 -0700, Erik Haller wrote: > All I can say is that xfce4 was using monitorDVI-0 and then switched to > monitor0. I had to move my settings from monitorDVI-0 to monitor0. I've crafted the attach gtk/gdk program which indeed returns no monitor name here. Can you try it on both xorg version and report back? Regards, -- Yves-Alexis
#include <stdio.h> #include <stdlib.h> #include <gdk/gdk.h> /* build with * gcc -W gmonitor.c -o gmonitor $(pkg-config --cflags --libs gdk-2.0) * */ int main(int argc, char* argv[]) { gdk_init(&argc, &argv); GdkScreen *screen = gdk_screen_get_default(); for (int i = 0; i < gdk_screen_get_n_monitors(screen); ++i) { gchar *name = gdk_screen_get_monitor_plug_name(screen, i); printf("monitor %d name: %s\n", i, name); } return 0; }
Attachment:
signature.asc
Description: This is a digitally signed message part