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]
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?
I run a program by executing this command in a terminal screen.Code:coco@coco-desktop:~/Escritorio/MO_1.10/MagnumOpus$ java -jar MagnumOpus.jarSince it is a bit tedious, I tried to create a launcher. I copied the above code into the Command box. The launcher is created, but fails to run the program. Instead I get an error message.
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?
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.
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?
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?
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.
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.
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.
I'm trying to create a script where all I have to do is double click the script file, and it opens and runs 2 commands. That's it. Or run a command from a certain directory.
I'm looking for something similar to Batch files in windows. I've looked and found the shell scripts and I created one, and it works and runs the script, but it doesn't open the terminal for me.
In short, a way to make a script, where all I have to do is double click the file, and it runs,
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.
I'd like to run a program [URL] from the GUI menu (yes, I know I can run it from the command line). I've gotten this to work by using a menu entry (see attached screenshot).The command is:
Code:
gksu chkrootkit
with the option for Type: was selected as Application in Terminal However, when chkrootkit is finished, the terminal immediately snaps shut according to the profile selection: When Commands Exits: Close terminal What I'd like to do is create another profile that causes the terminal to be held open (see screenshot) when the command exits and be able to choose that profile from the GUI Menu entry. I believe the command when using the CLI is:
Code:
gnome-terminal --profile=<profile_name>
how do I incorporate this within the Command entry line of the launcher?
i started using computer when it was all dos driven so thought i was going to be fine using the terminal in ubuntu the problem i am facing is i can not quite get my head round why is it if i load the terminal. and the first this i type is dir or ls it gives me a list off directories. So why is it if i type cd /pictures i get no such file or directory ? Confused
This also bugging the jebus out off me is i am trying to get into my usb pen drive from the terminal to run a program i have on there.
so i type cd /media then typed ls is displayed New Volume <-- This being the name off my pen drive i have tried every this to get into there but the commands i would use in dos are not playing ball.
Can some one please explain how to get into my usb pen then tell me were i can go read on this as i really can not get my head around this at moment.
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.
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.
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.
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
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?
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?
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.
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
Trying to COPY some of my DVDs, I've had tons of problems with the various applications such as K3B and Brasero (not putting them down though, just my experience). Recently I found the commands to use dvdbackup, and it worked perfectly. I can copy my DVDs easily and flawlessly. Really happy about that. Is there a command-line way of creating DVDs? I've got to say that using the terminal has been the most reliable and robust for me. Is there a way to create DVDs via the terminal? I'm running Ubuntu 8.1 on a Dell laptop.