Ubuntu :: Writing A Simple Script / Function?

Jun 12, 2010

I use this command very often inorder to burn xbox games and it would be alot easier if i could just make a commannd line function where i pass it the location of the .dvd/.iso file.

Quote:

growisofs -use-the-force-luke=dao -use-the-force-luke=break:1913760 -dvd-compat -speed=2 -Z /dev/dvd=<LOCATION OF THE .ISO FILE>

was thinking it could work something like this

Quote:

cd /home/user/desktop/FOLDER LOCATION OF ISO
burnGame <NAME OF .ISO>.iso

View 3 Replies


ADVERTISEMENT

Fedora :: Get A Simple 'lock Screen' Function?

Jan 15, 2011

Is there a way to get a simple 'lock screen' function and Icon that will allow one to lock the screen etc by simply clicking a button? This used to be available in 'xscreensaver' but I cannot figure out how to get a similar function through 'gnome-screensaver'.

View 5 Replies View Related

Software :: Zsnes: Assertion 'p' Failed At Pulse/simple.c:384, Function Pa_simple_drain()

Nov 7, 2010

I am a little lost on this. Zsnes doesn't start and I get the following error when I try to run it in the terminal.

Quote:

Starting Mouse detection.
Unable to poll /dev/input/event8. Make sure you have read permissions to it.
Unable to poll /dev/input/event7. Make sure you have read permissions to it.

[code]....

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

OpenSUSE Hardware :: Multi-function Epson Stylus Sx218 - Can Not Run The Scanner Function ?

Mar 24, 2011

I bought a multifunction stylus sx218 Espon model and I can not run the scanner function. I did some research and found a few solutions and very functional. I hope someone solves the problem. My version of openSUSE 11.2.

View 9 Replies View Related

Programming :: How Can A Friend Function Access A Public Function From A Base Class

Nov 16, 2010

Code:
#include <iostream>
using namespace std;

[code]...

View 1 Replies View Related

Programming :: Passing Data From Interrupt Handler Function To Tasklet Function?

May 18, 2010

I am doing some Linux kernel programming for my research project. I need to record the timestamp (by using cpuid and rdtsc) when an interrupt handler (top half) is first invoked. Due to the time critical nature of the problem itself, I have to do the timestamping inside the interrupt handler itself (the first operation when the handler is called). However, I understand that tasks that are not so time critical should be deferred to a tasklet function (bottom half) for processing because other interrupts are disabled in a (top-half) interrupt handler. I am currently out of idea on how I can pass the timestamp information that I have obtained in the interrupt handler to the corresponding tasklet function.

View 2 Replies View Related

OpenSUSE :: Get Function Set_magic_quotes_runtime() To Function On The Newer Versions?

Mar 30, 2011

I'm currently using OpenSuse 11.1 web server. This is bad since 11.1 is no longer supported. the reason why I am using it is because Function set_magic_quotes_runtime() was no longer being used. (so I was told)

That being said, is there a way to get Function set_magic_quotes_runtime() to function on the newer versions of OpenSuSE?

View 9 Replies View Related

General :: Write Script To Use Function And Still Keep Function Active?

Feb 21, 2010

the function terminates if no key is pressed for 10 consecutive seconds. I tried using the -t option as suggested in some forums, but my version of showkey doesn't have the option of changing the timeout. The options I get are:

-h --helpdisplay this help text
-a --asciidisplay the decimal/octal/hex values of the keys
-s --scancodesdisplay only the raw scan-codes
-k --keycodesdisplay only the interpreted keycodes (default).

Is it possible to write a script to use this function and still keep the function active until an interrupt is recieved?

View 6 Replies View Related

Programming :: Bash Array Add Function Example Using Indirect Array Reference As Function Argument?

Jun 20, 2010

I looked on the net for such function or example and didin't find anything, thus after having made one i guess it would be legitimate to drop it to see what others thinks of it.

#!/bin/bash
addelementtoarray()
{
local arrayname=$1

[code]....

View 10 Replies View Related

Programming :: Declaring A Function In A Function - C Programming

May 24, 2010

I want to declare a function in a function, but had no success till now, see the error code below and visit the project at sourceforge

[Code]...

View 14 Replies View Related

Ubuntu :: Writing ISO To USB?

Apr 22, 2011

I want to create a bootable iso on usb, however not an Ubuntu or any linux distro on my USB drive. How would I go about doing that on Ubuntu 10.10?

View 9 Replies View Related

Ubuntu :: DVD Writing Is Broken In 10.10?

Oct 17, 2010

I've just installed Ubuntu 10.10 amd64, and can't get DVD creator to work. I just slide in a blank DVD-R, and copy/paste the files onto it, and click "write on disc", the usual way... It does it, and then goes on with a checksum calculation which is almost longer than the copy itself. And then it says the copy failed, and sure enough, all files are corrupted.

PS: I don't know how it happens, but with every new relase of Ubuntu they break something with UDF DVDs.
10.04 couldn't read UDF DVDs until the RC stage, a few days before the actual release (they'd broken the /etc/fstab)10.10 couldn't read UDF in the early beta stages. And now even after release it still can't burn data DVDs.

View 4 Replies View Related

Ubuntu :: Live Cd Writing To Xp Partition?

Feb 19, 2010

I had occasion to boot Ubuntu livecd yesterday on a Dell machine with XP installed. I pressed the Escape key during boot to see what might be happening behind the Graphic ...... and got a rather upsetting surprise ..... ... apparently Ubuntu was reading and writing to the XP partition ..... without any notification to me. I don't have the exact wording to hand, but what is said was that the XP install was 'dirty' and it was fixing it .... fixed! I used a 9.10 CD. Is there any information out there that addresses this behaviour? Is there a way to boot the CD and prevent this from happening? I do not expect or want ANY liveCD to write to ANY partition on ANY PC I might boot using that liveCD without my explicit permission/instruction. That this liveCD did write to a partition without asking or informing me is sufficient cause for me never to use such a liveCD again.

View 9 Replies View Related

Ubuntu :: Writing Cache In USB Pendrives

Feb 23, 2010

Whenever I plug-in my USB 8gb pendrive to copy a large file, it takes eons. Using Ubuntu 9.10 for AMD64. At first it copies a file at high speeds, because it's not actually writing to the USB but to the cache; at 500-700mb, the write cache is full and flushes, *while* still copying the rest of the file. Since the system is trying to access the USB in two different places at the same time, the transfer speed bunks down, often to 200-300kb/s. The final process, instead of taking 2 minutes, takes one hour.

This continues until 1.4gb, when the cache finishes the flush, the copy can continue streamlined and the last 200-300mb are copied again at quicker speeds. I've made a test, copying a 1.6gb file to the USB and waiting for the cache to get full. Once it happens, I copy another file of the same size to the USB at the same time, when it starts copying I cancel the previous copy - cancelling it could take 1-2 minutes, but once it's cancelled, the second copy goes amazingly quick since the pendrive doesn't have any access troubles anymore.

However, that means for the trick to work that I can't copy four 1.6 files to the 8gb pendrive, but only three. The fourth one would need an hour unless I start copying it just before the first three finish so the write cache is still not in use or something like that. So what I would want is that everytime I plug-in this specific USB drive (identified by its label or UUID), the automount parameters disable write caching for this drive. Is that feasible? Using fstab or how?

View 1 Replies View Related

Ubuntu :: Less Advanced GRUB When Writing ISO To USB?

May 22, 2010

I've rolled a custom version of the live CD, and everything's going great on it.I was asked to make it a bootable USB stick as well.This was simple enough by installing UltraISO on my Windows box and writing the ISO to a USB stick through the 'Bootable' menu. But for some reason it boots up to a slightly less-pretty version of GRUB.That's all well and good, but now the language selection menu is gone. Is there any way to get that menu in the less-pretty GRUB? At the very least, is there a way to hard-code the language there so certain people have sticks with certain languages?

View 1 Replies View Related

Ubuntu :: Deluge Webui Not Writing Changes?

Sep 9, 2010

Ive got a dedicated server setup to run the deluge daemon and access it through thee webui. i can add and even delete new torrents just fine but when i go into the options and try to change values like upload speed limits etc the changes dont take. im assuming this is a permissions issue but i don't know what files or directories to change.

View 1 Replies View Related

Ubuntu :: Writing To Flash Card?

Jan 24, 2011

I have a flash card that has been corrupted and have obtained a working .img file. I was told that I could not just drag and drop the .img to the card and that it needs to be written bit by bit to the new card. I am unfamiliar with the Linux terminal and would like to know what command or a how to get the .img file written to it. The .img file is now residing on the desktop.

View 3 Replies View Related

Ubuntu :: Jdb Constantly Writing To Disk

Aug 7, 2011

I've just completed a fresh install on natty, and I'm seeing constant disk writes of around 1Mb every couple of seconds.

I looked at iotop to find the culprit, and it seems to be the journalling manager for the ext4 filesystems:

Code:
215 be/3 root 0.00 B/s 19.23 K/s 0.00 % 5.89 % [jbd2/sda1-8]

Is there something I can do to adjust this behaviour somehow? I'm a bit concerned about wearing the disk out before its time...

View 2 Replies View Related

Ubuntu :: Systems Get Slow When Writing To Disk?

Jan 18, 2010

This is a curiosity of mine, and I expect a technical answer, if someone knows it. Why the systems become so irresponsive when doing hard-disk input and output? This happens even if writing is done to a secondary disk where neither the system or the swap are stored.

View 7 Replies View Related

Ubuntu :: Writing A Script That Unzips An Archive?

Apr 8, 2010

I'm writing a script that unzips an archive, edits it, and zips it back up.

That being said, I've got it all figured out except for the zipping it back up.

Code:
unzip file.zip -d /tmp/foobar
##regexes###

Now when i get to zipping the files back up, I don't want to include the /tmp/foobar directory I created. I want it to have the same tree as before.

I've gotten two commands to come close, but not what I want.

Code:
zip -r /tmp/file.zip /tmp/foobar/*

- this zips up the folders and files within /tmp/foobar/ however, it includes the /tmp/foobar tree.

Code:
zip -rj /tmp/file/zip /tmp/foobar/*

- this gets rid of the directories, however, it gets rid of ALL the directories, and doesn't preserve any within /tmp/foobar.

Now, by default zip will ignore /tmp/foobar if you're in that directory and running zip from there. But since this is a script I don't want to be limited to where I can run the script, or lower my standards to including changedirectory lines in my script. It seems to me like I should be able to 1-liner it.

View 9 Replies View Related

Ubuntu :: Reading/writing Ext3 Partition From XP?

May 9, 2010

I've used ext2ifs drivers to mount my ext3 partition in winxp, but I don't have write acces, it's mounted in a read-only mode, and i didn't check the rad-only box during the installation of the drivers. [URL] It's a straithfoward proces so I dont understand what I did wrong. I'm using fresh xp install with (more or less) all the updates and ubuntu 10.04 Also the partition is mounted at /home, so I dont know if that makes any difference.

View 1 Replies View Related

Ubuntu :: Using The Default Brasero With Many Writing Errors

May 15, 2010

I need to know if there are better burning utilities , I am using the default Brasero with many writing errors

View 2 Replies View Related

Ubuntu :: OpenOffice.org Crashes When Writing In Writer

Jun 9, 2010

I have the problem that whenever I write something it freezes up the window, my processor use rise to 100% and then it crash showing the OpenOffice.org crash-screen. This only happens in Writer and not Spreadsheets, Presentation refuses to start.

Info about the system:
OpenOffice:
OpenOffice.org 3.2.0
OOO320m12 (Build:9483)

[Code].....

Edit: Reinstalling the entire package and rebooting did not fix this issue.

View 7 Replies View Related

Ubuntu :: 10.4 Firefox Highlighing Bug - Writing Text

Jul 15, 2010

I'm having problems with writing text. It usually happens in the google search bar next to the address bar in firefox. The text sometimes automatically highlights itself at what appears to be random intervals, so i usually end up with the last part of a word (which is usually over-writing the first half, which was highlighted). This is extremely annoying as i have no clue what i could have done to cause this.

View 9 Replies View Related

Ubuntu :: Rhythmbox Not Writing MP3 Tags / Sort It?

Sep 23, 2010

Recently my Rhythmbox has been acting up. Every single time I try to modify the name, artist, or any other element of a song I have, I get this error ...

View 1 Replies View Related

Ubuntu :: Can't Change Writing Language In 10.10 - Bugged

Oct 18, 2010

Set up new Ubuntu 10.10 and it's all fine but the bug I encounter from time to time. Out of the blue, I can't switch languages, neither by keyboard shortcuts, nor from the panel icon. It happens in random time, and it must be some 10.10 bug, for it never happened on 10.04.

View 2 Replies View Related

Ubuntu :: CD-rw Packet Writing Can't Format Disc

Nov 8, 2010

I've used packet writing on cd-rw discs for a few years now. It's always a bit of a pain to set up after each new install of Ubuntu but once working it works well. With the new install of 10.04 it continues to work well on previously formated discs already used for packet writing but I can't format a new blank disc. I'm getting "input/output error"I've exhausted all the hints and tips I've gather over the years and found nothing new searching the net.

View 1 Replies View Related

Ubuntu :: RAID6 Writing Faster Than It Reads

Dec 20, 2010

Ok first off the write speeds are off the hook, 210MB/s on 5400RMS disks (5 disks in a RAID 6). However, read speeds are 68MB/s. I wondering first off, why? and secondly could this be an indicator of something not properly setup that might cause harm to my disks?

View 5 Replies View Related

Ubuntu Installation :: Burn Iso And Reinstall 10.10 Over Writing 7.04

Jan 13, 2011

I want to upgrade from Feisty Fawn - unsupported 7.04 to the downloaded 10.10 which I've saved a s an iso on the desktop. The help pages walk through the procedure but using a later version of Ubuntu which does nt match 7.04 - simple question - how can O burn the iso and the re-install 10.10 over-writing 7.04

View 1 Replies View Related







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