Repository with sources and generator of https://larlet.fr/david/ https://larlet.fr/david/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

index.html 9.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166
  1. <!doctype html>
  2. <html lang=fr>
  3. <head>
  4. <!-- Always define the charset before the title -->
  5. <meta charset=utf-8>
  6. <title>Ouvrir un shell dans le répertoire courant de nautilus — Biologeek — David Larlet</title>
  7. <!-- Define a viewport to mobile devices to use - telling the browser to assume that the page is as wide as the device (width=device-width) and setting the initial page zoom level to be 1 (initial-scale=1.0) -->
  8. <meta name="viewport" content="width=device-width, initial-scale=1"/>
  9. <!-- Fake favicon, to avoid extra request to the server -->
  10. <link rel="icon" href="data:;base64,iVBORw0KGgo=">
  11. <link type="application/atom+xml" rel="alternate" title="Feed" href="/david/log/" />
  12. <link rel="manifest" href="/manifest.json">
  13. <link rel="stylesheet" href="/static/david/css/larlet-david-_J6Rv.css" data-instant-track />
  14. <noscript>
  15. <style type="text/css">
  16. /* Otherwise fonts are loaded by JS for faster initial rendering. See scripts at the bottom. */
  17. body {
  18. font-family: 'EquityTextB', serif;
  19. }
  20. h1, h2, h3, h4, h5, h6, time, nav a, nav a:link, nav a:visited {
  21. font-family: 'EquityCapsB', sans-serif;
  22. font-variant: normal;
  23. }
  24. </style>
  25. </noscript>
  26. <!-- Canonical URL for SEO purposes -->
  27. <link rel="canonical" href="https://larlet.fr/david/biologeek/archives/20050227-ouvrir-un-shell-dans-le-repertoire-courant-de-nautilus">
  28. </head>
  29. <body>
  30. <div>
  31. <header>
  32. <nav>
  33. <p>
  34. <small>
  35. Je suis <a href="/david/" title="Profil public">David Larlet</a>, <a href="/david/pro/" title="Activité professionnelle">artisan</a> du web qui vous <a href="/david/pro/accompagnement/" title="Activité d’accompagnement">accompagne</a><span class="more-infos"> dans l’acquisition de savoirs pour concevoir des <a href="/david/pro/produits-essentiels/" title="Qu’est-ce qu’un produit essentiel ?">produits essentiels</a></span>. <span class="more-more-infos">Discutons ensemble d’une <a href="/david/pro/devis/" title="En savoir plus">non-demande de devis</a>.</span> Je partage ici mes <a href="/david/blog/" title="Expériences bienveillantes">réflexions</a> et <a href="/david/correspondances/2017/" title="Lettres hebdomadaires">correspondances</a>.
  36. </small>
  37. </p>
  38. </nav>
  39. </header>
  40. <section>
  41. <h1 property="schema:name">Ouvrir un shell dans le répertoire courant de nautilus</h1>
  42. <article typeof="schema:BlogPosting">
  43. <div property="schema:articleBody">
  44. <img src="/static/david/biologeek/images/logos/astuce_shell.png" alt="vignette" style="float:left; margin: 0.5em 1em;" property="schema:thumbnailUrl" />
  45. <p>Petite astuce s'appliquant à Ubuntu mais qui peut être généralisée à tous les environnements GNOME. Elle provient de la <a href="http://lists.ubuntu.com/mailman/listinfo/ubuntu-fr">mailing-list d'ubuntu-fr</a> et l'auteur, Frédéric Logier, possède un <a href="http://fredix.taonix.net/weblog/">blog très intéressant</a> que je viens de découvrir alors je lui fais un peu de pub ;-)</p>
  46. <h2>Si vous êtes pressé(e)</h2>
  47. <p>Un petit copier/coller dans votre shell devrait suffire&nbsp;:</p>
  48. <blockquote><p>cd <strong>~/.gnome2/nautilus-scripts</strong><br />
  49. wget <strong>http://g-scripts.sourceforge.net/nautilus-scripts/Execute/Open%20terminal/Open%20Terminal%20Here</strong><br />
  50. chmod <strong>+x Open\ Terminal\ Here</strong><br />
  51. mv <strong>Open\ Terminal\ Here "Terminal Ici"</strong></p></blockquote>
  52. <p>Maintenant, dans n'importe quel répertoire de nautilus, il suffit de faire un clic-droit (sur un répertoire ou sur le fond de la fenêtre) =&gt; <strong>Scripts</strong> =&gt; <strong>Terminal Ici</strong></p>
  53. <h2>Si vous voulez comprendre</h2>
  54. <p>On commence par aller dans le répertoire de scripts de nautilus puis on récupère le script sur internet. On lui donne les droits pour qu'il puisse être executé et on finit par le renommer pour qu'il ait un nom compréhensible pour les francophones. Simple et efficace :).</p>
  55. <h2>Si vous aimez cliquer (notez la différence de temps d'execution entre les deux méthodes...)</h2>
  56. <p>Téléchargez le script <a href="http://g-scripts.sourceforge.net/nautilus-scripts/Execute/Open%20terminal/Open%20Terminal%20Here">Open Terminal Here</a> dans le répertoire <strong>/home/votre-user/.gnome2/nautilus-scripts</strong> (attention le répertoire <strong>.gnome2</strong> est un fichier caché donc il faut cocher la petite case sous firefox) sous le nom <strong>Terminal Ici</strong>. Allez dans ce répertoire avec nautilus (.gnome2 est toujours caché alors il faut afficher les fichiers cachés&nbsp;: <strong>Affichage</strong> =&gt; <strong>Afficher les fichiers cachés</strong> ou Ctrl+H). Faites un clic-droit sur le fichier téléchargé =&gt; <strong>Propriétés</strong> puis onglet <strong>Permission</strong> cochez toutes les cases <strong>Execution</strong> avant de fermer.</p>
  57. <p>Qui a dit interface graphique == simplicité&nbsp;? ;-)</p>
  58. <p><strong>[edit]</strong>&nbsp;: il suffit maintenant de faire un simple <strong>sudo apt-get install nautilus-open-terminal</strong>.</p>
  59. </div>
  60. </article>
  61. <footer>
  62. <h6 property="schema:datePublished">— 27/02/2005</h6>
  63. </footer>
  64. </section>
  65. <section>
  66. <div>
  67. <h3>Articles peut-être en rapport</h3>
  68. <ul>
  69. <li><a href="/david/biologeek/archives/20070615-bilan-sur-paris-capitale-du-libre-2007/" title="Accès à Bilan sur Paris Capitale du Libre 2007">Bilan sur Paris Capitale du Libre 2007</a></li>
  70. <li><a href="/david/biologeek/archives/20070508-revue-du-portable-tecra-a8-sous-ubuntu-feisty/" title="Accès à Revue du portable Tecra A8 sous Ubuntu Feisty">Revue du portable Tecra A8 sous Ubuntu Feisty</a></li>
  71. <li><a href="/david/biologeek/archives/20070426-comment-valoriser-la-communaute-des-logiciels-libres-aupres-des-professionnels/" title="Accès à Comment valoriser la communauté des Logiciels Libres auprès des professionnels ?">Comment valoriser la communauté des Logiciels Libres auprès des professionnels ?</a></li>
  72. </ul>
  73. </div>
  74. </section>
  75. <section>
  76. <div id="comments">
  77. <h3>Commentaires</h3>
  78. <div class="comment" typeof="schema:UserComments">
  79. <p class="comment-meta">
  80. <span class="comment-author" property="schema:creator">bistouri</span> le <span class="comment-date" property="schema:commentTime">08/03/2005</span> :
  81. </p>
  82. <div class="comment-content" property="schema:commentText">
  83. <p>Les purs et durs de Gnome me pardonneront, j'ai vu à ce titre la possibilité d'intégrer un terminal dans KDE aussi (tout récemment).<br />
  84. <br />
  85. Sur Gnome ou KDE, c'est &quot;classieux&quot; comme fonctionnalité :-)</p>
  86. </div>
  87. </div>
  88. <div class="comment" typeof="schema:UserComments">
  89. <p class="comment-meta">
  90. <span class="comment-author" property="schema:creator">fredix</span> le <span class="comment-date" property="schema:commentTime">08/03/2005</span> :
  91. </p>
  92. <div class="comment-content" property="schema:commentText">
  93. <p>Merci pour ta pub Titus :)<br />
  94. <br />
  95. mais le mérite revient surtout à Sébastien Bacher qui m'avait aidé : (<a href="http://www.advogato.org/person/seb128/" title="http://www.advogato.org/person/seb128/">www.advogato.org/person/s...</a> )</p>
  96. </div>
  97. </div>
  98. <div class="comment" typeof="schema:UserComments">
  99. <p class="comment-meta">
  100. <span class="comment-author" property="schema:creator">alaingre</span> le <span class="comment-date" property="schema:commentTime">02/01/2006</span> :
  101. </p>
  102. <div class="comment-content" property="schema:commentText">
  103. <p>sudo apt-get install nautilus-open-terminal<br />
  104. <br />
  105. C'est tout de même plus simple non ?</p>
  106. </div>
  107. </div>
  108. <div class="comment" typeof="schema:UserComments">
  109. <p class="comment-meta">
  110. <span class="comment-author" property="schema:creator">David, biologeek</span> le <span class="comment-date" property="schema:commentTime">02/01/2006</span> :
  111. </p>
  112. <div class="comment-content" property="schema:commentText">
  113. <p>Oui, maintenant que le paquet a été créé (ce billet a bientôt un an... ;) )</p>
  114. </div>
  115. </div>
  116. <div class="comment" typeof="schema:UserComments">
  117. <p class="comment-meta">
  118. <span class="comment-author" property="schema:creator">Tif</span> le <span class="comment-date" property="schema:commentTime">23/07/2006</span> :
  119. </p>
  120. <div class="comment-content" property="schema:commentText">
  121. <p>Merci pour la mise à jour de 2006 (sudo apt-get...)<br />
  122. <br />
  123. Pensez à ceux qui googlelizent :D</p>
  124. </div>
  125. </div>
  126. </div>
  127. </section>
  128. <footer>
  129. <nav>
  130. <p>
  131. <small>
  132. Je réponds quasiment toujours aux <a href="m&#x61;ilto:d&#x61;vid%40l&#x61;rlet&#46;fr" title="Envoyer un email">emails</a> (<a href="/david/signature/" title="Ma signature actuelle avec possibilité de chiffrement">signés</a>) et vous pouvez me rencontrer à Montréal. <span class="more-infos">N’hésitez pas à <a href="/david/log/" title="Être tenu informé des mises à jour">vous abonner</a> pour être tenu informé des publications récentes.</span>
  133. </small>
  134. </p>
  135. </nav>
  136. </footer>
  137. </div>
  138. <script src="/static/david/js/larlet-david-3ee43f.js" data-no-instant></script>
  139. <script data-no-instant>InstantClick.init()</script>
  140. </body>
  141. </html>