Ubuntu :: Setup An Autologout Function?

Jul 27, 2010

I'm hoping to be able to set up ubuntu for a few people, but they need to be able to control how long the kids are on the computer. Is there any utility that exists for linux that can handle this?

So far, everything I've seen tries to autologout after a set period of idleness (ie the kid leaves the computer for 15 minutes and gets logged out because of that), but that's not exactly what I need (if it helps, I'm looking for something that will log you out at say 1 hr after logging in, either by starting a screensaver, or forcibly logging you out).

View 2 Replies


ADVERTISEMENT

Ubuntu :: CronJob - Alarm Clock Setup With Snooze Function

Feb 4, 2011

I need to set up an alarm to start at 7:30am and run every 5 seconds until I stop it. How would I acheive this in cron tab?

View 2 Replies View Related

OpenSUSE Hardware :: Multi-function Epson Stylus Sx218 - Can Not Run The Scanner Function ?

Mar 24, 2011

I bought a multifunction stylus sx218 Espon model and I can not run the scanner function. I did some research and found a few solutions and very functional. I hope someone solves the problem. My version of openSUSE 11.2.

View 9 Replies View Related

Programming :: How Can A Friend Function Access A Public Function From A Base Class

Nov 16, 2010

Code:
#include <iostream>
using namespace std;

[code]...

View 1 Replies View Related

Programming :: Passing Data From Interrupt Handler Function To Tasklet Function?

May 18, 2010

I am doing some Linux kernel programming for my research project. I need to record the timestamp (by using cpuid and rdtsc) when an interrupt handler (top half) is first invoked. Due to the time critical nature of the problem itself, I have to do the timestamping inside the interrupt handler itself (the first operation when the handler is called). However, I understand that tasks that are not so time critical should be deferred to a tasklet function (bottom half) for processing because other interrupts are disabled in a (top-half) interrupt handler. I am currently out of idea on how I can pass the timestamp information that I have obtained in the interrupt handler to the corresponding tasklet function.

View 2 Replies View Related

Ubuntu :: Networking / Setup A Domain And Directory Server Similar In Function To Windows Server W/ AD And Join Other Machines To The Domain

Aug 21, 2009

I've got a home server running Ubuntu Server 9.04 and several machines running Ubuntu Desktop (9.04 and 8.04) and Windows (XP, Vista and 7). Now what I want to do is to create a domain and directory server similar in function to Windows Server w/ AD and join my other machines to the domain, but am not sure where to start. I already have file shares with Samba but now I want to setup a domain.

View 3 Replies View Related

OpenSUSE :: Get Function Set_magic_quotes_runtime() To Function On The Newer Versions?

Mar 30, 2011

I'm currently using OpenSuse 11.1 web server. This is bad since 11.1 is no longer supported. the reason why I am using it is because Function set_magic_quotes_runtime() was no longer being used. (so I was told)

That being said, is there a way to get Function set_magic_quotes_runtime() to function on the newer versions of OpenSuSE?

View 9 Replies View Related

General :: Write Script To Use Function And Still Keep Function Active?

Feb 21, 2010

the function terminates if no key is pressed for 10 consecutive seconds. I tried using the -t option as suggested in some forums, but my version of showkey doesn't have the option of changing the timeout. The options I get are:

-h --helpdisplay this help text
-a --asciidisplay the decimal/octal/hex values of the keys
-s --scancodesdisplay only the raw scan-codes
-k --keycodesdisplay only the interpreted keycodes (default).

Is it possible to write a script to use this function and still keep the function active until an interrupt is recieved?

View 6 Replies View Related

Programming :: Bash Array Add Function Example Using Indirect Array Reference As Function Argument?

Jun 20, 2010

I looked on the net for such function or example and didin't find anything, thus after having made one i guess it would be legitimate to drop it to see what others thinks of it.

#!/bin/bash
addelementtoarray()
{
local arrayname=$1

[code]....

View 10 Replies View Related

Programming :: Declaring A Function In A Function - C Programming

May 24, 2010

I want to declare a function in a function, but had no success till now, see the error code below and visit the project at sourceforge

[Code]...

View 14 Replies View Related

Ubuntu Servers :: Setup New Remote Office - Setup Domain Trust Between Two Sites?

Mar 14, 2010

I ended up setting up a basic linux file server as a pdc for that office. Our main office is a windows 2000 ads domain. The two offices are connected with a vpn. I only have two users at the new location so I simply have the linux and samba usernames/passwords setup manually. I would like to know if it is possible to setup a domain trust between the two sites so I don't have to create a username/password in the remote site for every user at the main office to access. I did some searching but came up empty.

View 5 Replies View Related

Debian :: Ubuntu Local Mirror Setup For FAI Server Setup?

Apr 24, 2011

I want to setup a FAI server for which I was looking for the best method of mirroring the Debian Lenny. I want to setup a local mirror with the best method available for mirroring. If it is ftpsync, please provide me some best ways of doing it. I tried ftpsync mirroring but that was not getting properly working due to insufficient I want this mirror to be accessible in my FAI setup so that I can start the installation on multiple machines and start the updates and package installation to be done from the same local mirror.

View 1 Replies View Related

General :: Ubuntu 10.04 - Cannot Setup GRUB On RAID 0 Setup Disks

Jun 4, 2010

I've been all afternoon trying to install Ubuntu Lucid on my fakeRAID 0 configured (2) HDDs and am unable to set GRUB up. The fake RAID setup is provided by Intel Matrix Storage Manager, it is correctly enabled and the BIOS is also correctly set up -- in fact, I've managed to install Windows 7 with no significant hitch. After struggling with partioning the drives (had to follow advice I found on a very helpful guide online [0]), creating the filesystems AND getting Ubuntu's installer to actually do what it is supposed to do, I now cannot seem to set GRUB up. My system, as it stands, is unbootable at all; via live CD only.

This is how the RAID0 dev is partitioned:
Code:
# fdisk -l /dev/mapper/isw_ecdeiihbfi_Volume0
Disk /dev/mapper/isw_ecdeiihbfi_Volume0: 1000.2 GB, 1000210694144 bytes
255 heads, 63 sectors/track, 121602 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 131072 bytes / 262144 bytes
Disk identifier: 0x6634b2b5 .....

View 2 Replies View Related

Ubuntu :: Setup Workflow To A Terminal-based Setup

Jul 8, 2010

Im trying to set up my workflow to a terminal-based setup, so that accessing my computer through SSH will provide many of the things I need and use right off the bat. I have Mutt working great with my GMail account, so that's good. I do have a question though. Using the application Calcurse (featured on Lifehacker a few days ago, [URL] I am at a loss to figure out how to interface with Google Calendar. Is there a trick that Im missing, or does anyone know of another terminal app that plays better with Google Calendar?

Also, I was looking for a 'Digital Clock', essentially, again, a terminal/text based large print clock; similar to the one in the lower left corner on the attached pic. I was looking for a telnet server from the Atomic Clock, but no such luck so far.....

View 9 Replies View Related

Software :: Openbravo Installation / Ant Setup And Setup-prerequisites File (don't Remember Exact Name)?

Apr 27, 2011

i am trying to install openbravo on my server.I have installed all the pre-requisites as ANT, JDK(though i installed JRE).

Everything goes fine untill the ant setup and then running the setup-prerequisites...file (don't remember the exact name).

As soon as i issue ant install.source it ends up with some errors..

View 2 Replies View Related

CentOS 5 :: Mistakenly Setup RAID 0 Array On / Instead Of RAID1 During Setup - Convert Without Loss?

Dec 15, 2010

So I didn't notice when I setup my CentOS 5.5 server that I left / as RAID 0 on md1. All the rest are RAID 1. Is there a way I can modify the array to RAID 1 without a risk of data loss? I'm glad I caught this before I setup any other services. I've only setup smb so far...

[root@ftpserver ~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/md1 16G 3.0G 13G 20% /

[code]....

View 1 Replies View Related

OpenSUSE Network :: 11.2 Xen Bridged Networking - Setup Multiple DomU Through The Default Bridge Setup

Feb 4, 2010

Im trying to setup multiple domU through the default bridge setup. I am able to access only one of them through the network at a time. If you ping one of the domU it works perfectly but you cannot ping any of the others until you stop pinging the one and even then it takes a bit before you can. Ive looked around for a while and seen similar problems but nothing ever seems quite the same. Im probably missing something really stupid. Or is this the way the bridge is supposed to behave? Do i need to use a routed virtual network?

[Code]....

View 1 Replies View Related

CentOS 5 :: Boot Setup From Partition That Is Formatted During Setup

May 5, 2009

Here is a thought experiment:

1. Copy vmlinuz and initrd.img from isolinux subdir into /boot
2. Adjust grub.conf to boot to that kernel
3. Reboot to setup
4. Format /boot (actually '/' ) during "fresh install"
5. Proceed with the installation-over-network

I see two possible outcomes:

1. The setup fails to reformat the drive, because it is "in use" by boot kernel

2. The partition is not "in use" and the installation succeeds

Why? Old cluster with broken CD-drives, lacking USB, and no separate /boot partition.

View 2 Replies View Related

OpenSUSE :: Hp-setup Wont Setup HP Officejet?

Aug 18, 2011

With new installs of openSuse 11.4 I've hit a printer problem. I can run hp-setup (or hp-toolbox) for the wireless Officejet j6410 and it is recognised. The right driver is selected. Then when I choose add printer it all falls over with the error message: error: Printer queue setup failed. Could not connect to CUPS Server Is user added to "lp" group(s) error: Fax queue setup failed. Please restart CUPS and try again.

The user is added to the lp group. I have this problem with my 64 bit desktop and 32 bit laptop installs of 11.4, it all worked perfectly in 11.2. I've used the Cups web interface to set up the printer now and can print from both machines, but I would prefer to use the hp-toolbox, which has several convenient features. Where do I go from here?

View 5 Replies View Related

Hardware :: Setup A 5 Monitors Setup Using 3 Cards?

Oct 8, 2010

I am trying to setup a 5 monitors setup using 3 cards, but I am stuck at 3 monitors for now. The third card is not plugged yet, so the current setup is:

NVIDIA 8800GT (binary driver 195.***)
--->1680x1050 LCD (VGA)
--->1680x1050 LCD (DVI)
ATI HD5450 (3 output, but I think the OSS driver only support 2, corrdct me if I am wrong) (OSS driver)
--->1280x1024 LCD (DVI)
---> 1366x768 TV (VGA)

[Code]...

View 2 Replies View Related

Ubuntu Installation :: XP With Existing Setup (Partitions) - Error "Setup Did Not Find Any Hard Disks Installed On Your Computer"

Feb 18, 2010

I'm using Ubuntu 9.10 and previously had a separate partition with another distro on it. I decided to delete the other distro's home and swap partitions and install XP in place of it. I've been following these instructions: [URL] and [URL] I have gotten to the point where I am booting to the XP CD and want to install it, but I get the message, "Setup did not find any hard disks installed on your computer" when I should be getting to the screen that asks me to select a partition to install XP on. This is what my HDD looks like in GParted:

I want to install XP in the unallocated partition, but I have a feeling I screwed up somewhere along the way and probably don't fully understand the whole thing. Even if I try to format the unallocated partition to NTFS I can't make it a primary partition (I assume because it's within sda2). The very last thing I want to do is delete my Ubuntu partition and start from scratch, but if that's my last option let me know.

View 4 Replies View Related

Ubuntu :: Use Php Function System() As Sudo?

Jun 3, 2010

I need to print the mail queue out using system(mailq)I tested system(date) and my page lists the date, but I need to be able to do some sudo commands via php. Any ideas? been on this for hours im stuck.

View 2 Replies View Related

Ubuntu :: Get Amarok To Function With Jaunty?

Jun 13, 2010

I never was able to get amarok to function with Jaunty, despite going through several sets of instructions on the fix. Does amarok work 'out of the box' with Lucid like it did in Heron?

View 2 Replies View Related

Ubuntu :: Num Pad And Function Keys Won't Work?

Jul 3, 2010

I recently put Ubuntu on my HP G series laptop that originally had Windows Vista and ever since some select function keys (i.e. dim/brighten display) and the num lock/num pad won't work. Why is this and can I fix it?

View 1 Replies View Related

Ubuntu :: .bashrc Function Tab Completion?

Jul 4, 2010

I tried to make a function to put in either my .bash_aliases or .bashrc file to make a local backup of a file, but when I call the function and try to use tab completion I get the following error:

Code:
cp: cannot stat `help': No such file or directory
The function I added is as follows:
Code:
function bk

[Code]...

Also interestingly, if I define this function at the prompt rather than in my .bashrc, tab completion works fine.

View 3 Replies View Related

Ubuntu :: Speaker No Longer In Function?

Aug 9, 2010

I'm not sure what to do. I have a Vostro 1700 with ubuntu Hardy. My soundcard seems to be mal-functioning but I am not certain how to check or what to do about it. My Out jack on my Soundcard works but if i don't have speakers attacked to my laptop I will have no sounds.

View 1 Replies View Related

Ubuntu One :: How To Bookmark Sync Function

Oct 16, 2010

bookmark sync function in Ubuntu One? I already installed xul-bindwood and I now see the Desktop Couch Scratch folder in my bookmarks, but I simply do not understand how this feature works and what it is supposed to accomplish. Is it similar to Firefox Sync (by Mozilla) in that it synchronizes the bookmarks on multiple computers? Or is it supposed to make the bookmarks accessible to view on the web under the account page (like Evolution contacts)?

View 9 Replies View Related

Ubuntu :: Search Function Does Not Work On 9.10?

Nov 10, 2010

I have a few thousand .doc and .odt files (Word & OpenOffice documents) in a folder. Under 9.04, I was able to run a query search for keywords by using; Places - search for files - contains the text. It would find files with the text that I requested every time.

Now that I have 9.10, that search function does not work any more.

View 3 Replies View Related

Ubuntu Multimedia :: From 9.10 > 10.04, Where Did This Function Disappear To?

Jan 11, 2011

For quite a few Ubuntu versions now, if I ever wanted to save a ..... clip, I just went to the file system's /tmp folder and did a cut'n'paste of the buffered file. Now I have upgraded to 10.04 it seems .flv's are no longer buffered in /tmp.

Where have they gone? Or is this function/ability 'no longer available' for some obscure and possibly political reason? I do get the feeling that, whatever the reason, this is a retrograde step not in keeping with the Ubuntu philosophy.

View 4 Replies View Related

Ubuntu :: Can't Get Chmod To Function Recursively

Jan 12, 2011

it seems to me I can't get chmod to function recursively. I have a folder with a couple subdirectories in it and a few in each of those etc. Now, I want to give everyone read-write on all .c files. So, I typed in terminal:

Code: chmod -R 666 *.c However, none of the .c files in any of the subdirectories were touched, i.e. I could have accomplished exactly the same thing by typing

Code: chmod 666 *.c I did RTFM, and it seems that what I did initially should have been the ticket. What am I doing wrong?

View 2 Replies View Related







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