General :: Run A .sh File By Double-clicking On It?

Jun 10, 2010

I am new to linux and bash programming. I wrote a simple hello world program.
the code:

echo hello world

but I can not run it by clicking on it.
The only way I ran it is using the terminal even after I check the is it executable box.

Do I need to add any commands to make it execute by just clicking on it?

View 11 Replies


Ubuntu Installation :: Launch Utilities And Other Programs That Have .exe Extensions By Double Clicking The .exe File?

Apr 27, 2010

I recently installed ubuntu 9.10. I have been trying to launch utilities and other programs that have .exe extensions by double clicking the .exe file. Each time I attempt this I get the following error message in archive manager:


View 5 Replies View Related

General :: Mouse Single-click Equals Double-click - Can't Select The Entire URL By Clicking

Apr 13, 2011

when i click my mouse on something, it sometimes registers as two clicks. it doesn't happen all the time, but frequently enough to be annoying. for example, when i click a videos video to pause it, it often opens into fullscreen (which you normally click twice to do). also, in the url bar of chromium, i can't select the entire url by clicking. i now need to use ctrl+a. that's also because when i try to select the url, the highlight randomly disappears.

if i have multiple windows open, my click on the first "x" of the top-most window also closes the next window. i'm on linux mint 10. it's not really important, but it drives me crazy sometimes when my mouse doesn't work the way i want it to.

View 3 Replies View Related

OpenSUSE :: Double Clicking Top Of Window To Enlarge ?

Jul 28, 2010

First thing I do is double click the top of the window to enlarge it and when I do that the window enlarges correctly, but it also lunches an app like the double click lags behind to click on an app after the window enlages, im using the 64bit version.

If u dnt knw wat I mean please try it out and tell me how I can fix this, just double click a sized window to make it fullscreen and tell me wat happens.

I also would like to knw if maybe its the fact that im using the 64bit version and that its glitchy.

View 7 Replies View Related

Ubuntu :: One Click Will Open A Document As Opposed To Double Clicking?

Nov 4, 2010

Is it possible to set up Ubuntu 10.10 where one click will open a document as opposed to double clicking?

View 2 Replies View Related

Ubuntu :: Double Clicking Songs Not In Rhytmbox Library Wont Play?

Jun 5, 2010

Big issue for me with rhythmbox. If I attempt to open a song in one of my folders it wont automatically play them. It will first add the song to the library. Than I have to manually find it in rhytmbox or double click it again. Hasnt it been the normal behavior in EVERY other music application to play a song by double clicking it once? Is there a way to change this setting in Rhythmbox?

View 4 Replies View Related

Software :: Double Clicking On Open Office Files Leads To Very Slow Opening?

May 15, 2010

I upgraded from Kubuntu 9.10 to 10.04. It was a fresh install of kubuntu, although I did leave a windows partition on there elsewhere. Grub messed up but I fixed that with a small text edit. Anyway, when I click on a file, i.e. Open Office writer or Calc, the computer thinks about it for like 60 seconds and then finally Open Office (version 3.2.0)finishes opening the file. It also does this while saving some files. It did not do this this version 9.10 which really amazes me. I have deleted OOo and reinstalled it several times and nothing helps. All other file handling seems normal, and it is a fast newer computer with a lot of memory.

View 13 Replies View Related

General :: Escaping Double Quotes In A File?

Dec 12, 2010

I know it is pretty trivial but anyway...I have php file that I am trying to read it looks like this

add_item_tabulky("Klaun-PF 2011","klaun_pf2011.jpg","","","");


View 3 Replies View Related

General :: Windows 7 - File Transfer With A Double SSH Login?

Jan 5, 2011

Possible Duplicate: Basic ssh tunneling through generic linux ssh server/client. I'm have trouble transfering files again from my work PC, which is a linux machine to my home windows PC.My work has changed it so I now need to SSH twice before I can access my PC.So I need to:

password: xxxxx
I then need to do it again.
ssh computer_name
password: xxxxx

I've tried accessing directly via my computers IP but to of no avail. Is there a way I can use pscp or file zilla to ssh twice so I can transfer files?

View 2 Replies View Related

General :: What Does The Double Less Than Sign (<<) Means In Creating A New File With Cat

Aug 25, 2010

I saw an article use the following cat command to create a new text file:$ cat > << ENDAnd then after press the 'return' buttion, a '>' sign appeared expecting you to input the content. If I type 'END' then the 'return' button, then a new text file is created with what I just typed...I'd like to know what's the differnece in just type:$ cat > first.shwithout the '<<' sign?What '<<' really means? I cannot find it's meaning anywere... seems it's not in the redirection section.

View 6 Replies View Related

Ubuntu :: Right-clicking On A Exe File To Open It / Sort It?

Sep 24, 2010

I am having troubles right-clicking on a exe file to open it.

View 2 Replies View Related

OpenSUSE :: Double Click & Rename The File?

Apr 27, 2010

I'm using 11.2 GNOME for a while now..

As far as I know, GNOME can't act like MS or OSX when we wan't to rename a know, when you slightly re click the file name and its ready to be renamed.. instead, I should go right click - context menu - rename to do that.

Is there any setting or apps for these?

View 1 Replies View Related

Programming :: [C++] Writing Double Value To A Text File?

Jun 3, 2011

int main ()


View 9 Replies View Related

OpenSUSE :: Delete Option When Right Clicking On A File In KDE4 ?

Mar 22, 2010

I have not been able to locate the setting for this,I am using 11.2 ,Yes I can do it with "rm" at the CLI, But that is not the point.

View 9 Replies View Related

Ubuntu Installation :: USB / ISO File - Freezes On Clicking Forward

Feb 25, 2011

I am trying to install on Ubuntu Netbook on my MSI Wind U123. I downloaded the latest version of Ubuntu Netbook and followed the proper directions to create an installation USB. During installation, I got up to the step where it tells me to have: atleast 2.5GB available, make sure power cord is plugged in, and that I am connected to the internet. When I click on, "Forward" to continue the installation, it just hang/freezes.

I have similar problem when trying to install JoliCloud. When installing JoliCloud, I get up to step 3, where it asks about the keyboard. When I click "Forward", it doesn't do anything, it just hangs. I tired using multiple different USB drive, and also downloaded ISO file again to ensure the file wasn't corrupted.*

View 2 Replies View Related

OpenSUSE Network :: How To Remove A Double Named File

Apr 10, 2011

how do I remove a double file like " New File" look through everything I own no explantion.

View 3 Replies View Related

Hardware :: Kernel Double Fault, Laptop Froze On Distro / Getting Error Double Fault: 0000 [#1] SMP?

Jun 19, 2010

My laptop's been locking up in Linux (Ubuntu, Backtrack, Puppy) periodically for a while now. When it locked up, it was always immune to the magic of SysRq, which I thought might indicate a hardware problem. It became so bad that I had to stop using the laptop.

Today, when I turned it on and tried to boot into Fedora 12, I got the following error (just once, it just locked up at various points during the splash screen after this once):

double fault: 0000 [#1] SMP
last sysfs file:
odules linked in:
Pid: 1, co m: swapper Not ta nted 2.x86_64 #VGN-T 250N
RIP: 0010:[<ff

All the seemingly missing letters were really missing, not my typos.

As you can see, kernel version is and my laptop is a Sony Vaio TZ 250N (Core 2 Duo ULV 1.2GHZ). Note that with the other remaining kernels from the updates, nothing ever happened other than the locking up. The core temperatures hover pretty high, about 55-60C peak but this is still below the critical temp. Memtest came up clean when the problem first started happening.

View 3 Replies View Related

Debian :: Can't Mount Ntfs Partition Clicking From File Manager

Jul 25, 2015

It is gnome 3, debian jessie, nautilus file manager. Click ntfs partition from file manager, type password got error:

Code: Select allUnable to access “alldisksda5” Error mounting /dev/sda5 at /media/user1/alldisksda5: Command-line `mount -t "ntfs" -o "uhelper=udisks2,nodev,nosuid,uid=1000,gid=1000,dmask=0077,fmask=0177" "/dev/sda5" "/media/user1/alldisksda5"' exited with non-zero exit status 14: The disk contains an unclean file system (0, 0). Metadata kept in Windows cache, refused to mount. Failed to mount '/dev/sda5': Operation not permitted The NTFS partition is in an unsafe state. Please resume and shutdown Windows fully (no hibernation or fast restarting), or mount the volume read-only with the 'ro' mount option.

Why is this error? Windows has been shutdown normally. What to do?

View 3 Replies View Related

Ubuntu :: Double Compression Technique Shrunk A 700mb File Down To 40mb?

Dec 31, 2010

I downloaded a file that was 40mb compressed and was almost 700mb when fully extracted. It was inside a .rar file that in turn was inside another .rar file. How can this be done in Ubuntu? Can this also be done with .zip and .7z files?

View 2 Replies View Related

General :: OS To Double Boot With Win 7?

Jun 28, 2011

I need a Linux O.S. to double-boot with Win7 (already installed). It should be user-friendly, have a tv player (Myth TV?) already installed and as-far-as-possable already configured for my tv stick..Avermedia. Emphasis should be on multimedia..with good video decode/encode possabilities. I`m considering either Mythbuntu or Linux Mint.

View 3 Replies View Related

Fedora :: Compress A Folder By Right Clicking And Selecting Compress - No Such File Or Directory

Feb 18, 2011

I am trying to compress a folder by right clicking and selecting Compress...I get the following error:

An error occurred while adding files to the archive.No such file or directory

I want the folder and its content to be compressed to a .ZIP file which is natively accessible by Windows.

View 6 Replies View Related

Ubuntu :: Firefox Says "not A Directory" When Clicking On Downloaded File?

Jul 24, 2011

I've upgraded Maverick to Natty, and since then I'm having one problem with Firefox.

I have a list of downloaded files in FF. Clicking on every file (pdf, png, iso, etc) gives me an error, like: "Can't open <filename>: This location is not a directory". The error message is the same as if I'd run nautilus <filename>, and in fact it seems to originate from nautilus. Also FF seems to ignore my settings under Preferences -> Applications, where I can choose what program to use for different file types.

View 4 Replies View Related

General :: Double Welcome Message At Login Through SSH?

May 25, 2011

when I login through SSH, I get a double welcome message:

login as: laurent
laurent@'s password:
Linux server 2.6.32-31-generic-pae #61-Ubuntu SMP Fri Apr 8 20:00:13 UTC 2011 i6


View 1 Replies View Related

General :: How ToI Remove A Double Bootloader

Feb 27, 2010

I am currently using Windows Vista and Linux Ubuntu (I'm not 100% sure which version).However, whenever I start up my PC, I get greeted to the HP BIOS screen, and then after that, I get the Windows Bootloader.Now, this is where things get interesting:If, on the Windows Bootloader I select Microsoft Windows Vista, it loads Vista.If I select Ubuntu on the Windows Bootloader, I get treated to a second bootloader (I assume the Ubuntu Bootloader).I'm wanting to remove one of the bootloaders (keeping Vista as my primary OS, but still having access to Ubuntu in the bootloader). As a result of this, which bootloader should I remove, and how would I go about removing such bootloader?

View 2 Replies View Related

General :: Backwards Double Grep?

Mar 9, 2011

I have a file like this:


I need to search it backwards for "notable line" strings AND the first numeric string preceding that line. I've discovered that it's easy to search backwards by tac file | grep pattern, but how to tell grep to continue searching from where the pattern was found? In short, I want to make the output of the example above into this:


Or I must use another tool, like awk or sed? If so, how do I do so?

View 3 Replies View Related

General :: Double Display On IBook G3?

Feb 20, 2010

I've been getting a weird display on my Mac iBook G3 power PC W/ Dual USB.This has happened on Kunbuntu 9.04 PPC and Ubuntu 9.10 PPC. Both are standardnstalled fully patched.Attached is a picture of the display as you can see the right 2 inches is black and 2 inches from the bottom is where the display start over again.

View 2 Replies View Related

Programming :: Double Quotes Inside Double Quotes?

Jun 6, 2010

In bash I need to use some equivalent of double quotes inside double quotes (or the other way around.)I need to run the following statement to get the output of foo and store it in a variable while passing foo the $file which probably contains spaces.

variable=$(foo "$file")
The problem is that foo might return an empty string and if it does I need to catch it


View 6 Replies View Related

Ubuntu :: When Double Click On "filesystem" This File Is In There?

Mar 1, 2010

When I double click on "filesystem" this file is in there. It's unknown but owned by ROOT.

View 5 Replies View Related

General :: Open Program Just By Clicking On Icon?

Apr 3, 2010

Navbox is in my documents folder. to open the program I have to open the folder, right click on the .exe file, then click on 'open with Wine'. This works, but I would rather have an icon on my desktop and be able to open the program just by clicking on the icon.

View 2 Replies View Related

General :: How To Use Rsync When Filenames Contain Double Quotes

Jan 29, 2011

I am trying to synchronize the content of the directory my_dir/ from /home to /backup. This directory contains a file which name has a double quote in it, such as to"to. Here is my rsync command:
rsync -Cazh /home/my_dir/ /backup/my_dir/

And I get the following message:
rsync: mkstemp "/backup/my_dir/.to"to.d93PZr" failed: Invalid argument (22)
For info, rsync works well when the synchronized filenames contain single quote, parenthesis and space. Thus, why is it bugging with a double quote?

View 3 Replies View Related

Copyrights 2005-15, All rights reserved