General :: X11 - Tell If User Is Actively Typing?

Nov 16, 2010

I'd like to write a little script to ask me what I'm doing at regular intervals, but I'd like it not to grab focus if I'm in the middle of writing an email or filling in a password. The two options I've come up with are (1) notify-send/pynotify which lets me pop up a notification bubble in the top right of my screen which is perfect, but can't seem to include a text entry field; and (2) zenity and similar which bring up a window with a text field, but steal focus when they do.

View 2 Replies


ADVERTISEMENT

General :: Actively Monitoring Log File - House Server

May 21, 2011

I have an application which generate logs like this

Code:
2011-05-17 13:21:27 - Msg 2402
File loading terminated.

File information: 3 records in input file found
3 records processed
0 records skipped
Load statistics: 3 messages loaded correctly
0 messages ignored
0 messages with errors
Details:
Destination OK ignored errors correct incorrect not sel. other
house Server (def 3 0 0 0 2 1 0

2011-05-17 13:21:27 - Msg 2410
Archiving information: File /path/to/xxx.txt
was archived as /path/to/xxx.txt.

Now I want to monitor this "house Server (def" and send alert based on 3 0 0 0 2 1 0
say if [ $5 -gt 0 || $6 -gt 0 ]; then
<send email>

View 6 Replies View Related

Software :: 'share' Ssh Connection So One User Can See What Other Is Typing?

Mar 8, 2010

I am trying to setup a vnc like situation, not for desktop but for ssh.The scenario is that 2 users connect via ssh to the same server and for one of them to be able to see (and if necessary to take control) what the other is doing.This is for a test server running CentOS 5.3 x86 and googling around couldn't find anything close to my needs.I don't know if it's even possible with ssh but that came to my mind when thinking to remote access.

View 2 Replies View Related

Ubuntu :: Login - Load Up Without Typing In User Name Or Password

Jan 26, 2010

I accedently typed in a command in the terminal that made my computer load up without typing in user name or password. i would love you have that back. is there a command that you can use to get back there login screen. i am using ubuntu 9.10. i also dont know what the command was that i typed...

View 1 Replies View Related

Ubuntu :: Connecting To Remote Servers By Only Typing SSH User@ip

Jun 4, 2010

I manage a few Linux servers and I need a fast way to connect to these servers instead of having to enter the root password every time.

Is there anyway to save the passwords/keys and connect to the servers by simply typing: SSH user@ip

Or even something easier without typing the server IP like I had Putty in Windows. I know I can still use Putty but I want to use a better SSH client, like GNOME Terminal.

View 5 Replies View Related

Ubuntu :: Click On A Text Box To Write And Star Typing Only To Find Out Typing Somewhere Other Than Where Clicked?

Jun 17, 2010

Half the time I click on a text box to write and star typing only to find out I'm typing somewhere other than where I clicked.It's not dwell click and the active text box seems to be related to mouseover.

View 2 Replies View Related

CentOS 5 Server :: View/monitor What A User Is Typing In Other Terminals In Centos?

Mar 11, 2010

how can i view/monitor what a user is typing in other terminals in centos?

View 1 Replies View Related

Ubuntu :: Actively Developed System Distribution That Will Run In 16MB Of RAM?

May 19, 2010

Is there an actively developed Linux distribution that will work on a 386 or a 486 DX or DX2 that only has 16MB of RAM?

View 9 Replies View Related

Software :: Wicd Drops Wireless Connection When Not Actively Being Used?

Jun 16, 2011

This is a little problem I've been having. My internet connection right now is just my rooted android phone broadcasting a wifi signal. It works like a regular wifi connection. When I connect to it, it works fine. But if it goes for more than a minute without having any data transferred, it drops the connection til I reconnect. I can have it downloading all night and it wont go out once. But soon as I let it alone without any data xfer, its down.

My quick fix is to just keep it pinging [URL] and that mostly keeps the connection going (although it still drops occasionally). Anyone know a more permanent solution?

running Slackware64 13.37 with multilib, and wicd 1.7.0

View 3 Replies View Related

General :: Minimize Typing When Frequently Changing Directories?

Aug 4, 2010

What are some good Linux commands to make switching between different directories on the command line easier?

I often have to switch between different directories with long names, e.g.

Typically, I use tab completion, so it's something like this:

But it's annoying because all these names are so similar, so tab completion doesn't really save much work.

What tricks do you use to minimize typing in such situations?

I do use pushd and popd sometimes, but here it won't help much because I don't visit the directories in a given order.

For a nice solution, see the accepted answer to my other, related question. Basically, just create an alternative cd command:

function cd2 { select a in $1*; do cd $a; break; done }

It will list all possible completions at once:

And you can pick one by typing its number.

View 6 Replies View Related

General :: Keyboard Input Time Is More For Typing Commands?

Aug 15, 2010

While typing commands it takes more time to type.let me know on how to correct this

View 3 Replies View Related

General :: Unpredictable And Arbitrary Crashes When Typing An Email

Jan 13, 2011

I experience unpredictable crashes, When typing an email I am unable to recapture that which I wrote. without warning the "back" button disappears. it is sometimes there and sometimes not.

View 3 Replies View Related

General :: Log On Automatically To Remote Server Without Typing Everytime Password And Login?

Mar 24, 2011

i need to connect to a remote linux server on certain times (automated), but i need to log on to the server. So i want to make a script (shell perhaps) that periodically connects to the server and checks some files and folders.How do i automate it and how can i log on automatically to the remote server without typing everytime the password and login (the script should do it himself)

View 14 Replies View Related

General :: Error Opening Terminal - Edit Sudoers File By Typing Visudo

Nov 13, 2010

Recently I migrated from Ubuntu to Debian, first thing i wanted to do was to give myself sudo permissions and lock the roir account. By default sudo group don't have permissions to do this on debian, so i wanted to edit sudoers file by typing visudo. But i keep getting this
error: Error opening terminal: vanilla How can i solve this.

View 1 Replies View Related

General :: Write A Script To Execute A Fortran Code That Reads In Parameters From Keyboard Typing?

Apr 18, 2011

I am trying to write a script (especially C-shell) to execute a fortran code that reads in parameters from keyboard typing. I will have to process this .F code for many times with the parameters the same for all my data files, therefore, I don't have to type in everytime I execute the .F code. But I don't know what is the command in c shell to read in a text files that contains all the parameters I want and can make the shell read in appropriately to feed the .F code.

View 3 Replies View Related

General :: Create User Add File With Default Password And Force User To Change It?

Feb 2, 2010

I want to add 50 new users, not on the server yet I want to add them all to group Accounting - with 1 option, not user by user I want to setup a default password for them all, and have it say something like 'You must now change password or no access will be permitted' Any other options I also want to do once, not for each user?

View 3 Replies View Related

General :: Change Password For Newly Created User And Root User Using Graphical?

Jan 15, 2010

I am using mint 8 for a 2 weeks, I am noob to linux but I like Mint than any other linux distro which is great alternative to windows. I have a problem regarding password reseting.

1. My laptop automatically get logged in without asking user name and password.

2. I tried to change password for newly created user and root user using graphical way but it does not work.

2. I can perform administrator task using only OEM user which is default inbuilt user of mint.

How can make my laptop to ask password when mint get booted? How to change password for other users?

View 1 Replies View Related

General :: Write A Shell Script That Allows Only User 1 And User 2 To Execute A Program?

Feb 25, 2010

I've looked everywhere but I can't find where to change the default box for incoming mail, or am I on the wrong track. It's a nuisance having to change folders and I can't configure wastebin to empty on exit.And I can't get kmail to import from evolution. Do I have to go to the evolution storage and do it manually, and if so, how do I do that?

View 1 Replies View Related

General :: Login As Other User Using Shell Doesn't Load The Profile For That User?

Dec 11, 2009

I am using the sudo command to log on locally as another user by the following command:

sudo -u theotheruser -s
or
sudo -u theotheruser sh

As I see it, this initiates a new shell with the mentioned other user.However, this doesn't load that users profile from his home directory.Is there a way to automatically read the users profile when login in with selected command? I am mostely interested in getting a working prompt when logged in.

View 11 Replies View Related

General :: Give User Access To Directory In Another User's Home

Mar 8, 2010

I'm developing an application in which one user must run java software that I'm compiling as another user. I wanted to give user A permission to see the bin direcory of my workspace, which is in the home directory of user B. I was wondering how can this be done? I gave the bin direcotry full read/execute premissions, but since it's in my home directory user A can't navigate to it.

I know there are a few ways I could get around the problem but they arn't very elegant. I was wondering if there is a simple method for giving a user access to a specific directory without giving access to all the parent directories. I tried symbolic link but user A still can't access it, and a hard link to a directory isn't allowed in Linux. I don't feel like making a hard link to every single file in the bin directory, and I'm not sure that would work anyways, since every recompile overwrites them.

View 7 Replies View Related

General :: Difference Between Regular User And System User (and Groups)

Sep 28, 2010

What is the difference between creating a "regular" user and creating a "system" user on Linux?

For example:

Code:

adduser john

Code:

adduser --system john

Similarly it seems there are normal groups and system groups. Doing an internet search and reading man pages does not give much information on the whole concept of system and regular user/group.

View 1 Replies View Related

OpenSUSE :: NX Nomachine Typing On Its Own?

Dec 8, 2010

I have nx nomachine installed on 64bit opensuse 11.2. All was fine until I ran updates this week and now it seems that it has a mind of its own. (dont remember which packages were updates)Every time I open the cli it just starts typing the equal symbol on its own. In fact every time I open anything that can accept text input it just starts adding equal symbols. It enters them about 2 every second.Code:jason@FileServer:~> =========================I uninstalled all the NX packages, killed the .nx folder in my user folder and then reinstalled the packages and still the same thing.

View 5 Replies View Related

General :: Disable User And Change User Password Using SSH?

Oct 5, 2010

How do I disable and change the user password using SSH on a Linux

View 3 Replies View Related

General :: Change All Files Belonging To One User To Another User?

Jul 20, 2011

I'm looking for a Linux command that can change ownership of all files belonging to a given user,preferably in a targeted directory, to another specified user. My dream command would look something like this. chuser -R --olduser tom --newuser jerry

This is my scenario... I have a backup file (.tgz) with user and group information preserved in it. It was taken from a web server running Apache and MySQL. The files in the backup are from across the system and contain files from several different users and several system type accounts and it is key that when restored on the new server the settings are not lost. The problem is that the users on the machine the files are being restored to don't match the ones in the backup file. For instance both machines had a MySQL user but they have different user ids and there are several user ids that existed on both machines that belong to different users. This means there is no way to sync the users on the new machine to the ones on the old machine. I can find all the users files with the find command like this...

find /decompressed-backup-dir -uid 1050
or
find /decompressed-backup-dir -user tom

If, as I suspect, there is no way to do what I want with a single command then perhaps there is a way to pipe the results of the find command to another command to handle the ownership change?

I could do this with a PHP script but there are 4GB and tens of thousands of files in the backup so I don't want to use PHP or Perl but I would be happy with a shell script that could handle it.

View 2 Replies View Related

General :: Ubuntu New User: Can't See New User In Home Directory

Jul 28, 2011

i'm new to linux and just installed Ubuntu and decided to play around with it. i just executed

Code: useradd test which supposedly creates a folder in the home directory '/home/test' but when i look in there i can't see it i also did a

Code: grep test /etc/passwd which returns: 'test:x:1001:1001::/home/test:/bin/sh' which i believe means it is meant to exist.

Addendum: I have also now noticed that when i log in and log back in i have the option to login as 'test' but it prompts me for a password which i did not set :s

View 5 Replies View Related

Ubuntu :: Logitech MX5000 Not Typing?

Jun 5, 2010

I'm having a very strange problem with my Logitech MX5000. It used to work fine but now I am experiencing some problems.When I start up my PC WITHOUT my spare wired keyboard plugged in, does not type more than one character -I mean only one character- after a random number of key presses (50-100 or more).However, if I start up my PC WITH my spare USB keyboard plugged in, my MX5000 works perfectly.Bluetooth (on) has recognized, installed and connected the keyboard. In fact, now, I am typing this message on MX5000 -with the wired keyboard connected to the PC.

View 1 Replies View Related

Ubuntu :: Disable Touchpad While Typing?

Jun 23, 2010

I've read through [URL] but I can't seem to disable my touchpad while typing (it seems to be extremely sensitive to touch).

I can't disable touchpad, else it will disable all X.org input

Code:
$ sudo aptitude purge xserver-xorg-input-synaptics
Reading package lists... Done
Building dependency tree
Reading state information... Done

[Code]....

View 9 Replies View Related

Ubuntu :: Disable Touch Pad While Typing

Jun 27, 2010

Where is the "disable touch pad while typing" preference stored and how can I alter it without using the GUI?I have written a script to disable my touch pad, but if the "disable touch pad while typing" preference is on it the touch pad will reactivate its self after I type. Clearly the "disable touch pad while typing" preference must be stored somewhere, if someone could tell me where I could alter my script to disable the preference along with my touch pad.

View 4 Replies View Related

Ubuntu :: Hotkeys Trigger While Typing?

Mar 12, 2011

This has been happening for a while and I can't figure out how to fix it. If I'm surfing the web listening to music, when I type something -- the song will start changing. Has anyone else run into this problem? Does anyone know how to fix it

View 1 Replies View Related

Ubuntu :: Disable Trackpad While Typing On Mac?

May 23, 2011

I'm having trouble typing in ubuntu on my macbook because my palms sometimes touch the trackpad while I'm typing. I've seen a ton of posts about how to disable the trackpad when a USB mouse is connected, but I just want to write a scripthat I can run to unconditionally disable the trackpad and turn it back on. I don't care if it requires an extra keystroke or even if I have to write 2 scripts - one to turn it off and another to turn it on.

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved