Mousestroke and keystroke delays - what's causing them?
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Mousestroke and keystroke delays - what's causing them?
I have installed GAIM and Firefox and both work fine.. except for one extremely annoying problem.
In GAIM there is a keystroke delay - every keystroke takes a quarter-second or so to register, which makes typing fast all but impossible.
And in Firefox there is a mousestroke delay. Every operation performed with the mouse - i.e. clicking and manipulating menus and buttons - takes a half-second or so to register. Scrolling down the bookmarks menu is so slow and unreactive that I have started to just trying remembering addresses instead.
What could be causing these little delays? RAM perhaps (there's definitely not enough of it)?
The thing is, there's no delay in other applications, like Konqueror, or even OpenOffice.
Is it something to do with interrupt requests or something?
Ah, that might be the problem. I had this happen on a SuSE box once. If your box's current hostname (type "hostname") is not listed in your /etc/hosts file like:
Code:
127.0.0.1 localhost your_hostname_here
, it can cause some really long laggy delays in many apps.
Originally posted by visaris Ah, that might be the problem. I had this happen on a SuSE box once. If your box's current hostname (type "hostname") is not listed in your /etc/hosts file like:
Code:
127.0.0.1 localhost your_hostname_here
, it can cause some really long laggy delays in many apps.
Give it a try maybe?
Changed it to
Code:
127.0.0.1 linux
. No difference unfortunately, but thanks for the suggestion.
Tinkster, the hardware we're looking at is now in my sig below. Yes it's rubbish I know, but I can't afford to upgrade right now and I just don't have the expertise or time to try a slimmer distro like this Slackware.
I would just like to know why I get this maddening lag problem in Firefox and GAIM and not in other applications, including hefty ones like OpenOffice. A bit of hard-drive chugging is to be expected when you have too little RAM, but this...
Maybe I've described this problem badly... does anyone know what I'm talking about here?
I'll try again. In Firefox I click on "Bookmarks". There is a half-second delay before "Bookmarks" lights up, then another half-second before the menu appears. Same goes for hovering over menu items, changing tabs and indeed anything else that you typically do all the time in Firefox. There is no hard-drive activity and the lag time is constant however many programs are open.
In Konqueror and OpenOffice and other programs this doesn't happen.
I guess it must be just program architecture, and tough luck to me with my slow computer.
I wasn't actually suggesting that you need new
hardware ... it's just that these two are GTK apps
(quite likely linked against some gnome-stuff as
well) which means that you're getting strange
reaction times. I'd still love to see the output
(particularly the first 5 lines) of top on that box.
Besides that you may want to look at
~/.xsession-errors after having run them, there
may very well be diagnostic information in there,
and also see what goes on in a shell if you fire
them up from there ...
xset: bad font path element (#59), possible causes are:
Directory does not exist or has wrong permissions
Directory missing fonts.dir
Incorrect font server address or syntax
xset: bad font path element (#59), possible causes are:
Directory does not exist or has wrong permissions
Directory missing fonts.dir
Incorrect font server address or syntax
xset: bad font path element (#59), possible causes are:
Directory does not exist or has wrong permissions
Directory missing fonts.dir
Incorrect font server address or syntax
xset: bad font path element (#59), possible causes are:
Directory does not exist or has wrong permissions
Directory missing fonts.dir
Incorrect font server address or syntax
ksplash: WARNING: KGenericFactory: instance requested but no instance name passed to the constructor!
kbuildsycoca running...
KAmix session mode disabled.
KAmix should be started from startkde.
konqueror: WARNING: KGenericFactory: instance requested but no instance name passed to the constructor!
kio (KMimeType): WARNING: KServiceType::offers : servicetype text/english not found
kio (KMimeType): WARNING: KServiceType::offers : servicetype text/english not found
konqueror: WARNING: KGenericFactory: instance requested but no instance name passed to the constructor!
QClipboard::setData: Cannot set X11 selection owner for PRIMARY
X Error: BadWindow (invalid Window parameter) 3
Major opcode: 20
Minor opcode: 0
Resource id: 0x1c01af5
X Error: BadWindow (invalid Window parameter) 3
Major opcode: 20
Minor opcode: 0
Resource id: 0x1c01af5
X Error: BadWindow (invalid Window parameter) 3
Major opcode: 20
Minor opcode: 0
Resource id: 0x1c01af5
konqueror: WARNING: KGenericFactory: instance requested but no instance name passed to the constructor!
konqueror: WARNING: KGenericFactory: instance requested but no instance name passed to the constructor!
kio (KIOConnection): ERROR: Header read failed, errno=104
kio (KIOConnection): ERROR: Header has invalid size (-1)
kio (KIOConnection): ERROR: Header read failed, errno=104
kio (KIOConnection): ERROR: Header has invalid size (-1)
kio (KLauncher): ERROR: SlavePool: No communication with slave.
kio (KIOConnection): ERROR: Header read failed, errno=104
kio (KIOConnection): ERROR: Header has invalid size (-1)
kio (KIOConnection): ERROR: Header read failed, errno=104
kio (KIOConnection): ERROR: Header has invalid size (-1)
kio (KLauncher): ERROR: SlavePool: No communication with slave.
See anything suspect?
Tried running Firefox directly from shell but got "Gtk-warning ** cannot open display"
As I understand it, GTK is a resource-hogging subsystem used by Firefox to control buttons and menus etc, and slowing them down on slow computers? Any way round it?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.