Tag Archives: manager

ndn: And memories of the past

About a month ago, StreaK left a note about ndn, a/k/a Necromancer’s DOS Navigator. I might catch some flak for this, but I saved it for last, before the shop closes down.

2015-04-26-6m47421-ndn-01 2015-04-26-6m47421-ndn-02 2015-04-26-6m47421-ndn-03

Introductions first. ndn has a precompiled Linux version that you see there, and as you might expect from the screenshots, I find it quite enjoyable. You can see the two-panel menu-based approach that hearkens back to Midnight Commander and its predecessor, Norton Commander.

ndn takes that style and adds multiple window support, a healthy smattering of disk functions (like renaming a volume, like you see above), separate histories for command line and panel activity, and a lot of other tricks. Most everything is driven by a popup dialogue, which I always appreciate.

Even more amazing, ndn adds in a calculator, a calendar, a phone book (remember, this has history back to the modem era), and a lot more. If you try ndn, take your time with the “Utilities” menu, but don’t be shy about the others either.

Much of what ndn can do is arranged by submenu, and that makes it mostly easy to follow. There are also provisions for user-defined menus, and a special function menu just for Linux tasks.

With all that going for it, I still have a few small problems to report. First, as you can probably see if you look close at the screenshots, I’m getting some screen artifacts when I run the precompiled version in Arch. I don’t blame anyone for that; it’s a distraction, but it’s just the nature of the beast.

Second, there are some obvious leftover “tools” and “menus” from the DOS era. The letter strip you see along the bottom of each panel clearly corresponds to drive labels under Windows, and double-clicking on one in Linux just drops you into /dev/, which doesn’t really help.

It would be nice if that area instead showed mountpoints or even polled devices like sda1, sdb1, sr0 and so forth. As it is, that strip is wasted space. Add to wasted space: Displaying file names in the same color as the background for certain file types. That’s an unfortunate oversight. :\

ndn is also a very powerful suite of tools, and will take a lot of time to learn all the commands. But to complicate things, it appears there are different controls when running under X and when in a virtual console. Keyboard navigation seems disabled under X, meaning you have to do all your selections and menu action with the mouse. On the other hand, gpm was no help in a console.

Those are the main reasons I was hesitant to include ndn in this list: It seems a lot of its functions will hinge on graphical support. Which makes it not much better than undistract-me, which we talked about a few days ago.

And why save it for last, you ask? Nostalgia, mostly. If you remember the text-only era and the parade of file managers and disk checkers that all ran within consoles and had no graphical support, ndn is like a trip down memory lane. Popup menus drawn and shaded in hashed boxes, menu bars triggered with ALT+letters, and F-row hotkeys will take you back to the software of 30 years ago … all the way down to the color scheme. It’s a good feeling.

So if you take issue with a leftover DOS file manager, overstocked with utilities and rather haphazardly converted to Linux, appearing here at all, that’s my excuse: It reminds me of other times. πŸ™‚

ol: One last editor and outliner

A long time ago, I used to keep notes and lists with a normal, everyday text editor, and just draw up a outline format if I needed to show some sort of structure or to-do checkboxes.

Sometime around 2008 or 2009, I found two new applications that quickly took over those roles — one was vimwiki, which I may only need for another day or two, and hnb. hnb was on my system, in spite of its age, for a long five years until I found tudu last summer.

hnb and tudu (and the emacs and vim plugins that do much the same thing) are not the only hierarchical note-takers available. You can add ol to that list, with my endorsement … whatever that’s worth. πŸ™„

2015-04-26-6m47421-ol

ol stands for “Outliner Lighto,” if the home page is to be believed. And what you see in that image is probably the best snapshot of what it does and how it works.

Arrow keys will navigate through a tree, and leaf nodes expand when you navigate through them. Press “d” to delete a note and all its children, Enter to edit a note, “t” to convert it to a checkbox for to-do lists, “x” to mark a task as done, and so forth. The empty file startup screen will give you help and instructions, if you need it.

Probably one of my favorite things about ol is the cut-and-paste action, or better called the “grab” function. Press “g” and you carry a note with you through the tree, allowing you to arrange and rearrange to your heart’s desire.

Since the display effectively updates as you navigate, it’s a lot easier to organize and visualize than the traditional cut-and-paste model. I like that a lot more than tudu’s way, which borrows yank-and-paste style of vim. And you know how I feel about vim. πŸ‘Ώ

ol is also colorful, even going so far as to assign colors to note depths, which is another wise evolution. hnb and tudu haven’t picked up that idea yet, and it’s one that is probably worth adopting.

I see that ol is written in pascal, which strikes me as unusual, but also completely irrelevant to using the program. As an added bonus, if you’re an hnb user and decide to use this moment to emigrate, there’s a utility that will convert hnb’s text format to a style ol can use.

ol doesn’t have some of the more detailed functions of tudu — like displaying a percentage complete for to-do lists, or allowing extended notes, deadlines and schedule dates. ol probably won’t dethrone tudu for me, for those reasons. I find with tudu that I can rely less on wyrd now too.

That alone is no reason to deny ol the gold star it deserves — for a clean interface, plenty of startup help, easy controls and a few innovative ideas for hierarchical list tools. Don’t spend it all in one place: ⭐ Enjoy! πŸ™‚

greg: You’re so vain

Everyone named “Greg” out there in the world can now sit up straight and imagine this little program is named in their honor.

2015-04-21-6m47421-greg

I was introduced to greg after yesterday’s note about podcastxdl, and in spite of its lack of color and command-action-target input style, I think I like it better than the latter.

Of course, that screenshot isn’t very interesting, but what you see there is a lot of the way greg works. It maintains a list of podcasts and addresses, and you can wrangle them with fairly straightforward actions.

greg add adds to that list. greg remove drops it off, after you confirm it. greg check sees if anything is updated, and greg sync synchronizes your local folder with what’s available online. Like I said, it’s fairly straightforward.

I don’t see anything offhand that disappoints me about greg. I ran into no errors except when I fed it an invalid link, and it warned me that it wasn’t going to work. And aside from the lack of color and lack of an “interface,” it seems to work perfectly without my empty-headed suggestions.

So there’s greg, which we can add to the meager list of podcast aggregators for the console. Now do you see it? “greg”? “aggregator”? Aha. … πŸ˜‰

podcastxdl: One-shot downloads for your ears

There are not many podcast tools I can mention, in the years spent spinning through console-based software. In fact, I can think of only about four. But here’s one you can add to your list, if you’re keeping one: PodcastXDL.

2015-04-19-6m47421-podcastxdl 2015-04-19-6m47421-podcastxdl-02

PodcastXDL works in a similar fashion to podget, which you might remember from a looong time ago. Give PodcastXDL a url and a file type, and it should parse through the stream and pull down everything that matches.

It can also spit out links, meaning you can use PodcastXDL to supply links to files, rather than download them. There are also command-line options to start or stop at specific points in a feed, which might be helpful for cropping out older files.

I’ll be honest and say I had a few difficulties working with PodcastXDL, most notably that it didn’t accept my target download directory. If you run into issues with PodcastXDL and nothing seems to be arriving, I would suggest leaving off any -d argument.

Other than that small hiccup, PodcastXDL did what it promised, and I ran into no major issues. It has good color, plenty of options and has seen updates within the past month or so, if you shy away from dated software.

If you need something quick and one-shot for podcast downloads, this could work for you and is better looking than podget was. If you’re looking for something more comprehensive and with more of an interface, stick with podbeuter.

groove-dl: Jumping the shark

I was tempted to skip over groove-dl because my list of stream ripper tools is starting to devolve into a tool-per-service array, and when things become discrete and overly precise, I start to fall toward the same rules that say, “no esoteric codec playback tools.”

2015-02-24-6m47421-groove-dl

I can’t complain too loudly though, because things like gplayer and soma are past titles that were more or less constrained to one site or service, and suddenly chopping off a portion of The List wouldn’t be fair.

But it wouldn’t be a terrible disservice, since most of what I was able to discover about groove-dl is encapsulated in that screenshot. Follow the command with a search string, and groove-dl will return a list of matches and the option to download a song.

Very straightforward, but also very rudimentary. Beyond the first 10 results, there’s no apparent way to continue through search. groove-dl itself doesn’t have any command flags that I could find; in fact, using -h or --help just pushed those strings through as search terms. Entering a blank line just brings groove-dl to a halt. Entering an invalid character causes a python error message. And yet entering a number beyond the list (like 12 or something) starts a download of some unidentified tune that matched your search, but wasn’t shown on screen. Go figure. :\

groove-dl will allow you to pick multiple targets though, and does use a generic but informative download progress bar to follow your selections. I can’t complain about that. And I see that there is a graphical interface, and it may be that there are more functions available to you from that rendition, than in the text-only interface.

But overall, with such a narrow focus and a narrow field of options and wide array of ways to confound it, I think there might be other, better utilities around for pulling tracks from Grooveshark.

groove-dl is in AUR but not Debian. If you try to install it, you’ll also need python-httplib2, which wasn’t included in the PKGBUILD. Happy grooving. πŸ˜‰

note: A noteworthy application

Note-taking tools are in abundance at the console, and some of them are so simple as to be almost rudimentary. Even I am guilty of stashing a few oddball commands in a flat text file called “tricks,” and just grepping through it when I need to find something.

The irony of that is that there are many other applications that would do much the same thing, and have internal tools that would save me time and trouble. note, for example, has a clean and easy to manage format, and an interactive mode to boot.

2015-02-23-6m47421-note

You can kick note into action with just the note command and a flag or two, or you can access its primary functions through the captive interface, like above. Add a note or edit a note, and you drop into your $EDITOR … and I always like it when note-taking tools do that.

Afterward, you can delete notes or even search through them, and you don’t have to rely on shell commands or external programs, unless you want to.

note also supports a “hierarchical” structure that it calls “topics.” If the first line of your note shows a topic path — like “/Wash/dog/” — note will arrange it and list it in topical sequence. This isn’t quite as elaborate as what hnb or tudu can do, but it’s a nice feature.

note has a few other configurations worth mentioning, and the man page is there to walk you through most of them. I was able to install and start using note in a matter of minutes, so unless you need very explicit and esoteric features, it should have replaced your flat-file-plus-grep in very short time.

I don’t see any features on prioritizing, check-box to-do lists, or advanced sorting and management. It may be that those features are better implemented in other tools.

What else should I say … ? In AUR. In Debian. And I’m almost embarrassed it took me this long to find it. 😐

connman and connman-ncurses: Pros and cons

These days I don’t have much installed in the category of “network connection manager,” even if I’ve seen plenty over the past two years. For a while I was a wicd fan, but the last time I checked wicd had stalled, and nothing really stepped up to replace it.

So in most cases, particularly if it’s not a terrifically complicated effort, I just use Arch’s wifi-menu or hand-manage connections with iwconfig and friends.

For an all-around suite of controls and connections, connman seems to do a good job. In its most primitive state, one-word commands will tell it what you want done with a network interface, and it’s more or less straightforward.

For a more replete user experience, connman-ncurses would be my suggestion.

2015-02-10-l3-b7175-connman-ncurses

That’s more to my liking. Straightforward keyboard controls and intuitive design, nice use of available space, and … well, I guess no color. 😦 But you can’t have everything. :\

Much of what connman-ncurses does can be inferred from onscreen tips, although I did refer to the git page once or twice, especially when I realized connman-ncurses (or probably connman) can disable your wireless at a keypress. And at some point, I must have pressed that key. πŸ™„

A decent addition to your text-only arsenal. Not in color, and with a few eccentricities to learn, but a lot of programs are like that. It’s worthy of a try or two. πŸ˜‰

gmail-attachment-downloader: You don’t want to know

Yesterday was the last work day of the month, and in my job that’s both a blessing and a curse, since it’s extraordinarily hectic, but it’s also payday. So my apologies for missing a day, but that job pays, and this one doesn’t. πŸ˜‰

To complicate things I got two tips via e-mail, one from Rashid and one from Lewis, mentioning gmail-attachment-downloader. I like to check things before I add them to the list, and at first glance it looked like a simple python script that scrapes through attachments in your account, and gives you a local copy.

That’s true, but I should be clear: It downloads attachments. All attachments. Every last one. From the beginning. Of all time. 😯

So while I don’t have much to show for gmail-attachment-downloader, I do have about 10 years of junk to sort through as a result.

2015-01-31-6m47421-gmail-attachment-downloader

Aside from that warning, there are some other notes I should offer.

I ran into errors when I tried gmail-attachment-downloader in straight python in Arch. python2 appears to be the preferred framework here. Aside from that, I needed no peculiar dependencies. It takes no flags or options.

I gave my account with the @gmail.com suffix; the first time I tried with only the prefix and it wasn’t as successful. That I blame on GMail though, since I know it tends to want full addresses as “user names.”

As you can see, gmail-attachment-downloader is clever enough to avoid name collisions, and will skip over files that are identical and rename files that are similar. I don’t know if that means it is performing some sort of hash check or if it is just looking at file size. Either way is fine with me, but if you have a better idea, talk with the author.

My only suggestion for an improvement would be some sort of date stamping addition. Pulling down years of stashed .config files is fine, but without preserving the original date of the message, or perhaps prefixing the name with original date, everything is just swirled together.

And I suppose I should mention — again — that this is an all-or-nothing adventure. There’s no way (yet) to prompt to download a file, screen messages and pull down attachments by filter, or otherwise control the product. Start it up, set it spinning, and come back a few hours later.

And then spend the next day or two wondering what the context was for the half-dozen Anpanman wallpaper images buried somewhere in your account. Did I really e-mail those to myself … ? πŸ˜•

gdisk: A familiar face

I’ll try to keep this one quick; I am already short on time this weekend because of personal obligations. But I also think gdisk is something that resembles fdisk enough (and even perhaps cfdisk and some other partition tools) that mentioning it at all is a rehash of sorts.

Anyway, feast thine eyes:

2014-01-11-l3-b7175-gdisk

gdisk, for what I have seen, just about matches fdisk keypress for keypress, with the major difference being its relative comfort in working with the newer generation of hard drives that use GUID partition tables and not MBR style.

Wikipedia tells me the changeover took place sometime around 2009, and so it doesn’t surprise me that I use it so rarely. The newest, most powerful machine I have in the house right now is 8 years old, and I’m wondering if it isn’t time for me to upgrade that. …

I wouldn’t want to fall behind on the times, now would I? πŸ™„

dosage: Get yours daily

It seems like a very long time since dailystrips, the comic downloader that had too many years between it and the current generation of comic hosting sites. dailystrips tried hard but as best I could tell, was unlikely to ever recover its 2003-era glory.

dosage, on the other hand, seems to have a firm grasp of The Way Things Are Now.

2014-12-30-jsgqk71-dosage-01

dosage takes the name of the comic as a target, and dutifully downloads the image at your command. It also archives those targets in a folder tree, meaning after you start collecting images, dosage only needs one abbreviated command to update your entire collection.

It’s a good system and lends itself to the process. To add to that, you can attach target dates to dosage commands, and retrieve specific issues. Or add the -a flag, and pull down everything from a date to present. And retrieve “adult” comics, with a specific flag.

Supposedly dosage can retrieve around 2000 comics from their respective host, and I can vouch for two or three I really didn’t think it would know, but it grabbed quite willingly. If you want to test its ability, you can feed it the --list flag, and see a giant list of what it knows, sent straight to your $PAGER.

2014-12-30-jsgqk71-dosage-02

I see where dosage flags multi-language comics with their translations, and so if you’re looking for something in another tongue, dosage may be able to help you.

Compared with dailystrips, dosage seems to have better access and better retrieval skills. Of course, that’s not really fair since dailystrips hasn’t seen much activity over the last decade.

dailystrips did have the option to build primitive HTML pages and plant your comics in them though, and while I do see something similar in dosage, it took me a few tries to build it correctly, and it seemed rather finicky if it had already built a file.

dosage is quite useful and if you’re a fan of comics — printed or electronic — it’s a must-have tool. And the beauty of dosage may be that it doesn’t require you to live in a graphical environment, since it’s primarily the downloader and organizer, and not the viewer.

And what should you do for a viewer? Well, that’s something we could review. … πŸ˜‰