Linux Map a remote key for a single button toggle between profiles
#1
I read on the keymap wiki that one can map "LoadProfile(profilename,[prompt])" to a key press. I would like to map a button on my remote to a general profile toggle, wherein pressing it simply toggles between the master user and user1 which I created. Is this possible?
Need help programming a Streamzap remote?
Reply
#2
I think it should be possible.
You'd need a keymap in the main profile that points to the second profile
eg <key>LoadProfile(user1)</key>

And then another keymap in the second profile for the same key, pointing back.
eg<key>LoadProfile(Master User)</key>

I think that would work. Mebbe.
Reply
#3
I thought about this method, but I would like to have a simple toggle (master-->user1-->master-->user1--> ...) mapped to a single button. Maybe possible with a python script?
Need help programming a Streamzap remote?
Reply
#4
Eh? That gives you a simple toggle mapped to one button.
You press the same key, it performs a different action in each profile.
Reply
#5
<HEADSMACK> I was thinking global config but you're right that each profile could point to the other proflie... I will try it, thank you!
Need help programming a Streamzap remote?
Reply
#6
Good luck.
Reply

Logout Mark Read Team Forum Stats Members Help
Map a remote key for a single button toggle between profiles0