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:
#!/bin/bash
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
ADVERTISEMENT
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:
[Code]...
View 5 Replies
View Related
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
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
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
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
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
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","","","");
add_item_tabulky("Pras�tko-�ťastn�
[code]...
View 3 Replies
View Related
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:
ssh username@server.name
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
Aug 25, 2010
I saw an article use the following cat command to create a new text file:$ cat > first.sh << 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
Sep 24, 2010
I am having troubles right-clicking on a exe file to open it.
View 2 Replies
View Related
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 file..you 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
Jun 3, 2011
Code:
int main ()
{
[code]...
View 9 Replies
View Related
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
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
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
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:
CPU 0
odules linked in:
Pid: 1, co m: swapper Not ta nted 2.6.32.11-99.fc 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 2.6.32.11-99.fc12.x86_64 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
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
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
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
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
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
May 25, 2011
when I login through SSH, I get a double welcome message:
login as: laurent
laurent@192.168.1.2's password:
Linux server 2.6.32-31-generic-pae #61-Ubuntu SMP Fri Apr 8 20:00:13 UTC 2011 i6
[code]...
View 1 Replies
View Related
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
Mar 9, 2011
I have a file like this:
Code:
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:
Code:
Or I must use another tool, like awk or sed? If so, how do I do so?
View 3 Replies
View Related
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
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.
Code:
variable=$(foo "$file")
The problem is that foo might return an empty string and if it does I need to catch it
[code]...
View 6 Replies
View Related
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
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
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