General :: Write A Script That Will Change Just One Item?
Jul 12, 2011
Im trying to post some data with curl. What I have is an html form that has many items. When I use a web browser to post data I can change one item easily. When I use curl (or wget) it will change the item that I tell it to but all other items in the form are erased. Im trying to write a script that will change just one item and preserve everything else. The problem is that I dont know what the values are before hand. Every example ive seen uses firefox addons or some other method to tell what to post. This would be fine but is not scriptable.
View 5 Replies
ADVERTISEMENT
Aug 26, 2010
I have a program in the Applications --> Internet tab of the menu, I want to change the link location, how can i modify the contents of this menu?
View 4 Replies
View Related
Feb 3, 2010
I downloaded Eclipse and am trying to create a launcher for it in the main menu. I finally figured out that a .desktop file needed to be made in /usr/share/applications, but I can't get the icon to show up. For the "Icon" field in the .desktop file,tried giving an absolute path to an icon in my home folder, and I also tried putting the icon in all the folders under /usr/share/icons and just putting "eclipse" (the icon file name) as the valueI had copied this last from some of the existing .desktop files that worked, but still had no luck. Does anyone know how to do this?
View 3 Replies
View Related
Aug 22, 2011
I'm wondering if it's possible to create mail packages and put them into the postfix queue simply by writing files to the hard drive.Currently I have a script which uses a socket connection to dump the data in, but if I could write it directly to the hard drive this would speed things up considerably. Is this possible?
View 3 Replies
View Related
Mar 3, 2011
My Linux release version is fedora14,and windows manager is Gnome.I want to add an item that "send to the portable disk" in the shortcut menu when I click the right button on a file. What should I do?
View 2 Replies
View Related
Mar 6, 2010
in a tab-delimited file, such as:
Code:
111aIab
222bIIbc
[code]...
View 3 Replies
View Related
Oct 30, 2010
I have to computers: 'A' (linux) and 'B' (windos). On 'A' I have a linux system that i copy over to a movable disk on which i install the lilo bootloader. Now when I move the disk to 'B' I am able to boot into the new linux system, however I would like to have an item in the lilo boot menu from which I can boot the windows system on 'B' also. And now the tricky part: I would like to create this item when the disk is still on 'A' where windows is not present.
I have tried using "disk = /dev/hda1 inaccessible" without any luck.Is it possible to "cheat" lilo into adding an item pointing to a disk that is not present on your system ?
View 2 Replies
View Related
Feb 17, 2010
I want to write a shell script which will simultaneously collect OS user information and write in an individual text files.Can anyone tell me the syntax of the script.N.B. The user name will be mentioned in an array within the shell script.
View 8 Replies
View Related
May 29, 2010
I just installed Ubuntu 10.04 on my system, and I put in a really old game CD for my really old computer. I cannot run the setup program , however because "it is not executable". I can't change this , because it is read-onlybut I can't chane this either. As I'm new to this, I was wondering .
View 5 Replies
View Related
Feb 9, 2011
I am using the package Quantum espresso to get electron phonon coefficients for monolayer graphene. While applying one of the executables, I got the error: "At line 356 of file q2r.f90 (Unit 51 "a2Fq2r.51") Traceback not availabel: compile with -ftrace=frame or -ftrace=full. Fortran Runtime error: bad real number in item 1 of list input
View 3 Replies
View Related
Dec 8, 2010
I want window to be closed when i middle click on the corresponding taskbar item. Can this is be configured in KDE4?
View 1 Replies
View Related
Aug 6, 2010
Writing a Shell script which changes my X11.org config to 800x600 from any other resolution .
View 1 Replies
View Related
Mar 22, 2011
I am not the best with Linux but at the same time like to think I am not the worst, Anyways like stated above my dvd drive is saying its read only and i would like to make it read/write here is some info:
*-disk
description: ATA Disk
product: ST3500418AS
vendor: Seagate
physical id: 0.0.0
bus info: scsi@0:0.0.0
logical name: /dev/sda
version: CC46
serial: 9VMRTLT1
size: 465GiB (500GB)
Capabilities: partitioned partitioned:dos
Configuration: ansiversion=5 signature=0005ce96
*-cdrom
description: DVD reader
product: DVD-ROM SD-M1612
vendor: TOSHIBA
physical id: 0.0.0
bus info: scsi@5:0.0.0
logical name: /dev/cdrom
logical name: /dev/dvd
logical name: /dev/scd0
logical name: /dev/sr0
version: 1806
capabilities: removable audio dvd
configuration: ansiversion=5 status=nodisc .....
View 2 Replies
View Related
Sep 23, 2010
Canceled a sys backup in progress now my Waste bin is at max and must be emptied.However OpenSuse 11.3 contradicts itself by claiming there is 0 in the waste bin? Perhaps there is a Bash command that would solve the problem
View 8 Replies
View Related
Jan 17, 2011
ok trying to use grip but it keeps giving me this messageCode:No write access to write encoded fileso i have a folder in my home folder called flac and i want to modify the folder so that all files within can be written toi have tried
Code:
chmod -R 777 flac/*
and
[code]....
View 9 Replies
View Related
Apr 23, 2010
I can't write to directories inside my main file system. This is annoying, how to change?
View 3 Replies
View Related
Apr 16, 2010
I need to write program (preffer Python) to change range for users. Does anyone know some library which can help me to do that? Maybe someone has written program like that?
View 5 Replies
View Related
Oct 8, 2010
I'm using vim quite extensively for editing code segments. Two of the most common commands I use are :bn (next buffer) and :bp (previous buffer). However, using :bn, navigating away from a file I'm editing, shows the message "No write since last change (add ! to override)", and only :bn! or :w and then :bn works. I know there's a way to stop this from happening - probably something in the .vimrc file...
View 2 Replies
View Related
Feb 12, 2010
any way to add the desktop as an item in the alt-tab(like in windows)?
View 3 Replies
View Related
Jan 31, 2011
solve the following problem...mtrr: type mismatch for c0000000,10000000 old: write-back new: write-combiningThis i am getting many lines in DMESG.
View 10 Replies
View Related
Feb 15, 2010
Just recently after update Squeeze, Adobe and Google chrome disappeared from my gnome main menu, and even I wanted to add them by myself, nothing worked out.
Yet another problem, I have to use EDUROAM in university, when i use Debian, with the same strength of signal, it can not make a connection, but can be very well used in Windows. I am suspecting 'Network manager'.
View 3 Replies
View Related
Jun 29, 2011
How can I add a new menu item to gnome 3?
Does alacarte work like it used to in gnome 2?
View 8 Replies
View Related
Jan 2, 2010
IM using Ubuntu 9.10 running from USB,
My current text.cfg --->
default live
label live
menu label ^Run Ubuntu from this USB
kernel /casper/vmlinuz
[Code].....
i tried to add these lines in the test.cfg , but its not working. i do hav these folders and files with in the disk
View 1 Replies
View Related
Jan 22, 2010
i would like to add a item in the menubar for all users. I know how to add for 1 user but not how to add for all users
View 1 Replies
View Related
Mar 3, 2010
I am very very productive with the new Windows 7 taskbar. The ability to press Winkey + # to either:
1) Minimize that window if it is the window that currently has focus set to.
2) Restore the window the key combination is pressed but the window is not currently open. For example, if Firefox is the third tab across the bottom of the taskbar, and not currently open, I would like <Super> + 3 to restore this window for me, instead of having to do alt + tab, tab, tab, tab [OH! Now I finally got to it!]. I just work much faster with this convenient shortcut.
The Problems
1) I need to know how Ubuntu remembers the current location of an item on the taskbar. It must, as you are able to re-arrange items with a drag of the mouse. I need this to find out what item #, so when I press <Super> + num I can figure out what is the numth window across the bottom currently.
2) I need to know how to execute something like [psuedo-code for bash script]:[ie: How do I minimize? How do I check if a window is currently the focused window? How do I make it the current window?]
I am a programmer, I am willing to figure this out for myself at least partially, but how the hell do I find #1 without diving into thousands of lines of source? I could use some push in the right direction. I just switched to Ubuntu a month ago [from Windows, but I was very much a power-user and know my way around it well].
View 3 Replies
View Related
Nov 28, 2010
Is it possible to have an array in Bash that can hold more than one value per item?
For example I would like an array like this:
Entry 1: apple, green
Entry 2: banana, yellow
And be able to call the fruit names and their colour in a list. Something like:
for fruit in "${array[@]}"
do
echo a $fruit is $colour
done
If that is possible, is there a limit to values per item? For example some entries in an array could be:
Entry 1: apple, green, round, pips, tree
Entry 2: banana, yellow, long, skin, tree
And I would like to pick out the values such as #3 being "round" and "long".
View 3 Replies
View Related
Nov 17, 2009
Ive installed Gaussian '03 on fedora Core 10, but I'm unable to run it. It aborts and i get the following error
Code:
Erroneous write during file extend. write -1 instead of 4096
Probably out of disk space.
Write error in NtrExt1
View 3 Replies
View Related
Mar 2, 2010
I am dual booting Windows 7 sda1 and Ubuntu 9.10 on one hard drive. The second hard drive is data only. My grub menu shows at the end of the menu
Windows 7 sda1
Windows 7 sdb1
I think this is because I had a bad "A" drive that I just replaced and before that I did a lot of changing of the mbr and grub commands. So there must be something on the "B" or second drive that is causing this. Right now everything is fine with my computer and this is just house keeping. I would like to delete the "Windows 7 sdb1" menu Item if possible. Just to be clear, windows boots with the sda1 command (first menu Item), and the "windows 7 sdb1" does nothing at all.
View 3 Replies
View Related
Aug 3, 2010
How do you delete an item from your kde menu's search? Because I deleted the item from the kde menu editor, and it's gone but it still comes up in search.
View 2 Replies
View Related
Nov 23, 2010
Ubuntu updated the Kernel but now i get the two versions (old an new one) in the Grub menu, how do i remove the old version.
View 7 Replies
View Related