PDA

View Full Version : [ubuntu] making shortcuts?



Zopiac
April 24th, 2008, 03:10 AM
i got version 0.99.01 linux of a 3d mesh installer, Wings3D, from wings3d.com. I opened the .run file, (i think it was a run, maybe after extracting a .bz or something) and it installed to /home/zopiac. all looks good. the thing is, it did not add a shortcut anywhere, and im still a n00b at linux extensions. could someone help?

by the way, i have 0.98.x installed from the add/remove app, but i wanted to get this new(er) version.

thx in advance!

spiderbatdad
April 24th, 2008, 03:31 AM
Not familiar with the program you've installed. If you can launch it from the terminal with a ./filename command, you can usually create a panel launcher by right clicking on the panel and adding an application launcher. The command is the path to the run file.

Zopiac
April 29th, 2008, 01:47 AM
uhm what?

damis648
April 29th, 2008, 01:50 AM
If you already know the command to run it, IE /home/user/program/program.run just right click the desktop and select "Create Launcher" and then as the command put the path to the run file.

Zopiac
April 29th, 2008, 01:56 AM
If you already know the command to run it, IE /home/user/program/program.run just right click the desktop and select "Create Launcher" and then as the command put the path to the run file.

the thing is, i dont. all i know 9is that in /home/zopiac/wings-0.99.01 there are the following files: AUTHORS, license.terms, README, vsnn, and wings. i believe the first three are just text files, nothing else. the last two, i dont know. there are two folders: bin and lib. bin has a few files in it, nothing that can be opened, that i know of, and lib has a bunch more, without knowledge of open-ability.

spiderbatdad
April 29th, 2008, 01:59 AM
Hmm, sorry. I was trying to give an example of how to create a launcher for a program that has a binary run file. Let's say the program is in a folder in your home directory, or any directory for that matter. In that folder is a big blue diamond thingy with a program name under it. If you click it, it should offer you the opportunity to run the program, unless it has not been made executable. But that's another issue. So, let's say the name of the program is RunMe...it's in the folder runme2 in your home directory.

I was thinking...you right click on a panel (top or bottom of desktop) you select 'add to panel.' Then choose, 'custom application launcher.' Click 'Add.' Give the thing a name. What goes in the command area is the path to the binart. In the case of this example: /home/your_user_name/runme2/RunMe
Et, voila! A launcher should appear in the panel and it should start the program when clicked. If you want to change the icon you can...but that comes after the thing works.

damis648
April 29th, 2008, 02:02 AM
ok try this, open terminal (Applications>Accessories>Terminal) and type in

cd /home/zopiac/wings-0.99.01/

then type


chmod a+x vssn

and
chmod a+x wings

then type
./vsnn and
./wings
and tell me what each one does

Zopiac
April 29th, 2008, 02:16 AM
ok try this, open terminal (Applications>Accessories>Terminal) and type in

cd /home/zopiac/wings-0.99.01/

then type


chmod a+x vssn

and
chmod a+x wings

then type
./vsnn and
./wings
and tell me what each one does

zopiac@zopiac:~/wings-0.99.01$ chmod a+x vssn
chmod: cannot access `vssn': No such file or directory

Zopiac
April 29th, 2008, 02:39 AM
hello?

Dr Small
April 29th, 2008, 02:43 AM
What are the file's name?

ls -l ~/wings-0.99.01

elmer_42
April 29th, 2008, 02:43 AM
For chmod, you usually have to append sudo to the beginning. E.g.:

sudo chmod a+x vssn

Dr Small
April 29th, 2008, 02:45 AM
For chmod, you usually have to append sudo to the beginning. E.g.:

sudo chmod a+x vssn
No, that is incorrect.
Sudo is only needed when the file that you are attempting to chmod is owned by root.

Zopiac
April 29th, 2008, 02:55 AM
i see:

zopiac@zopiac:~/wings-0.99.01$ ls -l ~/wings-0.99.01
total 28
-rw-r--r-- 1 zopiac zopiac 3269 2008-01-16 01:45 AUTHORS
drwxr-xr-x 2 zopiac zopiac 4096 2008-01-16 01:45 bin
drwxr-xr-x 6 zopiac zopiac 4096 2008-01-16 01:45 lib
-rw-r--r-- 1 zopiac zopiac 2158 2008-01-16 01:45 license.terms
-rw-r--r-- 1 zopiac zopiac 618 2008-01-16 01:45 README
-rw-r--r-- 1 zopiac zopiac 18 2008-01-16 01:45 vsn.mk
-rwxr-xr-x 1 zopiac zopiac 398 2008-04-19 12:15 wings
zopiac@zopiac:~/wings-0.99.01$

Zopiac
April 29th, 2008, 08:22 PM
bump, i still need to know how to get wings to work :(