Ubuntu :: 10.04: How To Launch A .sh File With A Link

Sep 1, 2011

I have an executable .sh file that I would like to launch by clicking on a link in my "Internet" menu in the Netbook Remix. I've attempted to create a new link in the "Main Menu" control panel, but it won't launch. When I execute the .sh file directly (through Nautilus), I am always presented with a choice of editing or executing the file.How can I make a link in the "Internet" menu that will execute this .sh file?

View 8 Replies


ADVERTISEMENT

Ubuntu :: Link To File On The Host System - Error "Invalid Cross-device Link"

Oct 25, 2010

I installed 10.10 using wubi (Host system is Win XP). I want to create a symbolic link of a file on the host system (Windows c:abc.doc file) in my Ubuntu home ~/ directory.
When I type command ln /host/abc.doc abc.doc It gives me following error ln: creating hard link `abc.doc' => `/host/abc.doc': Invalid cross-device link

View 1 Replies View Related

Ubuntu :: Unable To Launch .jnlp File?

Jan 15, 2010

I'm unable to launch .jnlp file.

Code:
~/cpp$ javaws ../Desktop/ContestAppletProd.jnlp
15 Jan, 2010 1:09:22 PM com.sun.corba.se.impl.ior.IORImpl getProfile
WARNING: "IOP00511201: (INV_OBJREF) IOR must have at least one IIOP profile"
org.omg.CORBA.INV_OBJREF: vmcid: SUN minor code: 1201 completed: No

[Code]....

View 2 Replies View Related

Ubuntu :: MATLAB - Could Not Launch JNLP File

Jan 25, 2010

I am trying to install matlab onto my personal laptop. When I start to download I get a file "download_agent" I have updated my java to the most recent edition and when I run "javaws download_agent" I get this error :

net.sourceforge.jnlp.LaunchException: Fatal: Launch Error: Could not launch JNLP file.
at net.sourceforge.jnlp.Launcher.launchApplication(Launcher.java:395)
at net.sourceforge.jnlp.Launcher$TgThread.run(Launcher.java:623)
Caused by: java.lang.IllegalAccessException: Class net.sourceforge.jnlp.Launcher can not access a member of class com.mathworks.agent.AgentGUI with modifiers "public static"
at sun.reflect.Reflection.ensureMemberAccess(Reflection.java:95)
at java.lang.reflect.Method.invoke(Method.java:607)
at net.sourceforge.jnlp.Launcher.launchApplication(Launcher.java:387) ... 1 more

Caused by:
java.lang.IllegalAccessException: Class net.sourceforge.jnlp.Launcher can not access a member of class com.mathworks.agent.AgentGUI with modifiers "public static" at sun.reflect.Reflection.ensureMemberAccess(Reflection.java:95)
at java.lang.reflect.Method.invoke(Method.java:607)
at net.sourceforge.jnlp.Launcher.launchApplication(Luncher.java:387)
at net.sourceforge.jnlp.Launcher$TgThread.run(Launcher.java:623)

View 8 Replies View Related

Fedora :: Can't Launch Binary File

Nov 13, 2010

I've been trying to launch a binary file, but I keep getting this error.

Code:
[csegale@localhost pSX]$ ./pSX
[src/linux/sound.cpp, line 215]: 'snd_pcm_hw_params_set_access(pcm_handle,hwparams,SND_PCM_ACCESS_MMAP_INTERLEAVED)' returned 'Invalid argument'

[Code]....

View 2 Replies View Related

Ubuntu :: Change The Unity Launch Icons File Association?

Sep 1, 2011

I'd like to know how to change the Unity Launch icons file association. For example; when i click the 'Files and Folders' icon and the side menu pops up with recent, favorites, etc. I click any of them and they associate those files or folders with Vuze. It also associates the trash can at the bottom of the menu, and any external hdd that i attach; but this only occurs when i open them through the Unity Launch Bar. I can go to the Home icon and open a folder and they open, or open the hdd off the desktop and its fine. It seems to only happen when i try to open them through Unity.

View 1 Replies View Related

Ubuntu :: Make A Link To A .exe File?

May 22, 2011

i got a small problem: i have some old software that used to run under windows.now i run it under wine, and it does just fine. but i cannot make a link to my desktop. when i go to the file in the directory, i choose right mousclick and then make link. then i copy the link to the desktop. but when i run the link from the desktop: i get errors: all bunch of files were not found. It seems like the link is actually the exe file itself ? or that the link execute the exe file at the directory of the place where the link is (that is the desktop directory)

View 5 Replies View Related

Software :: Launch A Batch File With Screen?

Jun 27, 2011

I understand SOME of how to use screen; attaching and detaching screens, etc.

for example:
screen -d -m links cnn.com

Then I can type
screen -ls
or
screen -r
and re-attach to that session.

But what launching a batch file? Said batch file contains 2 commands; a CD command, and a command to launch Python to run a certain Python script.

Whenever I use the batch file as the command for Screen, it always exits and terminates the screen session -- there are always "0 sockets". Even though the Python script in question is very persistent, and runs indefinitely.

View 8 Replies View Related

Ubuntu :: Copy File But Paste Link

May 29, 2011

Has anyone seen a seamless way to create a symbolic link via a GUI based file manager? I have been using PCManfm because I find it fast, but I can copy the file but paste a symbolic link instead of the actual file.

View 9 Replies View Related

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:

[Code]...

View 5 Replies View Related

Ubuntu :: Creating Link To A .java File With Parameters

Oct 24, 2010

I have a Java program (minecraft server) that needs to be run from the command line. The code is:

Code:
java -Xmx512M -Xms512M -jar minecraft_server.jar nogui

To make life easy (i've got the java file in a folder on the desktop) I want to have a shortcut (or similar) sitting on the desktop. I've tried

Code:
ln 'java -Xmx512M -Xms512M -jar minecraft_server.jar nogui' ./../minesraftserver

with single and double quotes but my unix command line skills are pretty basic and this is obviously incorrect.

View 2 Replies View Related

Ubuntu :: Can't Seem To Access MROOT Folder When Link To File

Nov 7, 2010

I can't seem to access my ROOT folder when I link to a file in it from one in var/ w ww.if (my ip):80 links to va r / w ww, and jsp only works in tomcat / webapps /ROOT, and I have tomcat / webapps / ROOT installed in var / w ww, then I thought I would try to do something like this, to make jsp work.Is there a way to simply redirect webapps / ROOT to var / www and put all of the files there?

View 9 Replies View Related

Software :: Gcc - Link To A Different Libc File

Apr 28, 2010

I want to supply the shared libs along with my program rather than using the target system's due to version differences:

ldd says my program uses these shared libs:

I have successfully linked ld-xxx.so by compiling like this:

But I have not managed to successfuly link libc-xxx.so.

View 5 Replies View Related

Software :: Link Tcl File And C++ Files Together And Run In Ns2?

Feb 11, 2011

i have a tcl file and c++ file, how can i compile them n run them in ns2?

View 1 Replies View Related

Ubuntu :: Send A Link For Download And A Link With The Installation Instructions?

Aug 16, 2011

I was looking for live link to download ubuntu mobile but unfortunately I don't find anything... Can someone send me a link for download and a link with the installation instructions ?? All the links that I found are dead.

View 9 Replies View Related

Ubuntu Networking :: Mount To Vista Needed For Apache - Symbolic Link Not Allowed Or Link Target Not Accessible

Apr 26, 2010

I have a problem where I'm using Ubuntu linux to mount a Windows Vista machine's USB drive and access it on the web using Apache. I did have the USB drive plugged into the Linux machine directly and that was working via the web. FollowSymLinks is on in httpd.conf

[Code]....

The mount works and I can see the files (see above) from my regular linux user account. If I make a test file in /mnt and soft link to that, I can see it on the web. So it's just the mount to the vista machine that seems to be a problem. It's supposed to be a simple read-only mount and the apache login should (I think) be able to see the same generic root access permissions.

log from apache: [Mon Apr 26 20:39:42 2010] [error] [client 99.99.99.99] Symbolic link not allowed or link target not accessible: /home/user1/pub_html/Music, referer: https://xx.xx.xx/~user1/music.html

The credentials have a login and password that matches a special read-only account on Vista. I can see the files on the system from Linux, but not via the web. As mentioned above, a different link to the same /mnt area works fine via the web. I've tried several different mount options with no success.

View 3 Replies View Related

Ubuntu :: Link Opens File In Read-only Mode Change?

Apr 18, 2010

I create a link to a file in order to open the file from the desktop. When I move the link from the file location to the desktop, the file is opended in read-only mode. How can I change this so that the file opens in regular mode so that I am able to edit contents? The file in question is an open office spreadsheet.

View 5 Replies View Related

Ubuntu :: Does Anyone Havea Good Link For File System Reference?

Jun 30, 2010

(i)for what /usr/bin uses and for what /bin uses. i assume the answer for /usr/lib and /lib will be the same..

(ii) does anyone havea good link for ubuntu's file system reference?

View 1 Replies View Related

Ubuntu Security :: Access To A Virtual File System For The Thermocrom Without Needing To Launch Owfs As Root?

Feb 12, 2011

I have been trying to use my DS2490 USB to serial device with a Maxim .DG1921G thermocron with owfs. It is supposed to give me access to a virtual file system for the thermocrom without needing to launch owfs as root.

Code:
/var/log/messages gives:
Feb 8 16:22:45 norman-HP-G56-Notebook-PC kernel: [ 236.140141] usb 5-1: new full speed USB device using ohci_hcd and address 2[code]....

but if ds2490 module is loaded it works when run sudo.It seems from this that it is a lack of permissions to USB but I have tried all the methods on at http://owfs.org/index.php?page=udev etc. to overcome this and a few others but none work.I am running Ubuntu 10.10 kernel 2.6.35-22-generic #33-Ubuntu SMP

View 1 Replies View Related

Programming :: Link Mobility File With Tcl Script?

Apr 26, 2011

i want know how to link mobility file with tcl script? i tried with set val(sc) "test" but getting error message like

[root@localhost example]# ns box.tcl
setting initial variables...
setting other default settings...
removing unecessary packet headers...

[code].....

View 1 Replies View Related

OpenSUSE :: Symbolic Link Not Allowed Or Link Target Not Accessible: /srv/www/htdocs?

Apr 28, 2010

i only need localhost for testing some phpnow i get[Wed Apr 28 18:44:57 2010] [error] [client ::1] Symbolic link not allowed or link target not accessible: /srv/www/htdocs

View 9 Replies View Related

Programming :: Link Directories - Symlink Not Updated / Hard Link Not Supported?

Sep 6, 2010

In the ordering of files I keep I need links to directories. Sometimes I even need to move directories to new locations. I have tried using symlinks, but they become dead when I move the directory they point to. I have tried hard links, but I haven't found any Linux file system that would support hard linked directories. How can I achieve that a complex structure of directories (currently with symlinks for directories and hard links for files) keep symlinks live when directories are moved?

- is there any utility that updates symlinks when a directory is moved?

- is there any Linux filesystem that supports hard linked directories?

- is there any good Linux interface to the new NTFS (the only file system I know to support automatically updating directory links, called directory junctions)?

View 9 Replies View Related

Fedora :: Direct Link To Download RPM File For Koffice?

Nov 21, 2010

I have to download myself? direct link to download RPM file for koffice,

View 4 Replies View Related

General :: Link Home Directory To Different File-system?

Aug 27, 2009

I'm looking for some advice about how to implement the following functionality in my pet project.

There are two users on my system, user1 and user2. When user1 logs in he can do what he wants etc.. when user2 logs in I want to somehow link the entire file system to another place. In more detail when user2 logs in and does something like ls ~, he should see contents of /home/user1/extra/home/user2/ instead of /home/user2/
and when user2 does ls /usr/bin he should see contents of /home/user1/extra/usr/bin/

Is there a simple way to do this kind of operation. I have looked up the ln command, but I am a little unsure about how to show a completely different file structure to a particular user.

I did play around with ln and found that you can make "soft links" to directories. The problem being how can I link the user2 home directory /home/user2 to something like /home/user1/buffer/home/user2 . can I use something like ln -s /home/user1/buffer/home/user2 /home/user2 .. I guess not. I didn't want to try it as I wasn't sure so as to not hose my system.

View 14 Replies View Related

General :: Check To Which File A Given Symbolic Link Points?

Feb 26, 2010

How can I check to which file a given symbolic link points?

View 2 Replies View Related

Server :: Symbolic Link Not Allowed When File Is Bigger Than 4GB?

Feb 21, 2010

i contacted my datacenter and they say it is a browser error

but i contact some1 els and he says it isnt a browser error so he asked me to check the log files

this is what i found in my log files

[Sun Feb 21 16:36:01 2010] [error] [client xxx.xxx.xxx.xxx] Symbolic link not allowed: /home/server/public_html/files/8/9x7s9tjosopkzb/rzr-prot - BoosterKing - .iso as you see , it says not allowed

but for files smaller then 4GB is it fine (i tryed it out to 1 GB files and they are fine )

the script i use is a download script and it creates symbolic links to hide the real location of the file and to limit the download to 1 ip only (its a download script :P)

View 11 Replies View Related

General :: View CD Shortcut Link / List Link Name By Using Any Command?

Jun 8, 2010

Whenever we insert CD,it creates a shortcut link in desktop.Can we list this link name by using any command? I am using Oracle Enterprise Linux 5.0.

View 10 Replies View Related

Server :: Create Soft Link And Hard Link In RHEL5?

Sep 8, 2010

how can we create soft link and hard link in RHEL5 when am using in command it is giving format error

View 6 Replies View Related

General :: Creating A Hard Link Using Ln Creates A Copy Of File?

Mar 11, 2010

I am trying to use ln to create a hard link to file a and whenever I do it, it creates a copy of the file instead. After having edited file a, when opening the link, it shows the old information and opening file a shows the new information. The command I am using is

Code:

ln /home/user/file

within the new directory i am trying to link from. I am using centos 5.4.

View 7 Replies View Related

General :: Difference Between A Hard Link And Symbolic Link?

Jun 20, 2011

I have searched around and am trying to understand the difference between a hard link and symbolic link (soft link). I found this link is quite useful. But I am still not very clear. I understand soft link is not a copy of original file, but is a hard link a copy or not?

View 4 Replies View Related







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