You are not logged in.
I'm running plasma as main de via lightdm, and I want to have a light wm on another tty. I did this with the help of wiki, but I want to disable th 2nd monitor on that tty. I've tried to use a different xorg.conf file but seems that is ignored and the 2nd monitor is still enabled. After a lot of search I read somewhere that the dm can reset the setting. So I tried to use xrandr in .xinitrc to disable it before start the wm. This way works, but there is an annoying issue. The screen stays blank and only the cursor is visible. If I switch to another tty and swich back, this issue is gone. I'm using evilwm, but I tried with jbwm and openbox also, and in all happens the same. So seems that is not related to the wm.
this is my .xinitrc:
if [ -d /etc/X11/xinit/xinitrc.d ] ; then
for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do
[ -x "$f" ] && . "$f"
done
unset f
fi
# Here Xfce is kept as default
session=${1:-xfce}
case $session in
awesome ) exec awesome;;
bspwm ) exec bspwm;;
catwm ) exec catwm;;
cinnamon ) exec cinnamon-session;;
dwm ) exec dwm;;
enlightenment ) exec enlightenment_start;;
ede ) exec startede;;
evilwm ) /usr/bin/xrandr --output HDMI-0 --off &
/usr/bin/xrandr --output DVI-D-0 --right-of HDMI-0 --auto &
/usr/bin/xfce4-terminal -e steam2vt &
exec evilwm -term xfce4-terminal;;
fluxbox ) exec startfluxbox;;
gnome ) exec gnome-session;;
gnome-classic ) exec gnome-session --session=gnome-classic;;
i3|i3wm ) exec i3;;
icewm ) exec icewm-session;;
jwm ) exec jwm;;
kde ) exec startkde;;
mate ) exec mate-session;;
monster|monsterwm ) exec monsterwm;;
notion ) exec notion;;
openbox ) /usr/bin/xrandr --output HDMI-0 --off &
/usr/bin/xrandr --output DVI-D-0 --right-of HDMI-0 --auto &
exec openbox-session;;
unity ) exec unity;;
xfce|xfce4 ) exec startxfce4;;
xmonad ) exec xmonad;;
# No known session, try to run it as command
*) exec $1;;
esacDo I need to change or add something else?
Last edited by zaxdan69 (2018-08-24 08:42:50)
Offline
I answer myself, because I have more information and I found why this happens. It is because of mouse pointer. The mouse pointer is by default(before I use the mouse at all) on the monitor I want to disable, and seems that this causes the issue. I tried to disable the other monitor(this which I use as main monitor), for testing and I haven't that issue there.
This happens and in plasma but it didn't bothered me much until now because both monitors display the desktop and I just need to move the mouse pointer to the monitor I use.
So the problem is the mouse pointer position which is by default on the 2nd monitor. Is there any way to fix this?
Offline