<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Nemo on Janusworx</title><link>https://janusworx.com/tags/nemo/</link><description>Recent content in Nemo on Janusworx</description><generator>Hugo -- gohugo.io</generator><language>en</language><managingEditor>feedback@janusworx.com (Mario Jason Braganza)</managingEditor><webMaster>feedback@janusworx.com (Mario Jason Braganza)</webMaster><copyright>© 2026, Mario Jason Braganza</copyright><lastBuildDate>Mon, 03 Jun 2024 17:08:35 +0530</lastBuildDate><atom:link href="https://janusworx.com/tags/nemo/index.xml" rel="self" type="application/rss+xml"/><item><title>Assigning Keyboard Shortcuts to Nemo Actions</title><link>https://janusworx.com/work/assigning-keyboard-shortcuts-to-nemo-actions/</link><pubDate>Mon, 03 Jun 2024 17:08:35 +0530</pubDate><author>feedback@janusworx.com (Mario Jason Braganza)</author><guid>https://janusworx.com/work/assigning-keyboard-shortcuts-to-nemo-actions/</guid><description>&lt;p&gt;Everytime I download a &lt;a href="https://www.humblebundle.com/books/dynamite-20th-anniversary-20000page-mega-bundle-books" target="_blank" rel="noreferrer"&gt;Humble Bundle&lt;/a&gt;, I’m left with a ton of books, in various formats on my desktop.&lt;br&gt;
I normally like all the formats for a single title to be in a single folder, so that Calibre can then treat them as a single book&lt;sup id="fnref:1"&gt;&lt;a href="#fn:1" class="footnote-ref" role="doc-noteref"&gt;1&lt;/a&gt;&lt;/sup&gt;, when adding them.&lt;/p&gt;
&lt;p&gt;I’ve been using Pedro Santana’s, &lt;a href="https://github.com/pedro-augusto-santana/nemo_create_new_folder_with_selection" target="_blank" rel="noreferrer"&gt;nifty little Nemo action&lt;/a&gt; to help me do just this.&lt;br&gt;
Once installed, all I need to do is select my files, right click on them and then create a new folder, like so …

&lt;figure&gt;
 &lt;img class="my-0 rounded-md" src="https://janusworx.com/images/2024/nemo-action-1.png" alt="nemo cinnamon screenshot with no pointer in the context command" /&gt;
 
 
 &lt;/figure&gt;&lt;/p&gt;
&lt;p&gt;The one remaining wrinkle, being that when you’re completely keyboard driven, you still need to come down a couple of steps with the arrow keys or switch to the mouse.&lt;br&gt;
When doing this with close to 250+ files, this quickly gets tedious.&lt;br&gt;
&lt;a href="https://stackoverflow.com/a/42786928" target="_blank" rel="noreferrer"&gt;Stack Overflow to the rescue&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Turns out that all I needed to do was add an &lt;code&gt;_&lt;/code&gt; in front of the letter, I wanted to use to activate my little action from the context menu.&lt;br&gt;
My original action went …&lt;/p&gt;
&lt;div class="highlight-wrapper"&gt;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-toml" data-lang="toml"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="nx"&gt;Nemo&lt;/span&gt; &lt;span class="nx"&gt;Action&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="nx"&gt;Active&lt;/span&gt;&lt;span class="p"&gt;=&lt;/span&gt;&lt;span class="kc"&gt;true&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="nx"&gt;Name&lt;/span&gt;&lt;span class="p"&gt;=&lt;/span&gt;&lt;span class="nx"&gt;Create&lt;/span&gt; &lt;span class="nx"&gt;new&lt;/span&gt; &lt;span class="nx"&gt;folder&lt;/span&gt; &lt;span class="nx"&gt;with&lt;/span&gt; &lt;span class="nx"&gt;selection&lt;/span&gt; 
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="p"&gt;...&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;I decided to use the &lt;em&gt;n&lt;/em&gt; in &lt;em&gt;selection&lt;/em&gt;. &lt;em&gt;&lt;strong&gt;N&lt;/strong&gt;&lt;/em&gt; for &lt;em&gt;new folder&lt;/em&gt;. Easy to remember! So with this tiny change …&lt;/p&gt;
&lt;div class="highlight-wrapper"&gt;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-TOML" data-lang="TOML"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="nx"&gt;Name&lt;/span&gt;&lt;span class="p"&gt;=&lt;/span&gt;&lt;span class="nx"&gt;Create&lt;/span&gt; &lt;span class="nx"&gt;new&lt;/span&gt; &lt;span class="nx"&gt;folder&lt;/span&gt; &lt;span class="nx"&gt;with&lt;/span&gt; &lt;span class="nx"&gt;selectio_n&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;I get to do this!&lt;/p&gt;

&lt;figure&gt;
 &lt;img class="my-0 rounded-md" src="https://janusworx.com/images/2024/nemo-action-2.png" alt="nemo cinnamon screenshot that lets me use a custom key in the context command" /&gt;
 
 
 &lt;/figure&gt;
&lt;p&gt;I can select, get the context menu, hit n, type in the folder name and done!&lt;br&gt;
It’s still a lot of work when there’s lots of files, but there’s a seamless flow to the entire process.&lt;/p&gt;
&lt;p&gt;&lt;hr style='margin-left: auto; margin-right: auto; margin-bottom: 40px; margin-top: 50px; width:100px; border: none; background-color:rgb(238, 238, 238); color: rgb(238, 238, 238); height: 1px;'/&gt;

Feedback on this post? Mail me at &lt;a href="mailto:&amp;amp;#102;&amp;amp;%23101;&amp;amp;%23101;&amp;amp;%23100;&amp;amp;%2398;&amp;amp;%2397;&amp;amp;%2399;&amp;amp;%23107;&amp;amp;%2364;&amp;amp;%23106;&amp;amp;%2397;&amp;amp;%23110;&amp;amp;%23117;&amp;amp;%23115;&amp;amp;%23119;&amp;amp;%23111;&amp;amp;%23114;&amp;amp;%23120;&amp;amp;%2346;&amp;amp;%2399;&amp;amp;%23111;&amp;amp;%23109;?subject=%22Feedback on post: Assigning Keyboard Shortcuts to Nemo Actions
%22" &gt;feedback at this domain&lt;/a&gt;
&lt;br&gt;

&lt;br&gt;

P.S. Subscribe to my &lt;a href="https://janusworx.com/subscribe/" target="_blank" rel="noreferrer"&gt;mailing list!&lt;/a&gt;&lt;br&gt;
Forward these posts and letters to your friends and get them to subscribe!&lt;br&gt;
P.P.S. Feed my &lt;a href="https://www.amazon.in/hz/wishlist/ls/2QAUKHHAMOOVS?ref_=wl_share" target="_blank" rel="noreferrer"&gt;insatiable reading habit.&lt;/a&gt;&lt;/p&gt;
&lt;div class="footnotes" role="doc-endnotes"&gt;
&lt;hr&gt;
&lt;ol&gt;
&lt;li id="fn:1"&gt;
&lt;p&gt;&lt;a href="https://manual.calibre-ebook.com/gui.html#add-books" target="_blank" rel="noreferrer"&gt;point two, in this section of the documentation&lt;/a&gt;&amp;#160;&lt;a href="#fnref:1" class="footnote-backref" role="doc-backlink"&gt;&amp;#x21a9;&amp;#xfe0e;&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;</description></item></channel></rss>