Forums

Start and Stop Script

League of Legends Alt Key On / Off

Auteur Réponses
Veqeta Samedi 3 Octobre 2015 à 0:44
VeqetaAnonymous

Hi Everyone,

Iam super new with PlayOnLinux but iam a software engineer and familiar with the basics off shell scripting.

My Question is, after i installed League of Legends for Example. Can i execute scripts before the game start and after the game closed ? 

 

My Problem is for league of Legends i cant use the ALT-Key because of the XServer if i press ALT and right mouseclick the minimenu opens all the time. So i googled for a Workaround. I can modify the xserver keybindings that the ALT key will rush into NULL. But if i close League of Legends i want this Workaround be disabled by modify the xserver config again to standard. 

Sry for my bad english, at school i was more the math lover :P ... ok love is overestimated but languages are a horror :D

Thx for reply <3

 

petch Samedi 3 Octobre 2015 à 12:02
petch

Hi,

You can try modifying LoL shortcut (~/.PlayOnLinux/shortcuts/League of Legends) to add statements around the POL_Wine line.

If this statement is synchronous when launching LoL then that should be enough, otherwise you'll also have to add some POL_Wine_WaitExit "$TITLE" right after the POL_Wine line so your next statements are not executed before LoL ends...

Veqeta Samedi 3 Octobre 2015 à 12:57
VeqetaAnonymous

Very nice answer, well then i will work on a script next Days to improve LOL gaming expirience ;)

Ok and one last answer, is there an option in Wine which allows to disable all action handlers of the System that only the Wine executed programm will recognize. If there is a option like this it would be the fastest way. Well i dont think there is any but maybe :P.

Or something familiar option.

Veqeta Samedi 3 Octobre 2015 à 13:03
VeqetaAnonymous

Ah and what i found out, its not only the ALT-Key what is cancel the programm sometimes. Its also if i play a round lol and do some absolute wildfire rightclicks sometimes the desktop rightclick menu open.

I also configured that League of Legends starts in an own Desktop overlay but no chance the unity Desktop react.

Or will this second Desktop be deactivated in background while playing in FullScreen mode ?

Many questions i know :P

Thx for reply :)

petch Samedi 3 Octobre 2015 à 15:54
petch

The only things I'm aware you can disable in Wine are "Allow the window manager to decorate the windows" and "Allow the window manager to control the windows" (Right-click on game shortcut > Configure Wine > Graphics tab). But I'm not sure it'll have any effect of keyboard shortcuts, nor what side effects you may experience.

Most likely you'll want to check the settings in your window manager instead (you were talking of the X server in your first message, but that's not the same thing), and at that point it depends on the window manager you're running.

Veqeta Mercredi 7 Octobre 2015 à 1:03
VeqetaAnonymous

Yes i already checked these settings, but thats no solution. Well i think i have to manipulate the windows manager and whatever else. I will do that when i have time for it and repost my solution.

Thx for help :) cya

This site allows content generated by members, and we promptly remove any content that infringes copyright according to our Terms of Service. To report copyright infringement, please send a notice to dmcayonlinux.com