You are not logged in.

#1 2010-10-30 17:34:21

RiceKills
Member
Registered: 2010-05-31
Posts: 72

[SOLVED] Switch x displays with script instead of ctrl-alt fx

Hi, I am looking for a way to switch x displays on a computer without using the keyboard. Is this possible with a bash script of some sort?

EDIT: I found chvt but that only works from a tty, running sh chvt X doesn't work from a terminal emulator.

EDIT2: SOLVED: read this http://superuser.com/questions/69807/wh … ot-under-x

Last edited by RiceKills (2010-10-30 18:27:56)

Offline

#2 2010-10-30 18:19:21

m0nhawk
Member
Registered: 2010-01-15
Posts: 25

Re: [SOLVED] Switch x displays with script instead of ctrl-alt fx

chvt command maybe what you need.

Offline

Board footer

Powered by FluxBB