XPost: alt.computer.workshop   
   From: brock.mcnuggets@gmail.com   
      
   On Jan 24, 2026 at 9:59:25 PM MST, "Gremlin" wrote   
   :   
      
   > Brock McNuggets    
   > news:69756ea8$10$20$882e4bbb@reader.netnews.com Sun, 25 Jan 2026 01:15:20   
   > GMT in alt.computer.workshop, wrote:   
   >   
   >> Mine is set to name the files based on MID and source. For example, if I   
   >> get yours from Paganini it is named:   
   >   
   > I do not care.   
      
   I agree you are not a caring person, but that is really not the point.   
      
   But you are working on a project similar to mine:   
      
   https://drive.google.com/file/d/1ORLxprRjCPOqp8e-411GFZ42troQdjv   
   /view?usp=share_link   
      
   Good for you. Yours is CLI where mine is GUI. Excellent.   
      
   > I didn't post it for you or to get your input, bud.   
      
   Yet her you are going on and on and on and on in response to me. LOL!   
      
   > I posted   
   > it for those who might want to use it vs relying on HK.   
      
   For pretty much the same reason I made mine -- though mine is just a simple   
   right click option. But yours is CLI and nothing wrong with that.   
      
   > Some individuals use   
   > their clients to pull the MIDs - that's great. The client I use is a bit   
   > lacking in so far as reliability with that command. It's nice to have other   
   > options. Which is why I shared these two scripts.   
      
   Sure. And why I have my similar scripts. Not sure why you feel so insecure you   
   feel you need to justify it to me when I clearly get it (and did it already).   
   >   
   > Since you think it's such a big deal that you have right click support -   
   > Here's another version for right click along with instructions to integrate   
   > it into Thunar. It does use Zenity so if it's not already installed that   
   > needs to be done first. This script works just fine and integrates easily.   
      
   Cool!   
   >   
   > The resulting naming convention can be altered as the user likes.   
   >   
   > BEGIN SCRIPT   
   > #!/bin/bash   
   >   
   > # --- Configuration ---   
   > SERVER="paganini.bofh.team" # Replace with your NNTP server   
   > PORT=119 # Default NNTP port   
   > # ---------------------   
   >   
   > # 1. Ask for the Message-ID (MID)   
   > MID=$(zenity --entry \   
   > --title="NNTP Fetcher" \   
   > --text="Enter the Message-ID (including <>):" \   
   > --entry-text="")   
      
   Why not have one where you can just right click on a selected MID?   
   >   
   > # 2. Exit if user cancelled   
   > if [ -z "$MID" ]; then   
   > exit 0   
   > fi   
   >   
   > # 3. Connect to the server and request the article   
   > # We send 'ARTICLE ' followed by 'QUIT'   
   > (   
   > echo "ARTICLE $MID"   
   > sleep 1   
   > echo "QUIT"   
   > ) | nc -w 5 $SERVER $PORT > "article_$(date +%s).txt"   
   >   
   > # 4. Notify the user   
   > zenity --info --text="Fetch attempted. Check the generated .txt file in   
   > your folder."   
   > END SCRIPT. C/P BETWEEN THIS LINE AND THE FIRST ONE.   
   >   
   > It does use zenity, so you need to install that before you can use this   
   > script.   
      
   Mine uses just built in tools -- other than CotEditor... but it falls back to   
   BBEdit, and if the user does not have either if falls back to TextEdit which   
   is built in. Of course it would be easy to set it up for others if someone   
   wanted to.   
      
   > Once you save the file, chmod +x it or use your GUI to grant it   
   > execute permissions. Then sudo cp rightclk.sh /usr/bin/rightclk   
      
   Cool.   
      
   I made mine so it was easy to use... made it so someone like David could   
   install and use it in a pretty trivial way. He would need to give permissions   
   as he runs it.   
   >   
   >   
   > To add it to Thunar right click menu do this:   
   >   
   > Install zenity if you don't already have it   
   > sudo apt install zenity   
   >   
   > save the script as rightclk.sh   
   > open a terminal in the same folder as where you just saved rightclk.sh   
   > chmod +x rightclk.sh   
   > sudo cp rightclk.sh /usr/bin/rightclk   
   >   
   > Close the terminal Window.   
   >   
   > Open Thunar   
   >   
   > Click Edit>>configure custom actions   
   > Click + to create a new action   
   > Give it a name. I chose Lookup MID   
   > For description I put "Looks up MIDs" without the quotes.   
   > Command is set to /usr/bin/rightclk   
   >   
   > Under Appearance Conditions the first two entries have a single *   
   > And all of the boxes are checked below. This ensures that Lookup MID will   
   > be available regardless of the content of the folder you might be in when   
   > you right click.   
   > Click ok   
   > Click close   
      
   Awesome. Great work. I am not likely to install it on Linux, but would love to   
   see a quick video of you having it work. Maybe even one of the full install,   
   though your description is fine.   
      
      
   --   
   It's impossible for someone who is at war with themselves to be at peace with   
   you.   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   
|