From BlenderWiki

Jump to: navigation, search

[edit] Linux

[edit] Накратко

Свалете файла blender-2.##-linux-glibc#.#.#-ARCH.tar.gz от секцията 'Downloads' на сайта на Blender. Тук 2.## е версията на Blender, #.#.# е версията на glibc инсталирана на Вашия компютър и ARCH е архитектурата на машината--например i386 или powerpc. Свалете файла, отговарящ на Вашата система, като имате предвид разликата между статично и динамично компилираните пакети.

Декомпресирайте архива на избрано от Вас място. Там ще бъде създадена директория blender-2.##-linux-glibc#.#.#-ARCH, в която ще намерите изпълнимия файл на blender.

Може да стартирате blender например като отворите конзола в X и изпълните ./blender.

[edit] In-depth Instructions

Download the file blender-2.##-linux-glibc#.#.#-ARCH.tar.gz from the 'Downloads' section of the Blender Website. Choose to download it (if prompted), select a location, and click "Save". Then navigate to the location you wish Blender to install to (e.g. /usr/local/) and unpack the archive (with tar -xzf /path/to/blender-2.##-linux-glibc#.#.#-ARCH.tar.gz). If you like, you can rename the resulting directory from blender-2.##-linux-glibc#.#.#-ARCH to something shorter, e.g. just blender.

Blender is now installed and can be started on the command line by entering /path/to/blender followed by pressing the enter key in a shell. If you are using KDE or Gnome you can start Blender using your file manager of choice by navigating to the blender executable and double-clicking on it.

If you are using the Sawfish window manager, you might want to add a line like ("Blender" (system "blender &")) to your .sawfish/rc file.

[edit] How to add Blender's icons in KDE

  1. Select the Menu Editor from the System sub-menu of the K menu.
  2. Select the sub-menu labeled Graphics in the menu list.
  3. Click the New Item button. A dialog box will appear that prompts you to create a name. Create and type in a suitable name and click OK.
  4. You will be returned to the menu list, and the Graphics sub-menu will expand, with your new entry highlighted. In the right section, make sure the following fields are filled in: Name, Comment, Command, Type and Work Path.
    • The Name field should already be filled in, but you can change it here at any time.
    • Fill the Comment field. This is where you define the tag that appears when you roll over the icon.
    • Click the folder icon at the end of the Command field to browse to the Blender program icon. Select the program icon and click OK to return to the Menu Editor.
    • The type should be Application.
    • The work path should be the same as the Command, with the program name left off. For example, if the command field reads /home/user/blender-#.##-linux-glibc#.#.#-ARCH/blender, the Work Path would be /home/user/blender-#.##-linux-glibc#.#.#-ARCH/.
  5. Click Apply and close the Menu Editor.

To add a link to Blender on the KPanel,  RMB Image:Template-RMB.png click on a blank spot on the KPanel, then hover over Add. Click Button, then Graphics, and select Blender (or whatever you named the menu item in step 3). Alternately, click on the Configure Panel sub-menu in the K menu, click Add, Button, Graphics, and then Blender.

To add a Desktop icon for Blender, open Konquerer (found on the Panel by default, or in the System sub-menu of the K menu) and navigate to the Blender program icon where you first unzipped it. Click and hold the program icon, and drag it from Konquerer to a blank spot on your Desktop. You will be prompted to Copy Here, Move Here or Link Here; choose Link Here.

[edit] How to add Blender's icons in GNOME

  •  RMB Image:Template-RMB.png click the Gnome Main Menu panel (depending on the chosen theme the Icon for the Gnome Main Menu panel could be displayed differently)
Location of Gnome Main Menu panel

and select Edit Menus from the menu of options that appear,

Right clicked panel menu options

or  LMB Image:Template-LMB.png click on the Gnome Main Menu panel and navigate to System > Preferences > Look and Feel > Main Menu (Your menu layout may be different, if so the next option may help).

Location of Main Menu editor

  • Yet another method for accessing the Gnome Main Menu editor is to open a Terminal/Console/xterm window
Location of Gnome Terminal

and type the following:

  • alacarte <PRESS THE ENTER KEY>
An open Gnome Terminal window

  • After using one of the above methods (hopefully) the Main Menu editor is displayed.
The Main Menu editor windows (alacarte)

  • Select the Graphics sub-menu from the Main Menu dialog box (or which ever section you want the Blender icon to be contained in),
The Main Menu editor windows (alacarte), with the left hand Graphics menu section selected

then click the New Item button.

The Main Menu editor windows (alacarte), with the right hand New Item clicked

  • In the Create Launcher dialog box, make sure the Type: drop down menu has Application selected.
The Create Launcher dialog box (alacarte)

  • In the Create Launcher dialog box also fill in the Name:, Comment: and Command: fields. Fill the Name: field with the program name, for example Blender. You can name this whatever you'd like, this is what appears in the menu, but does not affect the functionality of the program. Fill the Comment: field with a descriptive comment. This is what is shown on the tooltips popups. Fill the Command: field with the full path of the blender program executable/binary, for example, /home/user/blender-#.##-linux-glibc#.#.#-ARCH/blender
  • Click the icon button to choose an icon (the icon button by default is to the top left within the Create Launcher dialog box and looks like a platform attached to a spring (depending on the chosen theme) or if no icon is selected by the theme the words No Icon may be displayed.
The Icon selection/display box (alacarte)

When the mouse is positioned over the icon button it will highlight). There may or may not be an icon for Blender in your default location. You can make one, or look for the icon that goes with KDE. This should be in directory /opt/kde/share/icons/hicolor/48x48/apps/blender.png (assuming you installed KDE). If your installation directory is different, you can search for it using this command in a Terminal or Console:

  • find / -name "blender.png" -print <PRESS THE ENTER KEY>
  • If you cannot find your Blender icon then you can use this 2.45 Blender icon for the Gnome Blender icon Image:Blender 2.45 Icon Pixmap for Gnome.png, just click on the picture and save it to your computer.
  • Once you have found the icon you wish to use for Blender, select it in the Browse Icons dialog box and select the Ok button to confirm it.
Browser Dialog displaying available icons in specified location (alacarte)

  • Then click the Ok button in the Create Launcher Dialog box to create the new menu and icon item in the Main Menu editor dialog. Make sure the Show item is selected to the left of the newly created Blender entry.
  • Click the Close button to close the Main Menu editor.
  • Now you should have access to Blender from the Gnome Menu as well as an icon assigned.
  • To add a Panel icon for Blender,  LMB Image:Template-LMB.png click on the Gnome Main Menu panel and navigate to the Blender menu entry location in the menu, then  RMB Image:Template-RMB.png click the Blender menu entry and select Add this launcher to panel. Once that is done the Blender icon should appear on the panel.
Right click menu from Main Menu Blender Icon (alacarte)

  • To add a Desktop icon for Blender, it is almost the same as adding a Panel icon for Blender but instead of Selecting Add this launcher to panel you instead select Add this launcher to desktop.