LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 07-04-2017, 02:41 PM   #1
linuxhippy
Senior Member
 
Registered: Sep 2004
Location: Philadelphia, PA
Distribution: Xubuntu, Mythbuntu, Lubuntu, Picuntu, Mint 18.1, Debian Jessie
Posts: 1,207

Rep: Reputation: 47
Cool USB KVM hotkey switching


I found something out last night by accident. I've been using KVM (Keyboard/Video/Mouse) switches since they were serial ports. Now the ones I have are USB but I've had them for years and could usually not get the hotkey (Num Lock pushed 2-3 times for this case). They are convenient so that u can have multiple computers running at the same station and they all share the same keyboard, video and mouse. Most have a hardwired button u can use in addition to the hotkey switching so I use that till now. Last night I had a Nano Pi M1 Plus running with my desktop pc. The Nano Pi is running Debian with LXDE and OpenBox. The desktop is running Mint Linux 18.1 with Cinnamon.

Just for kicks, when I was in the Nano Pi I pressed Num Lock 2-3 times to see if it would switch and it did. However, when it got to Cinnamon it was again stuck and I had to use the hardwired button to switch to the Nano Pi. I saw a pattern here so I updated Mint to use LXDE and OpenBox and now that hotkey combo works on both computers.

The KVM I was using is a TrendNet TK-207K that I bought 7 years ago but is still available on Amazon:

https://www.amazon.com/gp/product/B0...?ie=UTF8&psc=1

Hope this helps somebody! Probably only LXDE is needed.

Now that I think about it, this KVM used the Scroll Lock button as a hotkey but my keyboard now doesn't have that. I'm using a wireless Logitech EX110 keyboard & mouse USB combo.

Oh, just in case somebody buys one of the Trendnet KVMs-they are old and the video wants a VGA plug. I have a HDMI to VGA adapter but maybe they make these with HDMI now because the adapter doesn't always provide a good image.

Here is the apt-get way I installed LXDE in Mint 18.1 which is should work in Ubuntu:

Code:
sudo apt-get install lxde evince-gtk libfm-tools nautilus-actions libreoffice lxlauncher lxtask update-notifier xfce4-power-manager lxsession menu arj lhasa rar rpm unar alsamixergui clipit gnome-mplayer gnome-system-tools lxmusic lxpolkit usermode xscreensaver p7zip-full

Last edited by linuxhippy; 07-04-2017 at 03:52 PM.
 
Old 07-05-2017, 08:27 AM   #2
flshope
Member
 
Registered: Jul 2009
Location: Tennessee (United States)
Distribution: Debian 11.6, Ubuntu 22.04.2, 18.04.6, Android 11
Posts: 236
Blog Entries: 44

Rep: Reputation: 80
As a KVM switch user myself, I appreciate your post and for taking the time to tell about your experience. I've gone through several switches, too, mostly because of connector issues with new machines and hot key compatibility. I abandoned my last switch because it used the control key as a hot key, which interfered intolerably with some applications like NEdit and Emacs; and there was no option to alter or disable the hotkeys.

I have a blog post at:

http://www.linuxquestions.org/questi...witches-36505/
 
Old 07-05-2017, 03:30 PM   #3
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,993

Rep: Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628
I've seen ctrl-ctrl-#, scroll lock-scroll lock, both shift + number, and ones that use ctrl-ctrl then a menu to arrow up or down. Bet there are others out there.

Long time ago I had learned to buy the ones that suggest they work with linux. They tend to do better.
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] KVM Switch HotKey does not work mbsmo Linux - General 1 07-10-2010 01:12 AM
Change console hotkey for switching terminals hammil Red Hat 2 03-17-2009 12:54 AM
kvm : usb (?) switching problems DBabo Linux - Hardware 1 03-02-2008 10:32 PM
Belkin Omniview KVM DVI with USB stops responding when switching back to SuSE Pitcher Linux - Hardware 3 03-15-2006 09:05 AM
Switching users during bootup with hotkey?? BajaNick Linux - Software 2 11-21-2003 09:58 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 06:35 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration