Hey, we have forums!

Author Topic: Slow mouse (Linux)  (Read 11327 times)

0 Members and 2 Guests are viewing this topic.

Offline ZereoX

  • Mini Bit
  • **
  • Posts: 5
    • View Profile
Slow mouse (Linux)
« on: May 07, 2010, 03:01:56 pm »
I just got a hold of the Humble indie Bundle but when I play Aquaria, the mouse is slow as if the sensitivity was at 2-3. Is there a way to increase sensitivity trough the game itself?

Offline Alec

  • Administrator
  • Dream Bit
  • **********
  • Posts: 2211
    • View Profile
Re: Slow mouse (Linux)
« Reply #1 on: May 08, 2010, 06:36:05 am »
I think there may be a modifier value in the user settings xml file. I'm not sure where that's stored in the Linux version (Ryan C Gordon did the port, not myself!) but it's probably hidden in your user folder somewhere. :)

Offline Dacke

  • Mini Bit
  • **
  • Posts: 2
    • View Profile
Re: Slow mouse (Linux)
« Reply #2 on: May 10, 2010, 09:39:49 pm »
I have the same problem on Ubuntu 10.04, 64-bit. Both in fullscreen and windowed mode.
I have a fairly powerful computer with 4GB RAM, 3.3GHz dual core CPU, 512MB GPU.
I'm not sure if it could factor in, but I have a pretty big screen (1920*1080). Is it possible the game tries to calculate something based on the native resolution and somehow messes up?

Below are the user settings I could find in the Aquaria folder. I tried changing <JoyCursorSpeed v="900.000000" /> to <JoyCursorSpeed v="3000.000000" /> but I couldn't notice any difference.

usersettings.xml
Code: [Select]
<Version settingsVersion="1" />
<System>
    <DebugLog on="1" />
</System>
<Audio>
    <Mic on="0" octave="0" />
    <Volume sfx="1.000000" vox="1.000000" mus="1.000000" subs="1" />
    <Device name="" />
</Audio>
<Video>
    <Shader num="0" />
    <Blur on="0" />
    <NoteEffects on="0" />
    <FpsSmoothing v="30" />
</Video>
<Control>
    <AutoAim on="1" />
    <Targeting on="1" />
    <JoystickEnabled on="1" />
    <JoyCursorSpeed v="900.000000" />
    <JoyAxes s1ax="0" s1ay="1" s2ax="4" s2ay="3" s1dead="0.300000" s2dead="0.300000" />
    <ActionSet>
        <Action name="lmb" input="MOUSE_BUTTON_LEFT KEY_SPACE 0 JOY_BUTTON_0 " />
        <Action name="rmb" input="MOUSE_BUTTON_RIGHT KEY_LCONTROL 0 JOY_BUTTON_1 " />
        <Action name="PrimaryAction" input="MOUSE_BUTTON_LEFT KEY_SPACE 0 JOY_BUTTON_4 " />
        <Action name="SecondaryAction" input="MOUSE_BUTTON_RIGHT KEY_LCONTROL 0 JOY_BUTTON_5 " />
        <Action name="SwimLeft" input="0 KEY_A KEY_LEFT 0 " />
        <Action name="SwimRight" input="0 KEY_D KEY_RIGHT 0 " />
        <Action name="SwimUp" input="0 KEY_W KEY_UP 0 " />
        <Action name="SwimDown" input="0 KEY_S KEY_DOWN 0 " />
        <Action name="Revert" input="0 KEY_X 0 JOY_BUTTON_2 " />
        <Action name="Roll" input="0 KEY_R 0 0 " />
        <Action name="WorldMap" input="0 KEY_Q 0 JOY_BUTTON_6 " />
        <Action name="Escape" input="0 KEY_ESCAPE 0 JOY_BUTTON_7 " />
        <Action name="SongSlot1" input="0 KEY_1 0 0 " />
        <Action name="SongSlot2" input="0 KEY_2 0 0 " />
        <Action name="SongSlot3" input="0 KEY_3 0 0 " />
        <Action name="SongSlot4" input="0 KEY_4 0 0 " />
        <Action name="SongSlot5" input="0 KEY_5 0 0 " />
        <Action name="SongSlot6" input="0 KEY_6 0 0 " />
        <Action name="SongSlot7" input="0 KEY_7 0 0 " />
        <Action name="SongSlot8" input="0 KEY_8 0 0 " />
        <Action name="SongSlot9" input="0 KEY_9 0 0 " />
        <Action name="SongSlot10" input="0 KEY_0 0 0 " />
        <Action name="PrevPage" input="0 KEY_A KEY_LEFT JOY_BUTTON_4 " />
        <Action name="NextPage" input="0 KEY_D KEY_RIGHT JOY_BUTTON_5 " />
        <Action name="CookFood" input="0 KEY_W KEY_UP JOY_BUTTON_3 " />
        <Action name="FoodRight" input="0 0 0 0 " />
        <Action name="FoodLeft" input="0 KEY_S KEY_DOWN JOY_BUTTON_2 " />
        <Action name="Look" input="MOUSE_BUTTON_MIDDLE KEY_E 0 0 " />
        <Action name="ToggleHelp" input="0 KEY_H KEY_F1 0 " />
    </ActionSet>
</Control>
<Demo>
    <WarpKeys on="0" />
    <Intro2 on="1" />
    <ShortLogos on="0" />
</Demo>
<Data savePage="0" lastSelectedMod="0" />

Edit:
There is a usersettings.xml in the installation folder (~/aquaria by default).
There is also a usersettings.xml in ~/.Aquaria/preferences
« Last Edit: May 10, 2010, 09:51:00 pm by Dacke »

Offline Alec

  • Administrator
  • Dream Bit
  • **********
  • Posts: 2211
    • View Profile
Re: Slow mouse (Linux)
« Reply #3 on: May 10, 2010, 11:37:46 pm »
I didn't work on the Linux version directly, but I imagine the one in the preferences folder is what's actually getting used.

Offline Dacke

  • Mini Bit
  • **
  • Posts: 2
    • View Profile
Re: Slow mouse (Linux)
« Reply #4 on: May 11, 2010, 12:33:40 am »
Indeed. But I had no luck with the JoyCursorSpeed there, either.

Offline ZereoX

  • Mini Bit
  • **
  • Posts: 5
    • View Profile
Re: Slow mouse (Linux)
« Reply #5 on: May 11, 2010, 03:52:07 am »
Same. I did post a Error report.

Offline kolAflash

  • Mini Bit
  • **
  • Posts: 2
    • View Profile
Re: Slow mouse (Linux)
« Reply #6 on: June 22, 2013, 03:28:34 am »
Workaround:
Use the game in window-mode. Then press CTRL-G after fully staring the game. Now you get the mouse speed adjusting by the settings for your desktop environment. If you don't have an environment which gives you such options (KDE does for example), use this commands:

This shows the current mouse acceleration:
xset q | grep -A 1 Pointer

This sets the mouse acceleration:
xset m $acceleration $threshold
Replace $acceleration with a fraction like 4/1 or 8/1 and the $threshold with something like 1 or 8. Here you can find more information about that:
https://wiki.archlinux.org/index.php/Mouse_acceleration#Using_xset

If you like to maximize the window and keep in in front of your GNOME/Unity/KDE/LXDE/XFCE taskbar check your window managers possibilities. For example the KDE window manager offers some persistent settings for this, if you right-click on the window border.