Denny's Home World

  • Subscribe to our RSS feed.
  • Twitter
  • StumbleUpon
  • Reddit
  • Facebook
  • Digg

Monday, 3 September 2012

How to add your console apps to the menu

Posted on 07:47 by Unknown
I noticed while looking over app choices people make, that console apps get ignored a lot because there is no Unity, Gnome, XFCE or LXDE menu entry for them.

If you have to open terminal and remember what to type, people aren't interested in using them, it seems.

I did some digging a few years back and have been using Terminator as my terminal emulator.

One of the great features with Terminator is you can pass it complicated instructions.

I am going to show you how I made easy to use menu entries with Terminator and the menu entry program Alacarte.

One of the first menu entries I made was for the program IRSSI.

To do this I needed to make an entry using Alacarte.

In Alacarte, I first clicked on the category that I wanted my app to be in. In this case "Internet" seemed the best choice.

Then I clicked the "New Item" button. This button will have a + symbol next to it.

As the picture shows below, you then have to add the name of the item and the command.

Click this picture to enlarge it.
The name for this item is simple enough, since my command logged me directly into freenode with my nick and password, I call it Freenode.

I could just start IRSSI, in which I would call the item IRSSI. The name of the item is entirely up to you.

Once you give the item a name, you can change the icon if you wish by clicking on the current icon's picture. In the picture above, it is a road cone.

Here is where Terminator comes in handy. There are 2 options here. If I just wanted to start IRSSI from the menu item I am creating, i can use the command: terminator -e irssi.

But I want it to go to the server irc.freenode.org, and to log me in with my registered nick and password.

So here is where the second option for terminator is so useful. The command to do all of this is: terminator -x irssi --connect=irc.freenode.org --nick=(add your nick here) --password=(add you password)

The -x option (or flag, as some call it) for Terminator allows me to pass a complex command with it's options to Terminator.

Once I have put all of this in the "command" section and hit Ok button (not shown in the picture above because the item was already created) then I now have a menu entry in Unity, Gnome, XFCE or LXDE that will launch my terminal, run IRSSI, and log me into freenode with my registered nick and password.

All of that done by choosing the menu entry I created now, Instead of having to open the terminal and remember all of that off the top of my head or dig around for an automated script I made earlier.

I personally use this option to make MOC my media player, to open my gmail with links, and a few other things I wanted at my fingertips.

Thanks to Terminator, and this wonderful option, you can automate just about any console work you have.

And thanks to Alacarte, you can put that automation into a menu option for ease of use by yourself and those who use your system.

I hope you found this little tutorial I made useful. I use my Freenode menu entry and my MOC menu entry daily.
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Posted in | No comments
Newer Post Older Post Home

0 comments:

Post a Comment

Subscribe to: Post Comments (Atom)

Popular Posts

  • Urukrama, your guide to Openbox
      I am forever not happy with my desktop. It seems I have to change it at least once a month. More often than not I find myself going back t...
  • VBA 32 Rescue, a usb key/cd virus tool for Windows
    I love it when Linux technology is used in unique ways.  This is one of my favorite ways, taking Linux, and a handful of apps, and repairing...
  • Windows Really Good Edition
    While rummaging through the internet, I found this quirky website:  http://www.deanliou.com/WinRG/WinRG2.htm If you miss the days of Win 95,...
  • The 2 x 2 inch $45 Android/Linux computer
    This is the CuBox-I mini computer from SolidRun. "It fits all of its hardware, including an HDMI port, IR receiver, and USB ports, into...
  • Search And Rescue Add On Pack, by me!
    I released an add on pack today for Search And Rescue, the helicopter rescue game for Linux. I usually don't do anything for video games...
  • VLC Media Player
    I wanted to talk about VLC Media Player today, have you ever been looking for that program that plays all your media? something that will pl...
  • Free Download Manager
    I found this while scrounging around the net for a decent downloader, and I think i found a gem. FDM allows you to restart most downloads, i...
  • Gnome 2, still the best
    I have been trying to find a suitable replacement for Gnome 2, slated to be off the repos in Ubuntu in 2013. I came up with nothing. I do s...
  • Openbox Rocks!
    When I fist installed and ran Openbox years ago, I thought it was way to simple for me. When you first start up Openbox, it's basically ...
  • Microsoft never learns...
    It seems this was done before. Microsoft was trying to monopolize their operating system, and their web browser. They where forced not too. ...

Categories

  • 04
  • 12
  • IRC
  • Irssi
  • kernel
  • Menu
  • Ubuntu
  • update
  • upgrade
  • Whisker
  • XFCE
  • Xubuntu

Blog Archive

  • ►  2013 (44)
    • ►  December (2)
    • ►  November (10)
    • ►  October (3)
    • ►  September (9)
    • ►  August (2)
    • ►  July (8)
    • ►  May (2)
    • ►  April (2)
    • ►  March (2)
    • ►  February (2)
    • ►  January (2)
  • ▼  2012 (32)
    • ►  December (2)
    • ►  November (2)
    • ►  October (3)
    • ▼  September (2)
      • Watchtower Library disappears from Ubuntu Unity bar
      • How to add your console apps to the menu
    • ►  August (1)
    • ►  July (5)
    • ►  June (6)
    • ►  May (3)
    • ►  April (4)
    • ►  March (2)
    • ►  January (2)
  • ►  2011 (25)
    • ►  November (1)
    • ►  October (1)
    • ►  September (1)
    • ►  August (7)
    • ►  July (2)
    • ►  June (3)
    • ►  May (2)
    • ►  April (1)
    • ►  March (1)
    • ►  February (5)
    • ►  January (1)
  • ►  2010 (14)
    • ►  December (1)
    • ►  November (2)
    • ►  October (2)
    • ►  September (1)
    • ►  July (3)
    • ►  June (1)
    • ►  May (1)
    • ►  April (2)
    • ►  January (1)
  • ►  2009 (4)
    • ►  December (3)
    • ►  October (1)
Powered by Blogger.

About Me

Unknown
View my complete profile