Ubuntu :: Creating Simple Program To Automatically Run Command

May 12, 2011

I need a program that automaticly runs this command in the terminal when I use it:
sudo modprobe nvidia_g210m_acpi
Sure, I know that it's not that hard to just write it in terminal and so on, but I really want a program for it. I'm using ubuntu 11.04 if U need to know that?

View 8 Replies


ADVERTISEMENT

Ubuntu :: Creating A Simple Gtk Program Through Terminal?

Jun 10, 2011

I am wanting to try creating a simple program through Terminal. Anything will do. A window or button, etc. I haven't found anything simple enough online yet, but I'm sure they're out there. I just want to expand my knowledge of gtk type stuff. Sorry if this is not the correct category to ask this. I was going to put this on the Community Cafe forum, but chose General Help instead. I am running Ubuntu Lucid. **Edit note: I did try the procedure described at the url (below), but I got all kinds of errors in terminal. [URL]

View 1 Replies View Related

Programming :: PHP - Creating Basic Simple SSH Command To Machine Over SSL?

Jan 18, 2011

I was thinking to install a very basic SSH gate, secured over SSL, like this [URL]
using PHP. However I would like to have it very basic and simple to install. (not database SQL, nor complicated things, ...) so that I get a prompt page with login and password to access the SSH-internet, and then can SSH the linux box over SSL and regular port 80 like they do. passwd would be in a txt file or whatever. You use index.htm and no one can scroll the tree of the directory. Would have someone already embedded php code for that?

View 1 Replies View Related

Programming :: How To Compile / Simple Tutorial For Making Simple Program

Oct 7, 2010

i'm a college student studying pc programing, and i was given today a special work and i have to program using miranda... which i've never used it >.< can anyone give me a hand to where to download, how to compile, and a simple tutorial for making a simple program or something?

View 3 Replies View Related

Ubuntu Networking :: Creating A Simple Workgroup Network

May 11, 2010

I am using an Ubuntu 64 bit desktop. I need to create a network (the way you create a workgroup in windoz). I have two other machines running Ubuntu also and all connected to a 3-Com switch through ethernet. I would prefer not to use DHCP, and just have a simple network where I can share resources like drives and printers.

View 3 Replies View Related

Software :: Creating A Simple Postscript File?

Apr 4, 2011

I would like to do something that should be fairly simple but can not find a way for it.

I want to make a page in postscript or pdf format containing four lines of text and two png images.

Would you know an easy way to concatenate my text file with the two images in a ps or pdf file?

I need a solution that works via command line only as this is for a script.

I use redhat 5 for this and would prefer not having to install any extra software.

View 12 Replies View Related

Programming :: Creating Simple Webcam Effects?

Apr 13, 2010

I want to create simple webcam effects filters. I am only interested in doing relatively simple image processing like blurring or averaging the color. I would like to create the filters in either C or Python.

So before I dive into using Gstreamer or V4L I wanted to ask the forum if they have had any experience with webcam development?

View 2 Replies View Related

Ubuntu :: Inbuilt Logging System - Ran And Installation - Program Opened Automatically - Can't Find Program Executable

Feb 23, 2011

I was wondering whether there is an inbuilt logging system in UNIX?

I ran and installation and the program opened up automatically but I can't find the program executable.

If I could find a log then I could locate this file.

View 9 Replies View Related

CentOS 5 :: Creating A Simple Live CD That Executes A Shell Script?

Mar 9, 2010

I would like to a build a CD image (of CentOS 5, x86_64 that loads into memory and boots to the OS without installing anything to hard drives. Then I would like the system to execute a shell script automatically. The shell script will have commands that will control execution.

The goal of this exercise is basically to pre-configure a system (RAID config, BIOS update, etc) automatically using the shell script before installing the OS. I would like the ability to change the shell script as needed and probably repackage the ISO image. I would prefer not to deal with building a source tree to accomplish this. this is something one could do using mkisofs.

View 1 Replies View Related

Ubuntu Multimedia :: Need Simple Microphone Program

Apr 17, 2010

I need a simple program that I can talk into a microphone and the sound will come out the speakers. I want to use my Computer that's hooked up to the store speakers as a PA System.

I am having a difficult time finding a program that will let me do this without having to record and playback. Any help would be wonderful.

View 6 Replies View Related

Ubuntu :: Simple-to-use Speech-to-text Program?

May 18, 2011

I've got a bunch of hand-written notes which I would like to put into Kabikaboo (great app by the way) - but it is a real pain reading stuff then typing it up. I'd like a speech-to-text app, so I can just read my notes out loud and the computer will turn them into text files.Looking through Synaptic, all I can find is Julius; and that does not seem to be an easy-to-use app at all. So many parameters to set, an impenetratable (to me) manpage; and although I am a CLI user quite often, some kind of GUI would be nice.

View 4 Replies View Related

Ubuntu :: Finding A Simple Program That Pops Up Reminders?

Jul 20, 2011

I am just looking for a simple program, nothing overly complex with crazy features. Just something that pops up above any browser/window and remains that way until you click it or something. The pop up would occur periodically or at sometime each day. It would say something like "TAKE A BREAK FROM COMPUTER" lol and other things. not suppose to be some full reminder program like a calendar.

View 2 Replies View Related

Programming :: How To Write Simple C Program In RHEL5

Sep 17, 2010

How can i write a simple c program in my RHEL5?I am more concerned about what are toosl i need to install to get a C platfrom running in my RHEL5?

View 14 Replies View Related

Ubuntu :: Installation / System Creating Automatically Another Partition

Nov 11, 2010

I had problems with my old Ubuntu version,so I decided to upgrade to Ubuntu 10.10. As I wanted to keep my old files I didn't choose the erase the hard disk and install option so the installation system created automatically another partition.

Now that I've installed it I want to delete my old Ubuntu version AND keep my old files, or at least the most important ones (videogames saved games, openoffice documents, music and video). BUT there's one big problem, I can't start the old partition, if I try to run it it runs OK except that I don't see anything in the screen (yes, I listen to the Ubuntu start sound and so, but can't see anything). It happend before, that's why I changed it.

View 1 Replies View Related

Applications :: Building A Simple Program With Putty Commands?

Jun 9, 2010

I'm interfacing with a device using putty and right now I have to use a reference document to dissect the data I'm sending and receiving. I'd like to build a program that can build packets according to user input and then dissect them upon receipt; basically an [ english <=> proprietary packet structure ] program that talks to the device via USB. The packets come in varying sizes, but are composed of well-defined fields and values.

View 6 Replies View Related

General :: SSD Trim Simple Bash Script Program?

Jul 9, 2011

I wrote this script which works but it should run automatically about once per week. I hunted and experimented with KDE Task Scheduler (no dice and no help anywhere) and cron (confusing instructions and cannot edit crontab -e with vim, and cannot enter cron folders/files). I would settle for a desktop shortcut to run the script but found no for that.

Script:

Code:

#!/bin/bash
xterm -hold -e fstrim -v /
Machine:
OS: openSUSE 11.4 x86_64

[code].....

View 13 Replies View Related

Programming :: Simple Download Scheduler Program Code?

Apr 30, 2010

I have created a simple download schedular with source-code give below :

---------------------record_strokes.sh-------------------
touch /home/student/packs/lynx/logfile
lynx -cmd_log /home/student/packs/lynx/logfile

[code]....

View 10 Replies View Related

Ubuntu Servers :: Folder Permissions Automatically Set When Creating File

Apr 27, 2010

I have a little problem: I have a share folder on Ubuntu server: - Dump That folder is share with SAMBA and everyone can put files on it
My problem is the following: When someone create a folder, the folder permissions are automatically set with:
(let's take my username: Yann)

Owner: Yann
Group: Yann

Clearly that's wrong.. I want the Group to be auto set has "users" so everyone can access the folders on that share. Anyone know how to change this ? chmod and chown is getting a bit boring

View 2 Replies View Related

Slackware :: Creating A Bootable DVD To Automatically Restore?

Feb 4, 2010

I'll be away from home for the following weeks (and perhaps months). I want to use the Internet with confidence, so I have setup an old computer with SSH and I'll be tunneling to that (from a netbook).I haven't remote-managed a computer for such a long time and I want to be sure that even if I do a mistake remotely, I can bring the computer back to a good known state.The home computer will reside inside my aunt's house and she knows very few about computers.

I've been thinking about burning a bootable DVD containing a tarball of a freshly configured Slackware. If I mess up, I can phone my aunt and tell her to simply put the DVD inside the drive and press ctrl-alt-del. The DVD boots, un-tars (the fresh Slackware), ejects the CD-tray, waits for her to press Enter, closes the tray, and finaly reboots to my good old known fresh Slackware.

View 8 Replies View Related

General :: Write A Simple Program C++ To Connect To Mysql Database?

Sep 5, 2010

I'm trying to write a simple program c++ to connect to Mysql database based in my 127.0.0.1 server:

int main (void) {
cout << "33[2J" << "33[0;0f";
MYSQL mysql;
MYSQL *conn;

[code]....

View 2 Replies View Related

Programming :: Call_usermodehelper - Loading A Simple C++ Program Like Hello World With Driver

Dec 13, 2010

all i want is loading a simple c++ program like hello world with this driver. everything works fine except it doesnt start the program. because ret returns with 0 i think the program works fine but I think i messed up something about how to start the c++ program. i used this example for my program but it doesent work too.

[URL]

is there anybody out there who can give me a hint what i messed up? i use ubuntu with 2.6.32 Kernel.

[Code]....

View 1 Replies View Related

Programming :: Write A Simple Character Printing Program Using NASM?

Jul 27, 2010

i tried a code to accept a character and print the same ! i can accept it with following code but its not working with printing that character i use NASM version 2.07

Code:

segment .data
msg1: db 'Enter a key',10
msg1len: equ $-msg1

[code]....

View 3 Replies View Related

Programming :: Errors - Make Pop-up Reminders For The Simple Calendar Program?

Feb 21, 2010

First off, I'm completely new to bash scripting so forgive me if I make any egregious errors. I'm trying to make pop-up reminders for the simple calendar program when. This is what I have so far:

Code:
#!/bin/bash
# set the time format for when
#current="$(date +%I:%M %p)"
current="$(date +%-l%p)"
today=~/.when/today

[Code]....

When I run the script, gxmessage pops up and displays the correct information, but it does so for each line in "~/.when/today" that contains a time that matches the current system time (which would be three pop-ups at 10PM, according to the example). I want it to display the information only once. How can this be accomplished? Is a while loop even the right job for this?

View 8 Replies View Related

General :: Creating Stable, Automatically Reconnecting PPTP Connection In Ubuntu

Aug 13, 2010

I've been using network-manager-pptp to create a PPTP VPN connection in my Ubuntu virtual machine for a while now, but I have constant problems with random disconnects. I don't know what the cause of the problem is, but I suspect that network-manager-pptp is not the most well-written piece of software around...

Is there another way of instantiating PPTP connections in a more robust manner? The same PPTP server works reasonably OK with Windows 7 (some disconnects, fewer than in Ubuntu, and Windows has an auto-reconnect feature).

I read some guides on using the pptp command, but they all seemed pretty low-level, messing around with ppp. I never found the time to figure out how it all was supposed to fit together. Has anyone accomplished what I'm trying and is willing to share the knowledge?

EDIT: Tried kvpnc, and it seems the stability is more or less the same as network-manager-pptp. The error message is "Modem hangup".

To clarify, I understand that the connection can go down, but I want to be able to reconnect automatically when disconnected.

View 1 Replies View Related

Ubuntu Multimedia :: Simple Midi Editing Program Similar To Jazz++ Or Anvil Studio?

May 20, 2011

Stupid browser froze up when I tried to submit this before... *sigh* Anyway, is there a simple midi editor that that isn't Rosegarden and doesn't require JACK? Something would simply let me load a Soundfont, and then edit and export a multi-track midi file without a bunch of other stuff you have to do?

View 2 Replies View Related

Ubuntu :: Run Simple Command At Startup?

Apr 10, 2011

How would i make ubuntu just execute this
Code:
deluged -p 10002 -c ~/delugebig/ at startup? Just print it as if i myself would print it in the termial.

View 5 Replies View Related

Ubuntu Multimedia :: Simple Command For Sound?

Mar 13, 2010

I wanted to know if there was a simple command for the default sound in ubuntu. An example would be typing volume = 42 into the terminal or something. I'm not looking for alsamixer or anything like that, but maybe thats the only option.

View 1 Replies View Related

Ubuntu :: Creating A Startup Program

Sep 19, 2010

Will a program (created using Real Studio) that's placed in the startup queue run? I tried just this, and while there was no error at startup it appears the program had no effect. It is a shell execution to set my screen-blanking time. The program does work once I am up and running though. I am using Linux Mint 8 on a T30 Thinkpad.

View 7 Replies View Related

Ubuntu :: Use The Date Command In A Simple Bash Script?

Oct 26, 2010

I am trying to use the date command in a simple bash script as below:

#!/bin/sh
this_date=`date`
echo "The date is $this_date"

This script seems to work only if a surround the command with the `` characters, which I copied from another script. Can anyone tell me why this is, and how I can insert these characters from my keyboard,which only has normal quote and double-quote characters?

View 5 Replies View Related

Programming :: Create A Simple Program With Will Continually Read Input From The User Until They Enter A Blank Line?

Apr 6, 2011

basically i have to create a simple program with will continually read input from the user until they enter a blank linei know how to read in certain input but not sure how to get it continually in a loop

View 2 Replies View Related







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