{"id":2767,"date":"2021-06-06T17:10:28","date_gmt":"2021-06-06T17:10:28","guid":{"rendered":"https:\/\/orchid-panther-716643.hostingersite.com\/2021-6-6-nuke-launcher-on-centos\/"},"modified":"2026-01-15T10:27:46","modified_gmt":"2026-01-15T10:27:46","slug":"nuke-launcher-on-centos","status":"publish","type":"post","link":"https:\/\/jordalefou.com\/es\/2021\/06\/06\/nuke-launcher-on-centos\/","title":{"rendered":"\/\/ Alias de escritorio Nuke para Linux (Centos) (.desktop)"},"content":{"rendered":"<hr \/>\n<div class=\"sqs-html-content\" data-sqsp-text-block-content>\n<h3 style=\"white-space:pre-wrap;\">Installing Nuke on Linux doesn\u2019t provide the <strong>icon launcher<\/strong> you have on Mac or Windows.<\/h3>\n<h3 style=\"white-space:pre-wrap;\">But you can manually create it.<\/h3>\n<\/div>\n<hr \/>\n<div class=\"sqs-html-content\" data-sqsp-text-block-content>\n<p class=\"\" style=\"white-space:pre-wrap;\">I recommend this tips but you can go to step 2 for shorter version:<\/p>\n<\/div>\n<hr \/>\n<div class=\"sqs-html-content\" data-sqsp-text-block-content>\n<h2 style=\"white-space:pre-wrap;\">\/ First of all. <strong>Create an alternative<\/strong> Nuke path.<\/h2>\n<p class=\"\" data-rte-preserve-empty=\"true\" style=\"white-space:pre-wrap;\">\n<ul data-rte-list=\"default\">\n<li>\n<p class=\"\" style=\"white-space:pre-wrap;\"><strong>I use to install the Nuke App outside my main local disk.<\/strong><\/p>\n<p class=\"\" style=\"white-space:pre-wrap;\"><strong>This way I get a faster and better gestion on upgrading every three months and save more space.<\/strong><\/p>\n<p class=\"\" style=\"white-space:pre-wrap;\">So, in my Workstation I download the .tgz compress app in my SSD (named SDT01)<\/p>\n<p class=\"\" style=\"white-space:pre-wrap;\">and this will be my Nuke folder:<\/p>\n<p class=\"\" style=\"white-space:pre-wrap;\"><em>\/run\/media\/user\/SDT01\/00_Apps_Backup\/02_Nukes\/Nuke13.0v2\/Nuke13.0<\/em><\/p>\n<p class=\"\" style=\"white-space:pre-wrap;\">If you don\u2019t wanna do the same, just <strong>keep in mind the path <\/strong>you have on installing nuke.<\/p>\n<\/li>\n<\/ul>\n<\/div>\n<hr \/>\n<div class=\"sqs-html-content\" data-sqsp-text-block-content>\n<h2 style=\"white-space:pre-wrap;\">\/ 1. Editing my <strong>bashrc<\/strong><\/h2>\n<p class=\"\" style=\"white-space:pre-wrap;\">Then I get this path line (<em>\/run\/media\/user\/SDT01\/00_Apps_Backup\/02_Nukes\/Nuke13.0v2\/Nuke13.0<\/em>)<br \/>into my <strong>.bashrc<\/strong> script (located in my home folder) here:<\/p>\n<p class=\"\" style=\"white-space:pre-wrap;\"><em>\/home\/user<\/em><\/p>\n<p class=\"\" style=\"white-space:pre-wrap;\">and write down as it drives my Nuke directory:<\/p>\n<p class=\"\" style=\"white-space:pre-wrap;\"><em>alias n=&#8217;\/run\/media\/user\/SDT01\/00_Apps_Backup\/02_Nukes\/Nuke13.0v2\/Nuke13.0 &#8211;NukeX -nc&#8217;<\/em><\/p>\n<p class=\"\" data-rte-preserve-empty=\"true\" style=\"white-space:pre-wrap;\">\n<p class=\"\" style=\"white-space:pre-wrap;\">Creating this alias I can launch nuke just writing \u201cn\u201d on my console.<\/p>\n<p class=\"\" style=\"white-space:pre-wrap;\">This is just useful and faster, and you can create your own alias, as \u201cpatata\u201d or \u201csugarbaby\u201d instead \u201cn\u201d<\/p>\n<p class=\"\" style=\"white-space:pre-wrap;\">NOTE: For watching on graphical mode the .bashrc script, <strong>use COMAND + H<\/strong>, because is hidden by default.<\/p>\n<p class=\"\" data-rte-preserve-empty=\"true\" style=\"white-space:pre-wrap;\">\n<p class=\"\" style=\"white-space:pre-wrap;\">The launch comands provide you different calls to Nuke and the way you wanna launch the application. <br \/>Also you can use it for launching Hiero, Nuke, Nuke X, etc.<br \/>I\u2019m using Nuke X in non commercial mode (\u2014NukeX -nc)<br \/>Go to the foundry for specific <a href=\"https:\/\/learn.foundry.com\/nuke\/content\/comp_environment\/configuring_nuke\/command_line_operations.html\">launch comands<\/a>, or just remove -nc at the end.<\/p>\n<\/div>\n<hr \/>\n<div class=\"sqs-html-content\" data-sqsp-text-block-content>\n<h2 style=\"white-space:pre-wrap;\">\/ 2. Creating my <strong>.desktop launcher<\/strong><\/h2>\n<p class=\"\" style=\"white-space:pre-wrap;\">Now, I\u2019m ready to create my .desktop launcher.<\/p>\n<p class=\"\" style=\"white-space:pre-wrap;\"> The .desktop launcher will be another script <strong>you need to create as root<\/strong> into this folder: <\/p>\n<p class=\"\" style=\"white-space:pre-wrap;\"><strong>\/usr\/share\/applications<\/strong><\/p>\n<p class=\"\" style=\"white-space:pre-wrap;\">This way you are creating a link to the app using a desktop icon as windows or Mac.<\/p>\n<p class=\"\" style=\"white-space:pre-wrap;\">(Also works in any directory, so keet it in mind,  you need to mark it as TRUST and Allow executing file as program )<\/p>\n<p class=\"\" data-rte-preserve-empty=\"true\" style=\"white-space:pre-wrap;\">\n<p class=\"\" style=\"white-space:pre-wrap;\">The right way to write the file is:<\/p>\n<p class=\"\" data-rte-preserve-empty=\"true\" style=\"white-space:pre-wrap;\">\n<blockquote>\n<p class=\"\" style=\"white-space:pre-wrap;\">[Desktop Entry]<\/p>\n<p class=\"\" style=\"white-space:pre-wrap;\">Name=Nuke.13.0v2<\/p>\n<p class=\"\" style=\"white-space:pre-wrap;\">Comment=Nuke desktop shortcut<\/p>\n<p class=\"\" style=\"white-space:pre-wrap;\">Exec=&#8221;\/run\/media\/user\/SDT01\/00_Apps_Backup\/02_Nukes\/Nuke13.0v2\/Nuke13.0&#8243; &#8211;NukeX -nc %F<\/p>\n<p class=\"\" style=\"white-space:pre-wrap;\">Terminal=true<\/p>\n<p class=\"\" style=\"white-space:pre-wrap;\">MimeType=application\/x-nuke;<\/p>\n<p class=\"\" style=\"white-space:pre-wrap;\">Icon=\/run\/media\/user\/SDT01\/00_Apps_Backup\/02_Nukes\/Nuke13.0v2\/plugins\/icons\/NukeApp48.png<\/p>\n<p class=\"\" style=\"white-space:pre-wrap;\">Type=Application<\/p>\n<p class=\"\" style=\"white-space:pre-wrap;\">Categories=Graphics;2DGraphics;RasterGraphics;FLTK;<\/p>\n<p class=\"\" style=\"white-space:pre-wrap;\">Name[en_GB]=Nuke.desktop<\/p>\n<\/blockquote>\n<p class=\"\" style=\"white-space:pre-wrap;\">\n<p>As you can see, <strong>I\u2019m writing my path on the Exec line<\/strong>. <br \/><strong>Write your OWN real path, and name correctly your Nuke version<\/strong>.  On updating Nuke you must to do it recursively.<br \/><strong>(Remove -nc if you have license and don\u2019t forget the %F at the end.)<\/strong><\/p>\n<p class=\"\" style=\"white-space:pre-wrap;\">Ok, now log out, this way you will get the changes on your App launcher.<\/p>\n<p class=\"\" style=\"white-space:pre-wrap;\">NOTE: This .desktop file can be also created at <strong>~\/.local\/share\/applications<\/strong> in case you have differente users.<br \/>Take in mind that on launching the .desktop as root, you will be root user using Nuke. It is preferible to run it as another (non root) user, with non-Administrative privileges.<\/p>\n<p>The .desktop file also can be pasted on your Desktop, this way you can grab your script to the icon and Nuke will open it.<br \/>As you can see, it works at any place. But because it is executable file you must take care of the permissions.<\/p>\n<\/div>\n<p>      <img decoding=\"async\" src=\"https:\/\/images.squarespace-cdn.com\/content\/v1\/5c238bbaf93fd45c7ceada8c\/1633778068221-SOU9N5CALCNY10CYJXM1\/Screenshot+from+2021-10-09+13-11-17.png?format=original\" alt=\"\"\/><\/p>\n<div class=\"sqs-html-content\" data-sqsp-text-block-content>\n<h2 style=\"white-space:pre-wrap;\">\/ 3. Open scripts directly in graphical mode<\/h2>\n<p class=\"\" style=\"white-space:pre-wrap;\">Last step is go to your graphical and click one .nk script + right mouse button and select  <strong>Open with Other Application<\/strong>. <br \/>If your Nuke.desktop is right you can find Nuke in the list  and select as default launcher for .nk files. <\/p>\n<p class=\"\" style=\"white-space:pre-wrap;\">Easy!!! Now every time you double click on .nk will open the app.<\/p>\n<\/div>\n<p>      <img decoding=\"async\" src=\"https:\/\/images.squarespace-cdn.com\/content\/v1\/5c238bbaf93fd45c7ceada8c\/1633780114005-OHEOMB8N1LUQA8UGGPKT\/Screenshot+from+2021-10-09+13-48-02.png?format=original\" alt=\"\"\/><\/p>\n<div class=\"sqs-html-content\" data-sqsp-text-block-content>\n<h2 style=\"white-space:pre-wrap;\">\/ 4. Set your mine list<\/h2>\n<p class=\"\" style=\"white-space:pre-wrap;\">Some times, the .nk file is not recognizable by Centos, then  you must edit the mine list.<\/p>\n<p class=\"\" style=\"white-space:pre-wrap;\">The mine list is which tell Centos that Nuke run .nk files.<\/p>\n<p class=\"\" style=\"white-space:pre-wrap;\"> Your .desktop file will work without the mine list, but is better to have it setted.<\/p>\n<p class=\"\" style=\"white-space:pre-wrap;\">Here you can find the right way, at <a href=\"https:\/\/support.foundry.com\/hc\/en-us\/articles\/360012996299-Q100576-Setting-the-default-nk-script-launchers-for-Nuke-NukeX-\" target=\"\">The Foundry<\/a>. I\u2019ve screenshot the main instructions.<\/p>\n<\/div>\n<p>      <img decoding=\"async\" src=\"https:\/\/images.squarespace-cdn.com\/content\/v1\/5c238bbaf93fd45c7ceada8c\/1633780143777-R53G26Q2ENIFQLLC90B1\/Screenshot+from+2021-10-09+13-42-28.png?format=original\" alt=\"\"\/><\/p>\n<hr \/>\n<div class=\"sqs-html-content\" data-sqsp-text-block-content>\n<h2 style=\"white-space:pre-wrap;\">\/ Final thoughts:<\/h2>\n<p class=\"\" style=\"white-space:pre-wrap;\">Of course, <strong>you can use this tip on any application, as Blender.desktop.<\/strong><\/p>\n<p class=\"\" style=\"white-space:pre-wrap;\">Manage your apps in external drives, much more easy to update.<\/p>\n<p class=\"\" style=\"white-space:pre-wrap;\">In opposition they can made your workstation more vulnerable, but you can solve it adjusting privileges.<\/p>\n<p class=\"\" data-rte-preserve-empty=\"true\" style=\"white-space:pre-wrap;\">\n<p class=\"\" style=\"white-space:pre-wrap;\">You also will find some useful tools for manage your personal projects at: <a href=\"https:\/\/www.hurtyworld.com\/learn\" target=\"_blank\">www.hurtyworld.com\/learn<\/a>. Feel free to visit.<\/p>\n<\/div>\n<hr \/>\n<div class=\"sqs-html-content\" data-sqsp-text-block-content>\n<p class=\"\" style=\"white-space:pre-wrap;\">\n<p><\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p style=\"white-space:pre-wrap;\" data-rte-preserve-empty=\"true\">Create your nuke launcher icon for linux.<\/p>","protected":false},"author":1,"featured_media":6,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_seopress_robots_primary_cat":"","_seopress_titles_title":"","_seopress_titles_desc":"","_seopress_robots_index":"","_uag_custom_page_level_css":"","site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[23,40,24,35],"tags":[38,17,37,16,39,22],"class_list":["post-2767","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-linux","category-nuke","category-pipeline","category-vfx","tag-desktop","tag-centos","tag-icon-launcher","tag-nuke","tag-open-with-other-application","tag-pipeline"],"uagb_featured_image_src":{"full":["https:\/\/jordalefou.com\/wp-content\/uploads\/2021\/06\/nukito.webp",1920,1080,false],"thumbnail":["https:\/\/jordalefou.com\/wp-content\/uploads\/2021\/06\/nukito-150x85.webp",150,85,true],"medium":["https:\/\/jordalefou.com\/wp-content\/uploads\/2021\/06\/nukito-284x160.webp",284,160,true],"medium_large":["https:\/\/jordalefou.com\/wp-content\/uploads\/2021\/06\/nukito-768x432.webp",768,432,true],"large":["https:\/\/jordalefou.com\/wp-content\/uploads\/2021\/06\/nukito-1024x576.webp",1024,576,true],"1536x1536":["https:\/\/jordalefou.com\/wp-content\/uploads\/2021\/06\/nukito-1536x864.webp",1536,864,true],"2048x2048":["https:\/\/jordalefou.com\/wp-content\/uploads\/2021\/06\/nukito.webp",1920,1080,false],"trp-custom-language-flag":["https:\/\/jordalefou.com\/wp-content\/uploads\/2021\/06\/nukito-18x10.webp",18,10,true]},"uagb_author_info":{"display_name":"jordal","author_link":"https:\/\/jordalefou.com\/es\/author\/jordalefougmail-com\/"},"uagb_comment_info":0,"uagb_excerpt":"Create your nuke launcher icon for linux.","_links":{"self":[{"href":"https:\/\/jordalefou.com\/es\/wp-json\/wp\/v2\/posts\/2767","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jordalefou.com\/es\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jordalefou.com\/es\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jordalefou.com\/es\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/jordalefou.com\/es\/wp-json\/wp\/v2\/comments?post=2767"}],"version-history":[{"count":1,"href":"https:\/\/jordalefou.com\/es\/wp-json\/wp\/v2\/posts\/2767\/revisions"}],"predecessor-version":[{"id":3518,"href":"https:\/\/jordalefou.com\/es\/wp-json\/wp\/v2\/posts\/2767\/revisions\/3518"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/jordalefou.com\/es\/wp-json\/wp\/v2\/media\/6"}],"wp:attachment":[{"href":"https:\/\/jordalefou.com\/es\/wp-json\/wp\/v2\/media?parent=2767"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jordalefou.com\/es\/wp-json\/wp\/v2\/categories?post=2767"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jordalefou.com\/es\/wp-json\/wp\/v2\/tags?post=2767"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}