/quicklaunch

A tool to quickly start any installed application

Primary LanguageC++

QuickLaunch icon QuickLaunch v1.2 for Haiku


QuickLaunch is a small launcher tool that helps you to quickly start any installed application.

Simply start to enter the name of an application and QuickLaunch will find all programs matching these initial letters and show them in a list. You choose an app from that list with the CursorUp/Down keys and launch it by hitting RETURN. ESC quits QuickLaunch.

Here's the main window after searching for all applications starting with "me" and behind it the settings window when clicking the Setup button (or pressing ALT+S):

QuickLaunch windows

In the main window the context menu was invoked via a right-click. The first item adds the selected app to your favorites which will be shown whenever the search field is empty. The second item adds the app to the ignore list (works also with a drag & drop into the ignore list of the setup window). More on that in the setup options discussed below. The final item opens the app's location in a Tracker window. The same can be achieved by pressing CTRL + RETURN.

The Help button or pressing ALT+H opens this ReadMe in the browser.

Favorites

Your list of favorite applications is shown whenever the search field is empty, e.g. right when you start QuickLaunch.

QuickLaunch favorites

The background of favorites is slightly tinted yellow and a little yellow star is added to their icon to distinguish them from a regular search result.

You add favorites by right-clicking an app's entry in a search result list and choosing Add to favorites or pressing ALT + F. Similarly, you remove a favorite again by right-clicking it and selecting Remove favorite or with ALT + R.

The Deskbar replicant can be activated from the Setup window (see below). It installs the QuickLaunch icon into the Deskbar tray, alongside the clock and the replicants of other applications. A right-click on it also offers quick access to your favorites.

QuickLaunch replicant favorites

Setup

The setup window, invoked with the Setup button or ALT + S:

QuickLaunch setup

  • Show Deskbar replicant — puts the QuickLaunch icon into the Deskbar tray. A left-click on it starts QuickLaunch, with a right-click you can start your favorite applications directly from the context menu.
  • Show the version of an application — only really useful when having older and newer versions of an app installed.
  • Show the path to an application — interesting when you have several copies of an application.
  • Wait for a second letter before starting the search — probably only useful for slow systems.
  • Remember last search term — starts QuickLaunch with the previous search.
  • Launch applications with a single click — instead of requiring the usual double-click.
  • Window always on top — the window floats modally in front of all others. Useful if you start a few apps after another and don't want to lose QuickLauch under the newly opening windows.
  • Ignore these files & folders (and their subfolders) that you can add and remove from the list with the buttons at the bottom. You can also right-click an app in the main window's result list to add that specific app to the ignore list or drag & drop any application or folder from Tracker or an app from QuickLaunch's main window into it. DEL removes the selected items from the ignore list. If you add a folder instead of a file, QuickLaunch will ignore all the files and subfolders it contains. Those items are marked with a "*" in the list and are printed in italics.

Tips & Tricks

  • Assign a keycombo to QuickLaunch in Haiku's Shortcuts preferences, like OPT + SPACEBAR, for even quicker QuickLaunching apps.
  • Use '*' as wildcards, e.g. "*play" for all apps with "play" in their name.
  • SHIFT + RETURN will keep the QuickLaunch window open after launching the app.
  • CTRL + RETURN will open an app's location in Tracker instead of launching it.
  • These folders are ignored by default: B_SYSTEM_ADDONS_DIRECTORY and B_TRASH_DIRECTORY In other words, applications in Trash are ignored, as well as add-ons. B_SYSTEM_BIN_DIRECTORY used to be ignored, but since especially ported software often ends up in the /bin folder, that is a bad idea. You'll have to remove unwanted commandline apps manually now, i.e. via Add to ignore list of the context menu.
  • There are two reasons why an application may not be found by QuickLaunch:
  • The application isn't located on a BFS partition or the BFS partition wasn't formatted to support queries.
  • The application lacks the proper attribute BEOS:APP_SIG. In that case, ask the app's developer to add it, or try to apply the following tip.
  • If you happen to use an app or a script that doesn't show up in QuickLaunch (and is in a writable location), you can add these atrributes in Terminal to the app or script: addattr BEOS:TYPE application/x-vnd.Be-elfexecutable /path/to/your/app-or-script addattr BEOS:APP_SIG application/x-vnd.anything-unique /path/to/your/app-or-script

Download

QuickLaunch is directly available through HaikuDepot from the HaikuPorts repository. You can also build it yourself using Haikuporter. The source is hosted at GitHub.

Bugreports & Feedback

Please use GitHubs's issue tracker if you experience unusual difficulties or email your general feedback to me. Also, email me if you'd like to provide more localizations.

I'd be very grateful for any further translations for QuickLaunch and other applications at pootle's '3rd party apps' project.

Thanks

I have to thank DarkWyrm for some helpful hints and for some of the code I re-used from his RunProgram app and his EscapeCancelFilter. Equally useful was Robert Polic's EZLauncher of BeNewsletter 3-46 and the help I got on the #haiku IRC channel. AnEvilYak provided valuable hints and code when I got stuck. Finally, thanks to everyone that contributed translations and bug reports for QuickLaunch.

History

1.2 - 11-05-2017:

  • Favorites can now be drag & dropped on apps that accept a program, like LaunchBox - or in fact the ignore list of the Setup window.
  • Favorites cannot be moved any longer in a result list, only in the favorites list.
  • When opening an app's containing folder, scroll to and select the app.
  • Fix crash due to a race condition.

1.1 - 31-03-2017:

  • Fix disappearing favorites.
  • Add context menu with quick access to favorites and QuickLaunch's "About" to Deskbar replicant.
  • Updated localization and documentation.
  • Tiny tweaks to the QuickLaunch icon.

1.0 - 27-03-2017:

  • Allow the user to mark applications as favorites and show them whenever the search text box is emtpy.
  • Add option to put a replicant in the Deskbar tray for a quick launch of QuickLaunch. Removed the "Add to Deskbar.sh" script.
  • Automatically scale the icon size with the system font size..
  • Fixed layout issues in the setup window and made default main and setup windows a bit bigger. Save the absolute position of the setup window.
  • Automatically change the main window size to always fit the number of list items; font sensitive.
  • Allow drag & drop of files from Tracker or items from the main window to the "ignore" list. Allow removing multiple items from the "ignore" list. Also via DEL key or a context menu.
  • Show a "*" and make the item italic in the ignore list, if it's not a file, but a folder+subfolders that gets ignored.
  • Improved page up/down scrolling.
  • Add a setting to launch applications with a single click.
  • Apply "Always on top" setting only to the main window when there's no setup window open. The "ignore" file dialog has issues when it's modal too: you couldn't drag & drop files/folders into it...
  • Open and close the Setup window with ALT+S.
  • Add "Help" button to summon this ReadMe. ALT+H works too.
  • Show an error dialog if the launch of an application has failed for some reason.
  • Monitor un/mounting of volumes to update the result list.
  • Added a tip to the ReadMe, showing how to add type and signature to apps and scripts that lack them.
  • Updated localizations, thanks Begasus, Barrett, KapiX, macadoum, un_spacyar, Yowane_Haku!
  • Added British English localization.
  • Added Lithuanian localization, thanks damoklas!
  • Added French localization, thanks Anarchos!
  • Added Russian localization, thanks Akujiism!
  • Added Spanish localization, thanks un_spacyar!
  • Added Ukrainian localization, thanks Lan72!

0.9.12 - 03-09-2015:

  • Make the "Window always on top" optional. Not everyone was pleased with that change of v0.9.11...
  • Also fix the formerly not usable file dialog when adding files/folders to ignore. It was hidden behind the always-on-top window.
  • Added Italian localization, thanks Barrett!

0.9.11 - 16-08-2015:

  • Add "Open containing folder" to the context menu.
  • Add an option to always start with the previous search term.
  • Have the windows always on top of every other app.
  • Add horizontal stroke below every list item.
  • Cosmetics on resizing window so the height won't jump and flicker.

0.9.10 - 15-06-2015:

  • Allow specific files in the ignore list, not only complete folders (and their subfolders).
  • Show a context menu when right-clicking an app to quickly add it to the ignore list.
  • Scroll to original location in the app list instead of jumping to the top after adding to the ignore list.
  • Updated icon to show three app cubes as Q stroke.
  • Localization for German, Dutch, Japanese, Polish.

0.9.9 - 15-01-2015:

  • Don't ignore /system/bin/ by default. Now that more and more ports are available for Haiku, some GUI apps do appear in that folder...

0.9.8 - 02-01-2015:

  • Fixed a crash on quit. No idea how it has worked all these years, frankly.
  • Removed a never used variable and its get/set functions.

0.9.7 - 17-05-2014:

  • Added a setting to only start searching after entering a second letter of the application name.
  • Respecting custom colours set in Appearance preferences.
  • Better handling of bigger/smaller font sizes.
  • Renamed "jokers" to "wildcards".

0.9.6 - 14-10-2013:

  • Small changes to work under Haiku with package management.

0.9.5 - 17-05-2010:

  • Ignore Trash on all volumes, not just on /boot.
  • Be stricter on the apps' signature. They have to conform to the standard and start with "application/x-vnd". This avoids listing e.g, libraries.
  • PageUp and PageDown keys now work in the result list.
  • Case-insentive sorting.

0.9.4 - 11-03-2010:

  • Added Control+Return to open an app's location in Tracker.
  • Added live-truncating of strings on window resize.
  • The query now returns only app names beginning with the search string and now starts right after entering the first letter.
  • Better handling of different system font size settings.
  • Less restrictive window size limits.

0.9.3 - 05-03-2010:

  • Ignore path information wasn't loaded correctly.

0.9.2 - 04-03-2010:

  • Add setup window to toggle version and path information.
  • Ignore user definable folders.
  • Make main window horizontally resizable.
  • Remember window position and size.

0.9.1 - 04-02-2010:

  • Show version info to distinguish different versions of the same app.
  • Home/End key jump to first/last item.
  • Shift+Return will keep the QL window open.
  • Added script to add QL to the Deskbar tray. Remove via context menu (Removal will only work with Haiku > r35402, for lower revisions, open Terminal and enter "desklink --remove=DeskButton".)

0.9.0 - 01-02-2010:

  • Initial release.