Programming :: Create GUI For Sh-script?
Aug 7, 2010How i do create GUI for my sh-script
View 5 RepliesHow i do create GUI for my sh-script
View 5 Repliesi got to build my own linux shell for my project
View 5 Replies View Relatedim trying to build my own tablet computer. my original idea was to build the os from scratch but then i thought it would be easyeir to build a GUI on top of a linux os. the idea would be that it would be linux in esance but would boot into my gui instaed of ubunto or fedora or something. the problem is i cant find any tools that i could do this with. I found sites that say i can create my own distro but they turn out to only do things like preinstall software. i realy want something that basicly lets me remake the GUI. I have limeted knowlodge of linux but i have programed games and software before. any tips or programing environments are welcome.
View 1 Replies View RelatedI'm currently working on my graduation project and have chosen to strip a Ubuntu version of Linux and customize it.I downloaded the LFS book and have started reading it, I'm really just looking to create a new Man or at least rename it and create some commands for it. Also I'm looking to create a new Gui theme with some custom icons.
View 3 Replies View Relatedcan any body tell me how to creat a log file in linux...when i run the script the details must go to log file...
View 8 Replies View RelatedI want to create my own packet for aodv so how can i do? from where i should start?
View 2 Replies View RelatedHow would I create a sed or awk command that would add a | to the end of a line if it wasn't already there? I'm trying to import some files into mysql, but some of the lines to not end with a | which is my field delmiter.
View 14 Replies View RelatedI take responsibility for data backup my centos server. Please help me backup data using tar. following scenario:- Sunday - full backup- the rest of differential backup.We're back up to full as follows:tar-cvzf / backup / backup-date.tar.gz / data
View 6 Replies View RelatedI am using NetBSD-5.1.1. I wanted to know what happens internally when we create a file in linux. ( In general )?The header file STDIO.H present in "src/include/stdio.h" contains a "FILE" structure with various members like _p, _cookie, etc.2. I wanted to know how does internally memory gets allocated for them.?
View 1 Replies View Relatedi did this code:
reads 1 matrix 2x2 and print!
Code:
# include <stdio.h>
int main()
{
int t, i, M[2][2];
int big[2];
[Code]....
Now i want to create 2 vectors:
1 vector: has the biggest number of every line on the matrix
2 vector: has the lowest number of every column on the matrix
I want to create 3D animation and also make some big programs. Is python capable of that? or should I stick to C++?
View 3 Replies View RelatedI am customizing the CentOS and I want to change the complete look and feel of the OS. I know all the installation wallpapers and images comes from the rpm mentioned above.
Even I extracted the said rpm using rpm2cpip and have replaced the my customized images but not sure how can I prepare my new RPM to include that in a my build.
Does any have any clue or I should go for src.rpm?
i want create a phpfile from script.
i tried 2 ways, but both give the error, permission denied
way one:
cat > /var/www/phpinfo.php << "EOF"
<?php phpinfo(); ?>
EOF
(also if i did
[Code]....
So I was reading one of the Unix Philosophy rules by Eric Raymond:# Rule of Composition:Design programs to be connected to other programs.How does one achieve that? I know one could several C programs and then use a bash script to feed in the stdin, but how do you do that with just pure C, do you do it with pipelines?
View 2 Replies View RelatedI`ve just installed opensuse 11.4 and i dont know how to write and compile my programs
is there a compiler like turbo c++ to use??
The only API i have found for something like this is gdk_bitmap_create_from_data. But it requires XPM data, not raw. So, how can i make a bitmap from raw 'char[x*y/8]'?
View 3 Replies View RelatedI want to try to create my own virtual device in Linux. Something simple, for example, a /dev/fortune virtual device that returns a line from fortune() each time you read from it.
I am willing to do my own research and study, I just need to know where to start. E.g., what to read or what to google, in order to get me where I want to go the fastest. I have some C/C++ and Ruby background.
simple program to create a segmentation fault:my problem is if i include the same code char *s="hello world"; *s='H'; in my project, it is not giving any seg fault, instead it runs without any problem. what may be the issue.
View 13 Replies View RelatedI need a script that takes data fom a file mydata.dat and create a graph. the content of mydata.dat is Bin Data1 Data2 Data3
Then it asks from the user to select which colums with use for x and which for y. the x and y titles must be generated automaticly by the names of each column from the first line of mydata.dat the limits must also be auto generated by the width of the column (for example for data2 is 12-45). in the end for graph title must shown the current time and date in this format:
So it asks for the user the columns and in the end it shows the graph with the above settings.
How to create a simple Makefile using C....
View 3 Replies View Related$val = mkdir $directory, 755
print $val;
does't create directory but return as value '0'
[code]....
I'm starting with menus, but I can easily adapt it to everything else. I just don't see the data structure yet.Here is my base file:
Code:
#!/usr/bin/evy python
'''create basic window, with a button, status/menu bar and dialog boxes'''
[code]....
I am using RHEL 5.0 and I have some trouble with a CSV file.
What I need to do is to grab all the elements from the 3rd column and place them each on a new line in a different (new) file.
For example, if the CSV file is code...
I tried to threat each line as a string and grab the 3rd element, but for some reason it fail.
Can we use CRON to create new user accounts?
View 4 Replies View RelatedI have a file with 5000 lines. it is a list of books authors, series and titles. all lines start with the author names, than there is a dash (-) than the series name, a dash again and the title of the book.
The problem I encounter is that sometime there is a series, sometime not, and as I try to enter this list in a database, I wanted to create a cvs file to import into mysql.
ex:
The best would be to be able to add in the second line, a "space dash space" just after the author name, but how to make sure it does not do it to the first line as well.
If I could separate all line with 2 dash, (grep ?) then I would be able to do a simple replace, and change the single dash into two.
I would like to create a bash script that creates a single group from all users in other groups.
I've been at it most of the day, and I think I'm making it too complicated. I have about 100 lines of code, and it's still now working the way I would like. I'm starting to trip over my own feet with the amount of if statements and variables.
I'm trying to figure how to create an small array of 3x3 arrays such I can do
Code:
SUM1(i) = SUM1(i) + SUM2
where i goes from 1 to 8 and SUM2 is a 3x3 array.
I having the following awk line in a script, is it possible to modify the script so that it create a the directory if it dosnt exist (similar to mkdir -p) awk -v datum="$DATUM" -v workingdir="$workingdir" '{ sub("\[.*","",$5); print > workingdir"/"datum "/" $5;}' $1
View 1 Replies View RelatedIm wondering how to create a menu in c like bash's select. I imagine there is already something out but I don't know what it would be. Im a c newb but been scripting for a long time now and trying to pick up a little c.this would be what I am looking to display:
Code:
1) option 1
2) option 2
3) option 3
Make a selection:obviously 1,2,3 would be the only valid selection and anything else would say invalid or something like that.
I want to make a script that will automatically change me into the directory I was in previously. I don't know if this could be added to my .bashrc or have it be a standalone script. Can I just alias last="/bin/pwd > /path/to/file"? But then I'd have to add it to the cd command somehow right?
View 4 Replies View Related