Veqeta |
Samedi 3 Octobre 2015 à 0:44
|
Veqeta![Anonymous](https://www.playonmac.com/images/anonymous.png)
|
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![](http://ks369561.kimsufi.com/~petchema/gfx/spaceinv1.png)
|
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
|
Veqeta![Anonymous](https://www.playonmac.com/images/anonymous.png)
|
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
|
Veqeta![Anonymous](https://www.playonmac.com/images/anonymous.png)
|
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![](http://ks369561.kimsufi.com/~petchema/gfx/spaceinv1.png)
|
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
|
Veqeta![Anonymous](https://www.playonmac.com/images/anonymous.png)
|
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
|