Ubuntu :: Making Some Files (Run Only)

May 29, 2011

Is it possible to disable the run/display/cancel dialog just for some selected files and keep it for others? I want to be able to just click on some files which would run them instantly yet still being asked what to do if I click on other files. Say, launching files a, b & c would make them execute but launching files d, e, f and all others would pop-up the dialog asking me what to do. So can it be done?

View 6 Replies


ADVERTISEMENT

Software :: Making A Bash Script To Read In Different Files And Rename Output Files?

May 7, 2009

Until now i haven't had to dabble with bash scripts.

I have a program that reads in data files. These are named datafile01_R, datafile01_G, datafile01_B, they then increment, so datafile02_R etc i have about 600 of these. the program reads in 3 data sets at a time from each run, so files_01 r, g, and b.

The program then does its magic, and outputs about 40 different files, depending on the file, they gone to folders named R, G, B, psa, or tracking.

The program itself has configuration files to say where the files should gone when analyzed, there is also the config files that reads in the data sets.

At the moment i have to run one set of data, then go in and manually change the input file location, and run again. But, doing this, even though a different data set, the new set overwrites the old set in one of the output folders. So i need a way to increment the output filenames after they are written and before the program is run again with the new data set.

View 1 Replies View Related

Ubuntu :: 10.10 - Making Blocked Files Executable?

Oct 14, 2010

I just upgraded to 10.10 (everything was working fine in 10.04). I have .jar files that in 10.04 would execute with OpenJDK. Now I get an error message, telling me that it is blocked:

"The file '[path]' is not marked as executable. If this was downloaded or copied from an untrusted source, it may be dangerous to run. For more details, read about the executable bit."

I try to set it as executable like it was before, and it's a no go. My checkmark takes then quickly disappears before my eyes.

View 5 Replies View Related

Ubuntu :: Making Playable DVD From Video Files

Oct 19, 2010

Does anyone use Ubuntu to make (video) DVDs? That is, not just burn an existing .iso, but take a number of video files (e.g. mpeg) and create a playable DVD from them.

View 2 Replies View Related

Ubuntu :: Waking Laptop From Sleep And Making It Run Files

May 31, 2010

I have a laptop and wanna have it set up for going to sleep and waking up at certain time and then run certain files/programs. I used a single program for this back in windows but cant remember the name. Do yo know a program that will do this for me?

View 6 Replies View Related

Ubuntu Multimedia :: Banshee Seems To Be Making Files Shorter

Nov 10, 2010

Trying to sync a bunch of files to a 5.5-gen iPod with Banshee 1.6, on Lucid. I moved the files from my friend's computer to my Sansa View via UMS transfer; just dragged and dropped. The file lengths are correct on my player. My friend used Banshee to sync the same files, from the same computer, to his iPod. In Banshee and on his iPod, the files are all shorter. The files are supposed to be approximately 30 minutes each. In Totem on my friend's computer, and on my Sansa, the first file is 33:11. In Banshee and on his iPod, it's about 17:00. Some files have been cut down to two minutes long. This has happened across multiple albums in multiple folders. Clearly the problem is Banshee, since Totem recognizes the appropriate file length.

View 2 Replies View Related

Ubuntu :: 10.4 Making HUGE Log Files--running Out Of Disk Space?

Feb 2, 2011

I started getting errors about running out of disk space in root this morning. I hunted up what's taking all the space; var/log is 39GB (Ubuntu is installed on a 50G partition.) It's specific files that live in that directory, not subfolders. The files are:

kern.log = 11.6 GB
messages (plain text file) = 11.4 GB
kern.log.1 = 6.1 GB

[code]...

View 9 Replies View Related

General :: Making Grep Find Files Containing '$'

Dec 5, 2010

I want to find files containing the "$" char (ascii 0x24). 'Grep -irl $ *' would output the names of every file in path *, of course, because it means end of line (EOL). So giving grep the string "$" won't do. So I tried 'grep -irl $ *'. But this doesn't work either and I do not understand why. Am I not escaping the dollar sign? grep should interpret it literally. Neither 'grep -irl "$" *' will work. Fortunately, there's LQ, besides grep's man page.

View 9 Replies View Related

Programming :: Making The Mplayer To Skip Some Files?

Jun 6, 2010

GNU/Linux kernel 2.6, Slackware 12.0
MPlayer 1.0rc2-4.1.2
GNU Bash 3.1.17

I've got a set of MP3 files on dir .../foo/ and I want mplayer to play them sequencely but skipping some of them. If I run 'mplayer *' this will do but ofcourse won't skip any files. I think a shell script could be written to do that. It would be something like this (using some pseudocode):

#!/bin/bash
#After an example from Intro_Linux by M. Garret.
LIST=$(ls *.mp3)

[code]....

View 3 Replies View Related

General :: Rsync And Making Sure All Files Have Been Transferred Before Applying The Changes?

Nov 15, 2010

I was wondering if there is a way to tell rsync to only apply changes (delete, overwrite,create) only if all files in the file list transferred successfully.Just to clarify, this would essentially be putting a transaction around the transfer.

View 3 Replies View Related

General :: Making A Folder And All Its Files Read Only Via Script?

Jul 14, 2011

Quick question. I need to ensure that all my files within specific folders are marked as being read only if the folders name is 'Forms' for example. There may be many 'forms' folders on the server within many different directories.It is a requirement that everything within these folders are marked as being read only but people are not doing so for whatever reason, and would therefore like for it to be done automatically i.e. a script executed by a cron job every eve to esnure that all files within the forms directories are marked read only.

View 1 Replies View Related

General :: Making Script To Copy Files To Another Folder?

Jun 5, 2011

make a simple script to copy files from my "hfiles " directory to a "www" folder at leats I think its a directory, it has the permissions as "lrwxrwxrwx " but its like a public branch So I proceeded to make a file entittled MkPublic to copy the "hfiles" directory to the "www" branch

here is the code i used:

#!/bin/sh
# COPIES FILES
echo "copying files"

[code]....

when i try to run the script it tells me that there is a syntax error and an unexpected end of file and nothing seems to get copied anywhere so clearly there is something wrong with one im doing, i tried multiple ways : using the quotes, spacing the equal signs, but I seem to still get the same results.

View 8 Replies View Related

General :: Updatedb: Not Always Making Slocate Find All Files?

May 31, 2011

Kernel 2.6.21.5, Slackware 12.0

Code:
bash-3.1$ cat /etc/cron.daily/slocate
#!/bin/sh

[code]...

View 10 Replies View Related

Software :: Making Pretty Print From Various Text Files

Jul 5, 2011

I have various text files -- some "source code", some "data files" -- that I'm formatting with enscript. Can someone answer some questions about use and workings of enscript?

1. How does enscript know which printer to use as a default? My command lines do not specify a printer but output makes its way to the system default printer. Neither PRINTER nor LPDEST are set in the environment. So what is enscript using to learn the default?

2. How do I get --landscape to work as an enscript option? Whatever enscript sends to the printer accomplished the N-up and other formatting, but the content appears portrait instead of landscape?

3. Running Ubuntu Lucid desktop, I also use CUPS and HPLIP for printing. Need to understand the interactions among the desktop CUPS and bash shell command line access to printing? I tried viewing the environment looking for printer and similar variables. 'set' showed a group of shell functions instead of environment variables. I'm confused.

Follow-up: The functions were all ImageMagick details. (blush) The variables went by so fast I missed them. Even so, I still don't find anything to tell 'enscript' which printer is default.

View 1 Replies View Related

General :: Making Specific Script Loop Over Multiple Files In Directory?

May 10, 2011

I am trying - to no avail - to take an old script I found in the forum help-needed-in-grep-for-tar-gz-658730/ The code:

Code:
#!/bin/bash
if zgrep $1 $2 > /dev/null 2>&1

[code]....

View 3 Replies View Related

Ubuntu :: Making Mirror On DVD's?

Jan 18, 2010

I have a local mirror at my server. How I can create mirror on DVD's for people without network connections?

View 1 Replies View Related

Ubuntu :: Making A Lucid Iso With A Few Little Changes?

May 2, 2010

I want to make an iso for some friends [and maybe friends of friends] that aren't all that tech savvy, so I want to change a few things to the original Lucid iso. First, I want the option to install Lucid out of the boot menu [but the other options should ideally stay]. Second, I want to include the ubuntu-restricted-extras so they can immediately try it out and see that it also plays video/audio etc.

View 9 Replies View Related

Ubuntu :: Making More Use Of The Server?

Sep 26, 2010

I'm running relatively overpowered server right now, that all it really does is host files and download movies/music that I might enjoy. I'm just seeking to expand it's capabilities to make life in the house more simple. The first thing I'd like to do is create a kind of automatic grocery list generator concept. Here's how I envision it working.

We create a list of recipes for meals we enjoy, specifically an ingredient list. From this list, we create bi-monthly meal lists; what do we want to have for the next two weeks. The server chews through the two lists, compiles a list of ingredients and how much of each we'd need.. and emails this off to our smart phones for us to refer to while shopping. What equipment do I have? I have a headless Ubuntu server running 10.04 and administered via a GUI and NX Client. Two blackberries (both 9700 Bolds) as portable smart clients that would need to at least receive the list, tho ability to add in would be great.

Home network is a mix of wired and wireless, so no issues there for connectivity. So why post this here? Because I'm at a loss as to the software/configuration part. Doing an automated email daemon is easy to send the list out. And a list of recipes or such is easy to get (dozens of cookbooks in the house, plus a small army of them available online).. the issue I'm having with is how to create/manage the database. I'm not familiar with SQL or any database programming at all. Is there something akin to this already in the repositories? Or is there someone who could point me in the right direction so I can do this?

View 2 Replies View Related

Ubuntu :: Making Of Custemized Os?

Jan 12, 2011

to making the custumized ubuntu what steps doi need to follow 1)i have kernel 2.6.36 what next step do i have to do?

View 2 Replies View Related

Ubuntu :: Making Wake Up At The Same Time Each Day?

Jan 27, 2010

I have managed to make ubuntu (9.04) turn itself on from being completely off with the following code:

Code:
sudo sh -c "echo 0 > /sys/class/rtc/rtc0/wakealarm"
sudo sh -c "echo `date '+%s' -d '+ 480 minutes'` > /sys/class/rtc/rtc0/wakealarm"

[code]....

View 5 Replies View Related

Ubuntu :: Making Firefox 3.6 Fonts Look Like IE7 Or IE8

Jan 29, 2010

I'm coming from windows and now I've switched to ubuntu. I find firefox 3.5 (and now 3.6) very hard to read. I'd like to have the same font rendering on my ubuntu than on my windows xp, using internet explorer with cleartype enabled. I've searched A LOT on Internet, tested like 20 different .fonts.conf. However I still can't get what I want. Take a look at my screenshots :[URL]

On the left : ubuntu (Firefox 3.6) - on the right : XP (Internet Explorer I'd like to have the same fonts than on the right.

Picture "enabled.png" is the closest display I can get. But it's still not perfect.
I took the .fonts.conf from this site : [URL]

I've also tried the fonts from the site [URL]Look here : [URL](this one is different : IE8 is on the left)

My fonts config in firefox is the same than on windows (Times new roman, arial, courrier new). And of course I've installed the ttf mscorefonts package.

I don't say that IE is the best thing in the world It's only because I've used it a lot and now it's hard to browse sites with different fonts.

View 9 Replies View Related

Ubuntu :: Making Default Os On Boot?

Feb 14, 2010

i recently installed crunchbang to try it out, but it made it the default os on boot. how do i make ubuntu the default again?

View 9 Replies View Related

Ubuntu :: 9.10~pc Is Making Static Noises?

Apr 4, 2010

yeah first time ever being on ubuntu os. i got 3 going on one pc but only one partition is making static noises coming the speakers and its kinda loud. any ideas why?? its only happening to one partition so im clueless to whats going here...to be more descriptive its like a constant sssshhhhhhhhhhhhhhhhh or same as a radio being off frequency

View 6 Replies View Related

Ubuntu :: Making Me Relogin Over And Over When Go Into Hotmail

May 2, 2010

I just upgraded to the newest ubuntu. Everything worked great before but since I upgraded, it asks me to relogin over and over again when I go into hotmail. I had to use a different computer just to get into my hotmail to verify my new account here so I could ask about this. It will repeat over and over making me log in but i won't even spend anytime in my email.

View 9 Replies View Related

Ubuntu :: IPod Is Connecting But Not Actually Making Any Changes?

May 6, 2010

I have an iPod nano (3rd generation), and I'm having issues in 10.04 (not sure if its closed to 10.04 as I cannot test on older vers.): The iPod is detecting fine and all programs recognize the iPod (Banshee, Rhythmbox and the file manager) with all the files. But when I go to delete music, the program will delete the files on the programs manager but not on my iPod. iPod is connecting but not actually making any changes?

View 2 Replies View Related

Ubuntu :: Making Script To Be Run With Crontab

Jun 29, 2010

Not strictly being applied to an Ubuntu distro but Linux all the same.Our company run a database server referenced by a number of mail servers; the database server is very soon to be replaced since it's old, decrepit and not as secure as it should be - indeed, when it decides it's had enough, the MySQL process will simply stop.You can restart MySQL if you need to quite easily; using Putty, I'll connect to the box and run the command:/etc/rc.d/ init.d/mysqld restart

Using /etc/rc.d/init.d/mysqld status you can get a response of either mysqld (pid 8354) is running... or mysqld is stopped - how can I use this information in a script so that mysqld is only restarted if every thirty minutes a check comes back to say it's stopped? this current server is replaced by someone who knows what he's doing in a few weeks but this will ensure less disruption to those who rely on the current incarnation...

View 2 Replies View Related

Ubuntu :: Remapping Alt-f2 Or Making Kb Shortcut For 'Run'

Jul 8, 2010

I got this Dell Studio and the f keys are kind of odd.. first of all you have to press fn to even use them.. because theyve defaulted them to be things like: fast forward.. mute.. stuff like that.. and what makes it worse is f2 is a button that disables wifi.. so when i do alt-f2 out of habit it cuts my wifi off.. so i have to do fn-alt-f2 which just gets old.. my question is, what is the raw command for the RUN ? I'd like to assign a keyboard shortcut to it.

View 6 Replies View Related

Ubuntu :: Making FakeRaid Work On 9.10?

Jul 19, 2010

I have installed Ubuntu 9.10 (64 bit) as a dual-boot setup (along with Win 7) on my desktop. I can't emphasize how much faster Ubuntu loads when compared with Windows. There is only one problem though, I cannot figure out how to use my existing FakeRaid array (two 2TB hdds setup as RAID 1 - mirroring) to work with Ubuntu. I am NOT trying to install Ubuntu onto a raid array (I have Win 7 mounted on a separate boot drive , 4 hdds altogether, two for each OS and two for the RAID array). The raid array works fine in Windows and it's an Intel Raid Controller. How can I do the same for Ubuntu without losing any data? Is this possible?

View 3 Replies View Related

Ubuntu :: Making A Launcher To Run As Sudo?

Jul 23, 2010

Putting "sudo" inside the command field naturally doesn't work (unless your sudoer's are set to do so, which they're not).So how do I get gnome, nautilus or Ubuntu to prompt me for my sudo privileges?

View 2 Replies View Related

Ubuntu / Apple :: Making A Live USB On Mac?

Aug 11, 2010

I am writing in order to find information on making a Live USB with Ubuntu with a Mac.
I have a laptop that Im going to install Ubuntu but I cannot use it to make the Live USB for various reasons.

In the past, I used on my laptop the "Unetbootin" software to make a Ubuntu Live USB and it did worked well. Now, I just realized that Unetbootin can only be used with Linux or Windows so I would really appreciate if someone could provide information and maybe name a software that could be useful to me to do this task.

View 2 Replies View Related







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