General :: How To Get Keyboard And Mouse Idle Times
May 20, 2011How to get the idle time of keyboard and mouse in linux?
View 2 RepliesHow to get the idle time of keyboard and mouse in linux?
View 2 Replieswhile doing FTP through command prompt, connections times out after some time remaining idle, but doing ftp through browser, connection doesn't time out after some time remaining idle... why is it so?
View 2 Replies View RelatedSuppose I am almost sure that from last Thursday, 3.00pm up to the same day at 10.00pm I was away from the machine, but not absolutely sure. Linux probably knows better than me. Maybe there will be a text file from which I could infer the keyboard was idle from Thu 2.40pm up to 11.10 pm. In this case, I would reach absolute certainty. But where could such file be in the /. tree or what could its name be (for in the latter case an updatedb followed by locate would do)?
View 4 Replies View RelatedWhen I run top d 0.5 on my machine and I press 1 to enable the SMP View, I notice that all of the CPUs keep toggling between 100%idle and 0% idle.
The odd part is that when a CPU goes to 0.0% idle, I would expect to see one or more of the other columns peek, but they are not.
What is causing this?
Code:
I have a laptop Fujitsu Siemens Amilo Pi 2550 and if I don't move the mouse for a few seconds becomes idle. Sometimes become idle after 1-2 seconds, sometimes after 1 minute. When that happens everything stops including sound, but when I move the mouse everything go back to normal.
(that's happening with the newer alsa driver) On ubuntu 10.04(which use a later alsa driver) I can prevent the laptop become idle if I listen music but the sound stop sometimes for a second. (seems like is an alsa driver problem) Right now the best solution is to install OSS driver and to play music all the time.
I have downloaded the latest Ubuntu.iso and extracted it to /tmp/ubuntu/ on my laptop. In the folder isolinux there is an isolinux.cfg file. I am trying to prepare a USB stick by modifying those files, so that when I boot from USB it opens VNC and puts a static IP of 192.168.1.125. How can I enable VNC and a static IP so that from my laptop I can do the installation of Ubuntu 11.04 without using a keyboard or mouse?[URL]..
View 1 Replies View RelatedHow can I emulate a mouse click on a keyboard on linux, e.g. by defining that my right CTRL-key should behave as if I clicked the right mouse button?
View 1 Replies View RelatedI had a partition setup with Windows XP and Ubuntu 8.04 dual booting. I recently upgraded to Ubuntu 10.04 by installing fresh from CD but leaving the previous /home folder as is. Things seemed to be working fine, but started finding that my mouse and keyboard were freezing. After a quick search on the internet, I found the following suggestions as shown here:- Ubuntu Forums
Here the suggestion was to:-
Edit /etc/default/grub, go to the line
that begins like:
GRUB_CMDLINE_LINUX_DEFAULT=
Change it to:
[Code]...
This seemed to have resolved the issue but after a couple of days I again find my mouse and keyboard freezing. I also find that my parallel port printer had also stopped working. I have saved the output of dmesg and my syslog. The first can be viewed here but the syslog had too many characters,
Is it possible to steer mouse pointer by keyboard.
View 2 Replies View RelatedI would like to detect that with openbox (i avoid xscreensaver) and do manually xset dpms off for the screen.
View 3 Replies View RelatedIn Gnome I have Gnome apps to configure keyboard and mouse as "gnome-keyboard-properties" and "gnome-mouse-properties". How do I configure them in Fluxbox? Acceleration of a mouse, keyboard repeat delay, repeat speed, etc...
View 2 Replies View RelatedI have a ubuntu loaded in KDE and this is in dual boot with Windows vista. I was "upgrading" my Linux (through update manager) when my computer just shut down. And when i restarted the computer to login to the Linux all I got was blank screen. I logged into recovery mode and selected the option to fix the packages. I rebooted my system and then again logged into the Linux. This time I could get the login screen but my mouse as well as Keyboard was not recognized. Essentially i cannot type or scroll and cannot login into Linux.
View 2 Replies View RelatedI've upgraded my ubuntu from 9.04 -> 9.10. But after reboot, my mouse & keyboard become freeze. I did some search and found some advice about mannauly configure /etc/X11/xorg.conf but unsuccess.
Here are some log
toannc@vt_ttpm_rd_toannc5:~$ uname -a
Linux vt_ttpm_rd_toannc5 2.6.31-20-generic #58-Ubuntu SMP Fri Mar 12 05:23:09 UTC 2010 i686 GNU/Linux
toannc@vt_ttpm_rd_toannc5:~$ lspci
00:00.0 Host bridge: Intel Corporation 82G33/G31/P35/P31 Express DRAM Controller (rev 10)
00:02.0 VGA compatible controller: Intel Corporation 82G33/G31 Express Integrated Graphics Controller (rev 10)
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 01)
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 01)
code....
I am COMPLETELY new to Linux.I started a computer class recently and I started teaching myself PERL.My teacher had mentioned to me that it's far better for some reasons (he did not elaborate) to write code in a Unix system. So I got Ubuntu 10.10.I installed it along side my windows 7.After I setup my windows (had to reformat the disk) I decided to boot up into Ubuntu to set that up. I installed the necessary drivers that it required, and the updates. I was asked to restart the system so I did so.
It did not even shut down or restart my system.I waited patiently 15 minutes...30 minutes 1 hour... until I finally decided to hit the reset button on my PC. Then when I'd boot back in to Ubuntu afterwards, it would stay at the log in screen and my mouse wouldn't budge and nor is my keyboard recognized by Ubuntu.Im really frustrated and I've been searching for answers for the whooole day and I just can't seem to find something well explained. Im completely new to Ubuntu so I don't know where to enter any code in a cmd line or such.
1)Reformatted my harddrive to install windows 7 on it
2)Set up windows 7 and then booted into Ubuntu.
3) Set up Ubuntu and installed necessary drivers and updates
4) Reset the computer and waited for an hour for the reset to happen but nothing happened.
5) Manually reset my pc and booted into ubuntu
6) Stuck at log in screen with mouse and keyboard not functioning (unable to use ubuntu).
I am running Linux Ubuntu on a Dell Inspiron laptop that I bought at a garage sale for 50 cents. After spending quite a few hours resurrecting it, it works just fine except for the left and right mouse buttons on the touch pad. They do not function.Is there a way to emulate the left and right mouse buttons from the keyboard?(I know that I can just plug in a mouse, but I would rather just use the keyboard if possible.)
View 3 Replies View RelatedI just installed and are new to Ubuntu. I have a problem with the os is constantly ignoring my mouse after about 5mins of doing whatever, then I have to restart just to get it to work again. (btw I am using a Dell USB mouse if you need to know...)
View 5 Replies View RelatedHow to select text in BASH terminal using the keyboard without mouse? I'm using Ubuntu 10.10
View 1 Replies View RelatedAs my ubuntu 9.10 boots the mouse and the key board fail and screen is inactive. Previously working OK.
View 5 Replies View Relatedusing Kubuntu 10.04. When my computer was being updated sudden power failure forced my system to reboot and in the log in screen I can find that my keyboard and mouse is not working at all. I cannot enter into my system. I tried to enter ctrl+F1 but failed.
View 1 Replies View RelatedI have a script that makes several calls to xmacroplay, which controls the keyboard and mouse. I would like to run this in the background or on a separate workspace or something so I can still use my machine for other things. I suspect this is possible but I don't really know what to look for.
View 2 Replies View RelatedMy screen is frequently freezing and even the keyboard or mouse doesn't work. I've been told to read the logs, But I don't know where thy are or what to look for?
View 3 Replies View RelatedI'm running Ubuntu 10.10 which I recently installed on this emachines w3107. For some reason, while doing whatever I may be doing, my screen will flash off and on for about a minute, then when it stops flashing; there is no mouse pointer visible. I can still use the mouse, but it's ghost-like.
View 1 Replies View RelatedI like to download the source. I never had like the 1 click install. It no fun. It take out all the fun to install. I know that nVidia is way better for linux. But having a integrated nvidia 6100. Kinda make my keyboard crash at times. I ask my friend parent. And they said they give me there for FREE. So here I am with a Radeon X700 PRO (RV410) (PCIE). I have a x32 bit computer ^.^ and 11.2. But I'm having trouble finding good info on install the driver. So I can used it to play games and such. So I'm asking is, to hit me up with everything I'm going to need to install this right.
View 4 Replies View RelatedI am running Fedora F14 on an Intel I3 cpu w/4Gb memory and plenty of disk. I have two displays connected to the Gigabyte Motherboard, one of the HDMI connector, and one on a DVI connector. I run Gnome. When Compiz is enabled things work fine for a while, meaning hours or days. Then the displays will "freeze" to the point where the clock stops updating. The system itself is still running programs, services, and the mouse and keyboard work. The mouse cursor will move around, but nothing can be clicked upon. If a terminal was the open window, typing on the keyboard does not do anything, nor does ctrl-backspace or whatever it is to terminate X windows. The keyboard does allow me to press ctrl-alt-F2 to switch to one of the base consoles. Once there I can type to my hearts content. I can kill off my logged in Gnome session through the console, and I can shutdown the system in a controlled manner.
It is as if all of the windows stop updating. For example, I play music through Amarok. An hour after I stop using the system but letting the music play the screens will do their lockup. The clock will stop, and Amarok will stop updating which song it is playing. It continues to play each song in the playlist, but the Amarok window shows what was playing at the time that the clock stopped. I've also had this happen to me while using Yumex, where it would stop updating the screen while installing programs, but the programs do get installed. With Compiz off I don't have this problem.
The version of Compiz I am using is currently 0.8.6-3. It is running on Gnome 2.32.0-2, with a Linux kernel of 2.6.35.9-64. It has happened with earlier versions of these programs. I am using the graphics processing the Intel i3 chip to the motherboard connectors. The freeze generally happens at some random time while I am not actively using the system. It has happened to me while doing simple things like programming through an IDE. The really strange thing to me is that the cursor will move around on the screen after everything else stops updating.
I've got a problem with input devices not being available under X.
I've installed F13 with 'minimal' type, i.e. no desktop environment.
After a lot of struggle, I managed to install quite a few packages (after configuring network!) and the Nvidia (proprietary) driver, disabling the nouveau driver.
I got to mention that nvidia installer offered me to create a xorg.conf on its own with its drivers configured for X. But the thing is if I type X or Xorg the screen turns black meaning that X is running but I don't see anything. Looking at /var/log/Xorg.0.log, I see this message:
AllowEmptyInput is on, devices using drivers 'kbd' or 'mouse' will be disabled.
Then, later on, i installed gnome thinking it'll take care of these input devices but the same happens in the gnome login screen too. Both Keyboard and mouse are not working.
I've tried adding the Option "AllowEmptyInput" "off" or Option "AllowEmptyInput" "false" in my xorg.conf under both the input devices section and also the server layout section, but all in vain.
I'm sure I'm missing some setting or something. I've also looked at a few bugs logged in the RedHat bug DB but their resolution of setting the AllowEmptyInput to false doesn't work in my case.
I've been using Slackware for ages... since like 1997 or 1998. I have a Slackware 3.x CD around here somewhere. I'm usually the one explaining how Linux works to everyone else. I even got GnuCash working on Slackware. So these two problems ...
1. Keyboard in Xorg. It seems to work, except the down arrow and the page down buttons are mapped as something else (the down arrow causes TEXT TO DISAPPEAR...I've had to type this like three times now...). After a bunch of searches, it looks like a problem with HAL and evdev (whatever that is). I tried setting the model in KDE's Regional control panel but that had no effect.
Xorg.conf settings for this section... you can see some remnants from prior attempts:
I did check that event1 refers to the keyboard. The keyboard is a Microsoft Internet Keyboard that works fine; the arrow keys work great outside of X.
2. Mouse in Xorg. The scroll wheel wants to scroll side to side instead of up and down. This also happens to be a Microsoft product (I like their mice... my wife brought the Microsoft keyboard into the relationship...). It's just a wheel optical 3-button mouse, nothing special. Again, none of my usual xorg.conf edits seem to work; here's what I have right now.
Again, I checked that the mouse is event2.
Someone really should make an upgrade guide for people like me that have been using it for years and aren't really following the tech that explains new features like hal and evdev (I know hal has been around for a couple versions, but I've never gotten involved with it until now). Or maybe there is one and I'm just not aware of it. Basically I just want it to just work, which is why I use Slackware in the first place!
I should mention I did have both working under Slackware 13.1 on this machine until Windows conveniently erased my root partition for me, so I got to do a completely clean Slackware install for the first time in a LONG time. That's when the issue arose. Because I was in a rush, I did a full install. I assume the previous setup was using non-hal/non-evdev methods, but I might as well set this one up using the new methods, right?
I'm using Slackware64 13.1, running on a Core 2 Quad Q8300 @ 2.50 GHz. Hardware is fine - both mouse and keyboard work under Windows XP, and like I said the keyboard is fine outside X. It has to be some configuration problem ...somewhere.
My systemd-udev-settle.service is failing for some reason.
systemctl status systemd-udev-settle.service -a output
Code: Select all● systemd-udev-settle.service - udev Wait for Complete Device Initialization
Loaded: loaded (/lib/systemd/system/systemd-udev-settle.service; static)
[ode]...
Warning: Journal has been rotated since unit was started. Log output is incomplete or unavailable.
For some reason I am unable to use either my keyboard or my mouse. No problem in etch up until now, even after rebooting.
View 1 Replies View RelatedI can't seem to use my mouse and keyboard at the same time.I am running Ubuntu 11.04 64-bit
View 3 Replies View RelatedI know that by pressing CTRL+SHIFT+NUMLOCK I can use the number pad as a pseudo mouse, but is it possible to force this condition at boot without needing to enter a key press?
(I'm putting a computer in my car running Ubuntu and have decided to do away with both the mouse and keyboard and control it from a joystick on the steering column. This has been wired to the circuit out of an old keyboard to mimic the arrow keys on the numeric keypad.)