6

I use Synergy to control both of my desktops from the same keyboard and mouse. Is there a way to send Alt+Ctrl+F1 (or related combinations) to the client desktop using Synergy?

I tried using the suggestion below, but got:

$ chvt 1
Couldn't get a file descriptor referring to the console

Other ideas? I would still prefer a way to send the actual keystrokes over synergy, but if that's not possible, a work around that works will be accepted.

chicks
  • 572
  • 8
  • 24
David Oneill
  • 12,044
  • 15
  • 56
  • 71

2 Answers2

2

You need to run:

sudo chvt 1

Changing virtual tty's requires administrative privileges.

Jjed
  • 13,714
  • 10
  • 63
  • 91
  • Ah. This did switch terminals. HOWEVER, synergy stops working. With a little digging, this is because synergy requires X, so it *can't* work in a non-X environment, like one of the other virtual TTY's... Thanks for your answer! – David Oneill May 12 '12 at 17:32
1

I don't know Synergy, but...

I guess with Alt+Ctrl+F1 you intend to switch from the X-Screen to the console. First guess for synergy: that will not work. But to answer that particular: you can open up a terminal on the computer you want to invoke Alt+Ctrl+F1 and enter

chvt 1

to change to virtual terminal number 1.

chicks
  • 572
  • 8
  • 24
Tobias
  • 43
  • 3