Ubuntu 14.04 x86_64: How to unblock desktop keyboard shortcuts?

Hi,

PHT on Linux (Ubuntu 14.04 x86_64) does not permit the use of any of desktop keyboard shortcuts, like Alt-Tab for example. Is there a way to unblock this behaviour?

 

I want to be able to switch between speakers and headphones. On the desktop and XBMC I am able to use custom keyboard shortcuts.

 

On PHT I have tried using System.Exec in keyboard.xml but this method is not usable, PHT changes to windowed presentation and becomes unstable. Python scripts execution (like XBMC.RunScript) would not behave like this, but it is not supported in PHT. PHT supports a similar function (Plex.RunScript), but this function is only for AppleScript. I cannot see any other function to try it this way.

 

The keyboard shortcuts at system level seem to be the solution, but are blocked. So I was wondering if this is something that can be easily changed in PHT code or in a setting.

 

(LIRC could be a possible solution, but I have no IR Remote and cannot try...)

 

TIA, md.

No replies, so I assume I am the only one in need for this feature…

What wonders me is that this is not the behaviour in XMBC and Plex is based on it, and that this is also not the behaviour of Plex HT on mac neither.

My current solution is, as expected, LIRC. I am now using an IR remote with help of irexec. It is important to set the remote as a LIRC device and not as keyboard.

I'm running the same version of Ubuntu and having the same issue--I am trying to use a keyboard shortcut to switch from plex home theater to chrome-browser in kiosk mode to watch netflix, but as you said the Ubuntu desktop keyboard shortcuts (which work in most other apps) don't work in PHT.

Can you please fill me in on some details of your workaround?  I am using an IR remote with the flirc usb dongle, but I believe flirc converts the IR into keyboard presses, which PHT blocks (if they are not plex keyboard shortcuts).  It sounds like I should get another USB IR receiver and use flirc and irexec to run the shell commands I'm trying to execute--effectively going behind PHT's back.  Is that right?  Any suggestions on getting that set up?  I have never used LIRC before, just FLIRC.

Thanks!

I am using a remote called New HP USB MCE Remote, sold by a Chinese company called EasyBuyEUR (in Europe) and EasyBuyUS (in US) at Amazon Marketplace.

FLIRC emulates a keyboard and I had no success using my remote as keyboard, so I cannot provide the solution for a keyboard device. I am using a Harmony 525 remote and I was not able to get the MCE Keyboard profile to work correctly with it, but I am actually OK without this profile. All my configuration happens in the Lircmap.xml file and in case of Kodi (former XBMC) I also had to make few changes to remote.xml.

I define the desired action in .lircrc and irexec executes it.

If you need more details let me know!

[Removed]

Keep an eye on this project https://forums.plex.tv/topic/130752-project-openpht-v01-beta/ There is no Linux beta yet, but the author promised one.

I am using a remote called New HP USB MCE Remote, sold by a Chinese company called EasyBuyEUR (in Europe) and EasyBuyUS (in US) at Amazon Marketplace.

FLIRC emulates a keyboard and I had no success using my remote as keyboard, so I cannot provide the solution for a keyboard device. I am using a Harmony 525 remote and I was not able to get the MCE Keyboard profile to work correctly with it, but I am actually OK without this profile. All my configuration happens in the Lircmap.xml file and in case of Kodi (former XBMC) I also had to make few changes to remote.xml.

I define the desired action in .lircrc and irexec executes it.

If you need more details let me know!

So are you saying that you can switch between desktop and plex?

So are you saying that you can switch between desktop and plex?

Nope, no, I am not saying this, sorry if you misunderstood. I am able to send commands thru LIRC, this is what I needed, to run commands in the system during PHT playback, without leaving it. In my experience PHT tends to switch to windowed presentation and becomes unstable. This is because PHT has also removed support for it. But this were initial tests I did using keyboard shortcuts.

I do not really need to switch to desktop at all. If you explain me what you want to accomplish I might be able to help.

Did you check Open PHT? This project aims at returning features that have been removed in PHT, and one thing that XBMC supports is system keyboard shortcuts.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.