Resolution Quick-Change for Games in Linux
I play the odd game or two under Linux and some games really, really hate running on a dual-screen system (using Nvidia TwinView), Either getting the resolutions completely screwed or having their windows or fullscreens positioned on one screen or the other, but the content of those windows pushed to the centre of dual-desktop meaning half the game is missing. The same thing occasionally happens only with mouse input in these games, rather than the graphics, so I can’t move the mouse past the invisible divide.
Anyway, fed up with this and wanting a simple one-click solution I knocked up a shell script that I run from a button on my panel. First of all, I did a simple toggle with xrandr, but found I’d occasionally accidentally click it and switch res, annoying the hell out of me so I knocked up a slightly less automatic version. It uses zenity to give me a choice of one of two resolutions (a single screen one or my dual-screen one) and then uses xrandr to apply the changes. I would just use the Monitors app, but it complains about not supporting the driver and I just wanted something click and simple (the Monitors app is slow to start, plus that annoying not-supported dialogue adds an additional click).
Here is the script:
jade 8:03 pm on August 7, 2010 Permalink
look i know ive said about it may be fibromyalia before, and ibs comes with that disorder alot.
gabapentan or pregabalin are good for pain despite wht they are actually used for, i used to be on them and it helped me abit.
maybe ask about them?
also there are many anti depressents that help with sleep issues and pain, ive also had them in the past, amytripiline is one of the most well known.
i dont mean to intrude in your life or be noisy i just thought id give you aome of my ideas, ive left messeges on your facebook page and lauras saying hi or how are you but you both havnt replied.
if you wish not to be my friend, or whatever we are, maybe just aquaintaiances, id wish you would tell me and not just egnore me, if that is the case then thats fine i understand just let me know.
or if not just tell me to mind my own bussiness with your health.
anyway hope soon youll have an answer, it took aaages for me and i felt like just wanting it to end and i questioned my sanety, but there will be an answer oneday.
-jade
Dark Liquid 10:51 am on August 8, 2010 Permalink
The amitriptyline seems to be doing the trick for the most part so I think I’m more or less fine meds-wise. I’ve got a doctors appointment some time next week hopefully, so I’ll have a word with the doctors then, based on the follow up.
As for ignoring you – sorry, I tend to rarely read facebook – all my posts there come from various third party tools and so I’m very rarely on the site at all to read comments, etc. You’re probably best off emailing me if you want a response, since I tend to check my emails all the time on my phone.
jade 10:26 pm on August 14, 2010 Permalink
ah ok will do.
i know we dont hang and w arnt really friends anymore since everyone went there seperate ways, but now you and laura are in touch with greg and dan again, i wonder sometimes if it was my fault, i know sometimes ppl thought me and james were bad for the group.
but i would like to stay in touch if thats ok, not just because you may have what i have and i want to help with that all i can, but because i would just like to keep in touch.
ive sometimes wondered if i could maybe join your roleplaying group again, but i bet i woudnt fit in and you are far away and i may just end up doing what i always do and not being reliable.
i read your blog all the time, when there is an update anyway, i try read lauras aswell but she hasnt updated in aages, i dont know if any of you read mine still i know monkey used to but like i say everyone is moving on in life.
anyway ranting now.
hope you get some answers to whats up with you