OpenSUSE :: Execute Program On Wake / Kill Program On Suspend?

Apr 15, 2011

I have problems to get it work. i have tried to use pm-utils, but it does nothing.

What is need is to kill application, when pc is going into suspend to ram and run that application again on wake. It's a graphical application.

View 1 Replies


ADVERTISEMENT

OpenSUSE :: Can Apparmor Block Execute Any Program In A Specific Dir

Jun 10, 2010

prohibit execution of any program include shell command, only be profiled program could be executed, can apparmor do that?

View 5 Replies View Related

Programming :: Awk - Input From One Line - Execute Program - Input From Next Line - Execute Program

Sep 25, 2010

I have a file with two fields of numbers that I want to use as input for another program.

Code:

The above code does not work, as I think it would take the whole first and second fields as the input for one particular instance of the program 'inputbashangle'. What I want is to get the first two numbers from the first line of the file 'outfailtest', execute 'inputbashangle' with them, then move on to the first two numbers of the second line for all the lines of 'outfailtest'.

View 9 Replies View Related

Ubuntu :: Kill Program From X11 Like CAD?

Jul 3, 2011

How do I kill an X11 application using a keyboard command? The program does not have Linux specific bindings (interupts). I want something like Ctrl-alt-del and process manager.

View 6 Replies View Related

General :: Unable To Kill The Program

Jan 29, 2010

just installed iptraf and was using it. However, I lost the SSH link while IPTRAF was running. Now when I try to go into detailed statistics it says: detailed interface stats alreday monitoring eth0. How do I stop that so I can start it again? I tried kill and the process id which I found using pidof iptraf but it won;t stop the program.

View 1 Replies View Related

General :: Kill The KDE Program KSnapshot - Slackware 13-37

Jun 1, 2011

How do I kill the KDE program KSnapshot. I'm running Slackware 13 - 37, which is the latest version of Slackware. I don't see any way to
kill this thing. There's no Remove Program or Delete anywhere on KDE and this stupid program keeps poping up all the time. I want to kill this thing.

View 4 Replies View Related

OpenSUSE Hardware :: Wake-up On Lan From Suspend / Sleep?

May 26, 2010

Firstly, wol works fine from shutdown and hibernate; it's just suspend which doesn't work.

I've got 2 types of workstations, all running 11.1. They both have this kernel:
2.6.27.45-0.1-default #1 SMP 2010-02-22 16:49:47 +0100 x86_64 x86_64 x86_64 GNU/Linux

Type 1 is a dell optiplex 745, bios version 2.4.1. Here's the relevant bit from lspci:
03:00.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5754 Gigabit Ethernet PCI Express (rev 02)
Kernel driver in use: tg3
Kernel modules: tg3

[Code]....

The fact that it's happening across two different machines makes me wonder if it is some OS setting I've missed, but then maybe neither card/driver supports it from suspend.

I'd really like to get them waking from suspend because training users to use suspend rather than hibernate would be a pain. Also, being able to configure such that it only wakes from suspend and not hibernate/shutdown, as implied in the bios, would allow me to wake machines up for backups etc only when the users are here, rather than on holiday/seconded to another department etc.

View 1 Replies View Related

Ubuntu Networking :: Unable To Kill Process That Are Interfering With Program?

Oct 5, 2010

I"m trying to kill some processes that are interfering with airmon-ngWhen I run airmon-ng and tell it to turn on monitor mode on a given interface it says:Code:Found 5 processes that could cause trouble.If airodump-ng, aireplay-ng or airtun-ng stops working aftera short period of time, you may want to kill (some of) them!

PIDName
20875wpa_supplicant
20879NetworkManager

[code]...

View 2 Replies View Related

OpenSUSE Hardware :: Devices Involved In Wake From Sleep - Suspend To Memory

Apr 17, 2011

I have openSUSE 11.4 KDE (upgraded to Tumbleweed but that's not relevant here). The computer is a Dell Optiplex. My sleep (suspend to ram) and wake (restore from ram) work very well. The box can multiboot to windows 7 as well as to Linux.

In Linux, the restore process is triggered by pressing the power button on the front of the case. No other action will bring it awake.

In windows, the restore process is triggered by the power button but also by moving the mouse or touching the Escape key, spacebar etc.

Here's the question: how do I get the computer to wake in Linux by activating a key (or mouse, whatever) instead of just the power button (which is under the desk and hard to get to)?

View 9 Replies View Related

Ubuntu :: Possible To Execute Program From RAM

Feb 14, 2010

I was wondering if it was possible to execute a program from RAM, like having the file data in a bash script variable and then running it.
Something like this:
ls=`cat ls`
$ls
So is it possible to run a program without touching the hard disk and without creating tmpfs or ramfs (it would need to be standard user privileges).

View 1 Replies View Related

Fedora :: Using Alt+F2 To Execute Program From Terminal?

Oct 21, 2009

Im trying to install a program with bitrock installer but im asked to logon as root or become super user. When trying to logon as root from logon window I get message that "cant authenticate user" Ive tried to find a place in "users and groups" to become superuser but cant find it.

View 9 Replies View Related

Ubuntu :: How To Compile And Execute IDL Program

Jan 24, 2010

Following is the IDL program found on the internet but i dont know how to compile and execute (even dont know can it be done under linux).

Code:

View 9 Replies View Related

Software :: Execute A Command In The C Program?

Jan 21, 2011

I am trying to execute a limux command in c program using system system call, but the dont want it to dump the output or error logs on the terminal.

View 2 Replies View Related

Programming :: Execute External Program Using C?

Mar 30, 2011

Assume two applications, Application A and Application B. Both are written in C language.I had tried to use system() function in Application A to execute Application B. It success, but Application A cannot continue its own tasks before Application B exit. I want Application A to execute Application B, but Application A can continue its tasks without waiting for Application B to exit.

View 3 Replies View Related

CentOS 5 :: Execute A C++ Program On PowerPC

Oct 5, 2009

I'm trying to execute a C++ program on PowerPC. But I am facing an error saying: "error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory". But a C program gets executed successfully. The programs are cross compiled using PowerPC cross compiler.

View 1 Replies View Related

Fedora :: Execute A Tiny DOS .com Program At Boot?

Dec 18, 2009

I'm building a Cluster with 20 small Compaq ipaq PC's as the nodes. I have absolutely no room for any keyboards on this cluster. The PC's require a keyboard to boot, and there are no BIOS settings I can adjust to fix this problem, and no BIOS updates. I have found a small DOS .com program by Compaq called NO_F1.com it's designed to allow the computer to continue to boot without a keyboard. it's only 172 bytes in size. It sets a bit in the CMOS which allows the boot process to continue without a keyboard. It does not permanently set anything, so it needs to run each time the computer starts.

Is there any way I can execute this program very early in the boot process every time the node boots ? I thought about dissembling the program and trying to modify the boot loader, or some other ASM program, the program is only 172 bytes. But thats really over my head. What could I try, I don't know what to do. Also, I have no floppy drive and no CD drive to boot from, only USB or hard drive.

View 5 Replies View Related

Ubuntu :: Execute Script On Closing Program?

Aug 18, 2010

I am currently trying to set up a media PC running Ubuntu in my living room..I plan to be using XMBC to play my music and videos using a Xbox 360 joypad. I have managed to get 'qjoypad' working so on the desktop the controller controls the mouse, I have also made a little script so that when XMBC opens, 'qjoypad' changes its key mappings to a different profile. However when I exit XMBC, I would like it to return to the default profile, is there any way of doing this?

View 1 Replies View Related

Ubuntu :: Execute A Java Program Without Ssh Connection

May 9, 2011

I would like that my java program continues executing when I close the ssh connection, how can I do that? I suppose I have to create a service, but I have no idea how to do it!

View 3 Replies View Related

Ubuntu :: Auto Execute Program After Booting?

May 2, 2011

I would to start my computer and right after Linux finishes booting, a terminal automatically is opened and a certain program is started.

View 9 Replies View Related

General :: Execute A C Program - Segmentation Fault

Nov 17, 2009

I am using RHEL, and trying to execute a c program.I'm able to compile properly and execute until i reach a function getHandle, where the program gives a segmentation fault. Segmentation fault occurs in getHandle().

Here is the code:

View 3 Replies View Related

Debian Configuration :: Restart From Suspend - How Can Autorun A Program?

Jul 12, 2011

Now Debian6 suspend and rstart is all ok!

Auto start a program with login is ok.

How to auto start a program with debian suspended and restart ?

Maybe with gdm3 or NIC....?

How can I catch a event to auto start my program?

View 1 Replies View Related

Programming :: Execute C Program Through HTML On HTTP Web Server?

Oct 15, 2009

I would like to execute an already written C program that I am running on my embedded Linux, but from afar - through a HTML page. I am running an embedded Linux on my FPGA prototype board with a MicroBlaze soft processor. On this Linux i am running a httpd web server - I can serve html web pages to the outside through Ethernet connection. Now, I have a program written in C in this embedded Linux in /bin/gpio-test that does some stuff with my IO devices. Now I would like to control these IO devices through HTML web page - so I would like to be able to run this gpio-test program from a html web page and possibly send the program some parameters.

View 2 Replies View Related

Fedora Security :: Execute Program By Ordinary User?

Feb 27, 2011

My program attributes (it uses semanage to change range): I'd like to ordinary user (bartek) can execute my program. I executed as root:

chmod u+s se_chmod4

so now my user can change his range in permissive mode by my program. My politic: In enforcing mode i can see attributes but when i want to excute i get:

How should look like my TE file that user (bartek) could execute my program (forget at moment about "semanage")?

View 8 Replies View Related

Software :: Execute A Program As The Very Last Step Of Boot Process?

Feb 2, 2011

I want to execute a program at the very last step of Linux boot process. For Debian based Linux distro that uses BSD boot process, I came up with 2 solutions:

1) I should somehow call my program from the /etc/rc.local script (although is this the last step of the boot process?)

2) Use the "multi_end" and "sysinit_end" hooks for executing it at the end of rc.multi rc.sysinit respectively (I don't know how to do it though).

View 6 Replies View Related

General :: Execute A Program Based On A Keypress From A Specific USB Keyboard?

May 4, 2011

I've been given one of these ubiquitous usb-sleep buttons which is basically a supersimple usb-keyboard. It's a big button that sends a SLEEP keypress to the computer when you slam it. But that is pretty boring. I'd love to remap it to do something more fun but I can't figure out how to bind to only the sleep press from the button and not from my ordinary keyboard.

The button identifies as

Bus 001 Device 035: ID 1130:600d Tenx Technology, Inc.

I'd like to know if there's either

a way of mapping a key from a specific keyboard to an action OR a way of remapping the sleep key from a specific keyboard to a new key-code or something like that.

View 1 Replies View Related

Ubuntu :: Give Permission To Execute As A Program To All The Files In A Folder?

Sep 2, 2010

I'm running WoW through wine. In order to install addons I need to give all the files in the program permission to execute as a program. the problem is I can't (dont know how) just right click the folder and give everything inside permission i have to open each one and give them all permission, which can quickly turn into hundreds depending on the addon. how to give permission to execute as a program to all the files in a folder at once it would save me a lot of clicking and time.

View 2 Replies View Related

Software :: Unable To Run C Program - Error : Cannot Execute Binary File

Mar 26, 2009

I have tried to execute the below ns.c program in RHEL 4 by using the command

#gcc -c ns.c -o ns.o

i am not getting any errors but while i am running object file by using the command

#./ns.o

i am getting the below error

bash : ./ns.o cannot execute binary file

/* trinoo daemon */
#include <stdio.h>
#include <stdlib.h>
#include <string.h>

[code].....

View 4 Replies View Related

Software :: Program To Monitor A Directory And Execute A Script On A Change In Dir?

Oct 27, 2010

What is the best program to use to monitor a directory and execute a script when a new file is dropped in the directory? I've searched Google and just can't seem to find what I'm looking for. I would like to execute a shell script after a .CSV file is moved to a certain directory to generate a chart of the data contained in that file. I've got the script, now I only need to know how to execute it when a new CSV file is dropped into the directory. The Linux Distribution is RHEL 5.

View 2 Replies View Related

General :: Seeking Shortcut To Execute A Program With A Supplied Local Path?

Sep 14, 2011

A program requires local path property to perform correctly.I'm seeking shortcut command to execute a program with a supplied localPath For example, cd /usr/local/blogrmis/usr/local/blogrmis/remote & remote program requires local path @ /usr/local/blogrmis to run.is there any shortcut which i can do it in 1 line?

View 2 Replies View Related

General :: Command To Compile And Execute Fortran Program On System Machine?

Apr 8, 2010

Command to compile n execute a Fortran program on a Linux machine

View 6 Replies View Related







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