Difference between revisions of "Xilinx Development Tool Menus in Ubuntu 12.xx"
Line 1: | Line 1: | ||
− | |||
− | |||
+ | == Create Xilinx Design Tools menus in Ubuntu 12.xx == | ||
+ | <br/> | ||
+ | <p>Executing this has only sense when Xilinx Development tools are installed on your Ubuntu 12.xx system (running under Unity).</p> | ||
+ | <p>The attached '''"Xilinx_Menus_for_Ubuntu_12xx_Unity_Nov12.tar.gz"''' contains the necessary files to create a Xilinx Development menu system for Ubuntu 12.xx.</p> | ||
+ | <br /> | ||
+ | <p>Xilinx development tools running on Linux never had a menus system like they have in Microsoft Windows. Often seen as a stumble stone for starting people. This setup tries to solve this issue.</p> | ||
+ | <p>The who setup can be carried out without having to open a terminal window or typing Linux specific commands.</p> | ||
+ | <br /> | ||
+ | '''Lets start putting the Xilinx menus in place:''' | ||
+ | <br /> | ||
+ | |||
+ | * Download the "Xilinx_Menus_for_Ubuntu_12xx_Unity_Nov12.tar.gz" file and save it. | ||
+ | * Extract the file into a local folder on your machine. | ||
+ | * Two Directories will show up (with sub-Directories and files): | ||
+ | <br /> | ||
+ | '''Directory 1''' | ||
+ | <pre> | ||
+ | /.Local | ||
+ | | <share> | ||
+ | |<applications> | ||
+ | | |Contains: .desktop files | ||
+ | | | ||
+ | |<icons> | ||
+ | |<Xilinx> | ||
+ | |Contains: Xilinx icons represented as .svg files | ||
+ | </pre> | ||
+ | '''Directory 2''' | ||
+ | <pre> | ||
+ | /opt | ||
+ | |<extras.ubuntu.com> | ||
+ | |<drawers> | ||
+ | |... | ||
+ | </pre> | ||
+ | <br /> | ||
+ | * Open the Home Folder. | ||
+ | * Click second icon under the "Dash Home" button in the launcher bar. | ||
+ | * In that Nautillus browser window click on the '''"File System"''' icon,view figure 1. | ||
+ | [[File:Folder_Home_FileSystem.png|border|271px|Home folder]] | ||
+ | <br /><br /> | ||
+ | * Now Select '''"show hidden files"''', in the '''"view"''' menu, view figure 2. | ||
+ | [[File:Follder_ShowHiddenFiles.png|border|Show hidden files]] | ||
+ | <br /><br /> | ||
+ | * Browse down to: | ||
+ | <pre> | ||
+ | /.Local/share/applications/ | ||
+ | </pre> | ||
+ | * Copy here the contents, all '''.desktop''' file, from the "application" folder of the uncompressed '''"Xilinx_Menus_for_Ubuntu_12xx_Unity_Nov12.tar.gz"''' file. | ||
+ | * Browse now to: | ||
+ | <pre> | ||
+ | /.Local/share/icons | ||
+ | </pre> | ||
+ | * Copy here the Xilinx folder from the uncompressed '''"Xilinx_Menus_for_Ubuntu_12xx_Unity_Nov12.tar.gz"''' file, view Figure 3. | ||
+ | <br/> | ||
+ | [[File:Folder_dotLocal_Share_Apps.png|border]] | ||
+ | <br /><br /> | ||
+ | '''It's not done yet!''' | ||
+ | <br /> | ||
+ | * Paths in .desktop files must be absulte paths. Because I created this on my system, you will need to edit the files and change some path settings in the different '''.desktop''' files you just copied. | ||
+ | * Browse back to: | ||
+ | <pre> | ||
+ | /.Local/share/applications/ | ||
+ | </pre> | ||
+ | <br/> | ||
+ | * Open a text editor (gedit, vim, or so). | ||
+ | * Load the first '''.desktop''' file. | ||
+ | * In the text several lines refer to: '''"/home/<USER>/.local/s....."''' replace the '''<USER>''' by the name of your home directory, usually your username. | ||
+ | * When the Xilinx tools are not installed in the default install directory, '''"/opt/Xilinx/1....."''' adapt this path to. ''(e.g. when the Xilinx tools are installed in /usr the path must look like: "/usr/Xilinx/1.....").'' | ||
+ | * Do this for all just copied '''.desktop''' files. | ||
+ | <br /><br /> | ||
+ | '''Now the last step!''' | ||
+ | <br /> | ||
+ | * Install the small tool: '''Drawers'''. | ||
+ | * Start a terminal window and type: | ||
+ | <pre> | ||
+ | sudo add-apt-repository ppa:ian-berke/ppa-drawers | ||
+ | sudo apt-get update | ||
+ | sudo apt-get install drawers | ||
+ | </pre> | ||
+ | |||
+ | '''Or''' | ||
+ | |||
+ | * Start a terminal window | ||
+ | * Copy or move, as sudo, the folder '''"drawers"'''. from the extracted '''"Xilinx_Menus_for_Ubuntu_12xx_Unity_Nov12.tar.gz"''' file. | ||
+ | <pre> | ||
+ | /opt/extras.ubuntu.com/ | ||
+ | </pre> | ||
+ | In the same folder of your system. Starting from the home foders this can be done as: | ||
+ | * <pre>cd ../../opt/extras.ubuntu.com</pre> | ||
+ | * <pre>sudo mv sudo cp -R <Foder_were_extracted_files_reside>/* </pre> | ||
+ | <br/> | ||
+ | <br/> | ||
+ | '''As last - Cherry on the cake:''' | ||
+ | <br/> | ||
+ | * drag the '''"ISE Design Tools.desktop"''' (Xilinx Design Tools) file to the launcher bar. An icon with a stylish X as in figure 2 is now shown. | ||
+ | <br/> | ||
+ | '''To start the menus:''' | ||
+ | <br/> | ||
+ | * Just click the icon or right click the icon and select what's wanted. | ||
+ | <br/> | ||
[[Category:Zynq]] | [[Category:Zynq]] |
Revision as of 09:22, 27 January 2013
Executing this has only sense when Xilinx Development tools are installed on your Ubuntu 12.xx system (running under Unity).
The attached "Xilinx_Menus_for_Ubuntu_12xx_Unity_Nov12.tar.gz" contains the necessary files to create a Xilinx Development menu system for Ubuntu 12.xx.
Xilinx development tools running on Linux never had a menus system like they have in Microsoft Windows. Often seen as a stumble stone for starting people. This setup tries to solve this issue.
The who setup can be carried out without having to open a terminal window or typing Linux specific commands.
Lets start putting the Xilinx menus in place:
- Download the "Xilinx_Menus_for_Ubuntu_12xx_Unity_Nov12.tar.gz" file and save it.
- Extract the file into a local folder on your machine.
- Two Directories will show up (with sub-Directories and files):
Directory 1
/.Local | <share> |<applications> | |Contains: .desktop files | |<icons> |<Xilinx> |Contains: Xilinx icons represented as .svg files
Directory 2
/opt |<extras.ubuntu.com> |<drawers> |...
- Open the Home Folder.
- Click second icon under the "Dash Home" button in the launcher bar.
- In that Nautillus browser window click on the "File System" icon,view figure 1.
- Now Select "show hidden files", in the "view" menu, view figure 2.
- Browse down to:
/.Local/share/applications/
- Copy here the contents, all .desktop file, from the "application" folder of the uncompressed "Xilinx_Menus_for_Ubuntu_12xx_Unity_Nov12.tar.gz" file.
- Browse now to:
/.Local/share/icons
- Copy here the Xilinx folder from the uncompressed "Xilinx_Menus_for_Ubuntu_12xx_Unity_Nov12.tar.gz" file, view Figure 3.
- Paths in .desktop files must be absulte paths. Because I created this on my system, you will need to edit the files and change some path settings in the different .desktop files you just copied.
- Browse back to:
/.Local/share/applications/
- Open a text editor (gedit, vim, or so).
- Load the first .desktop file.
- In the text several lines refer to: "/home/<USER>/.local/s....." replace the <USER> by the name of your home directory, usually your username.
- When the Xilinx tools are not installed in the default install directory, "/opt/Xilinx/1....." adapt this path to. (e.g. when the Xilinx tools are installed in /usr the path must look like: "/usr/Xilinx/1.....").
- Do this for all just copied .desktop files.
Now the last step!
- Install the small tool: Drawers.
- Start a terminal window and type:
sudo add-apt-repository ppa:ian-berke/ppa-drawers sudo apt-get update sudo apt-get install drawers
Or
- Start a terminal window
- Copy or move, as sudo, the folder "drawers". from the extracted "Xilinx_Menus_for_Ubuntu_12xx_Unity_Nov12.tar.gz" file.
/opt/extras.ubuntu.com/
In the same folder of your system. Starting from the home foders this can be done as:
cd ../../opt/extras.ubuntu.com
sudo mv sudo cp -R <Foder_were_extracted_files_reside>/*
As last - Cherry on the cake:
- drag the "ISE Design Tools.desktop" (Xilinx Design Tools) file to the launcher bar. An icon with a stylish X as in figure 2 is now shown.
To start the menus:
- Just click the icon or right click the icon and select what's wanted.