Create an account

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[SOLVED] mouse and kb freezes (script related?)

So the last few times I've played, I get intermittent freezes of my controls. When they come back, my mouse sens is all screwed up. My logitech mouse has 3 dpi settings, of which I use the highest in normal gameplay. After one of these freezes, that setting is too high, and the middle one seems too low. I suspect that this has something to do with a script that I've been running with Nexuiz (for about a year or more), which helps integrate my Logitech g15 keyboard. The reason I think this, is because the freeze/unfreeze is accompanied by the backlight coming on. Here is the script.
#! /bin/sh

[ -x "`which aoss`" ] && aoss=aoss
if [ -x "`which gnome-screensaver-command`" ]; then
   gnome-screensaver-command -i &

loadkeys -c -u -s us
setxkbmap -symbols "pc(pc105)+us"


g15macro &
mpid = $!

$aoss "$@"
[ -n "$inhibit" ] && kill $inhibit

kill $mpid

xgamma -gamma 1
setxkbmap -symbols "pc(pc105)+us(intl)+group(alts_toggle)"
loadkeys -c -u -s us-intl.iso15

does anyone else have this keyboard? Or just give me a clue as to why it's acting up just now? Thanks.

First of all, you should not be using aoss at all.
Secondly, inhibit=$? should be inhibit=$!
Thirdly, loadkeys? WHY?

And aoss may actually be causing such issues...
BRLOGENSHFEGLE (core dumped)

The Bot Orchestra is back! | Xoylent Easter Egg | 5bots1piano
My music on Google Play and SoundCloud

Thanks for the reply! Someone kindly wrote this script for me, so I am not familiar with the inner workings. I replaced the ? with !, but could you tell me more about why not to use aoss, and what alternative I can apply to this script? As for loadkeys, I don't know what that does... but perhaps it is so that I can make use of the extra keys on this keyboard? Does it make sense that aoss would just now cause such issues, after no problems for so long? Some update broke something maybe? Thanks again, div!


After some testing, I'm pretty sure it's my psu. I've known that it's not strong enough, and I guess it's really showing it now!

Possibly Related Threads…
Thread Author Replies Views Last Post
  [BUG] Dropping mouse input FPS Null 1 330 04-29-2023, 08:06 AM
Last Post: bones_was_here
  [NEED HELP] My mouse binds do not work in GLX? FAF 5 1,113 07-29-2022, 08:39 AM
Last Post: FAF
  [NEED HELP] Menu freezes when typing server address, old bug? MeLikeyTacos 2 1,313 10-21-2021, 09:59 PM
Last Post: MeLikeyTacos
  USB Mouse input on Linux dagelf 1 2,084 10-07-2020, 06:14 PM
Last Post: BuddyFriendGuy
  [NEED HELP] Menu freezes falco 2 2,396 11-25-2017, 06:45 AM
Last Post: falco
  [SOLVED] Random failures to register mouse input Halogene 2 2,468 06-15-2017, 01:04 PM
Last Post: Halogene
  [NEEDS INFO] Menu mouse cursor stuck in invisible box nAnXiety 1 2,932 09-16-2016, 03:30 PM
Last Post: martin-t
  [SOLVED] I can only play 1 match, then Xonotic freezes. Brot 11 6,201 08-02-2016, 08:48 AM
Last Post: Brot
  [NEEDS INFO] mouse lag mumin 3 3,205 03-17-2016, 05:29 AM
Last Post: Maddin
  [SOLVED] Mouse limited to reduced area at higher resolutions / DPI Ishatix 5 6,281 03-14-2015, 06:54 AM
Last Post: Mr. Bougo

Forum Jump:

Users browsing this thread:
1 Guest(s)

Forum software by © MyBB original theme © iAndrew 2016, remixed by -z-