0

I just installed slic3r on my Linux computer. for some reason it doesn't start without typing ./slic3r.pl in the terminal (all the other commands included from the tutorial here) what should I do so I can run it from the start? I have already tried thistutorial but I don't understand so much from it.

I am totally new to Linux so it would be great if someone could link me a tutorial about how to actually see the smart things.

1 Answer 1

0

By "run it from the start" I guess you mean the Unity launcher, the dash.

The best way is to create a .desktop launcher, first open a text editor, for example

 gedit

Now copy this in to the file

[Desktop Entry]
Name=slic3r.desktop
Exec=./slic3r.pl
Icon=/path/to/your/icon
Type=Application
Terminal=false

Now save this as slic3r.desktop in your home directory and open a terminal and make it executable with

chmod +x ~/slic3r.desktop

Now double clicking this icon will run your program, to get it to appear in the dash like a normal application, move it to .local/share/applications

mv ~/slic3r.desktop ~/.local/share/applications

You can now search for slic3r in the dash, to add an icon change /path/to/your/icon for the path of the icon you would like.

Applications you build your self (or script programs) don't get an entry of there own in the dash, you can apply this to any program to create a launcher for it.

15
  • Welcome to AskUbuntu! If this is the answer you were looking for, please click the check mark on the left to say thanks and allow others to easily find the correct answer.
    – Mark Kirby
    Jan 28, 2016 at 8:59
  • i created a file in my home directory but when i start it it just shows a error and closes right after... i typed chmod +x ~/slic3r.desktop in the terminal like you said Feb 2, 2016 at 12:31
  • @el97 - What is the error?
    – Raphael
    Feb 2, 2016 at 12:37
  • "There was an error starting the program." Feb 3, 2016 at 9:10
  • Open a terminal and drag the .desktop file you made on to it and press enter, what is the error?
    – Mark Kirby
    Feb 3, 2016 at 9:15

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .