GithubHelp home page GithubHelp logo

yafp / apparat_launcher Goto Github PK

View Code? Open in Web Editor NEW
4.0 3.0 1.0 1.32 MB

an application launcher for linux

License: GNU General Public License v3.0

Python 98.64% Shell 1.31% Makefile 0.04%
python application-launcher learning-by-doing linux linux-desktop

apparat_launcher's Introduction

License Issues Issues Closed PullRequests PullRequests-Closed Contributors Build Status

logo

Important notice

This program is currently in a very early development state.

apparat_launcher is an application launcher for linux. It is developed and tested for Gnome Desktop environments.

Launcher UI

screenshot

Tray-Icon (Gnome)

screenshot

There is no installation routine so far.

Python modules
  • difflib
  • fnmatch
  • os
  • platform
  • psutil
  • subprocess
  • sys
  • webbrowser
  • wx
  • xdg
  • xdg.IconTheme
Linux packages

The following packages are needed:

  • gnome-screensaver-command
  • gnome-session-quit
  • systemctl
  • xdg-open
  • xdotool
  • Navigate to apparat_launcher
  • Execute: ./apparat_launcher.py

The following command line parameters are available:

Parameter Alias Function
-d --debug Show debug output
-h --help Show help
-v --version Show version

Debug output

screenshot

If you want to use a global/system-wide hotkey to trigger apparat_launcher (starting, focusing and minimizing) consider using the script hotkeyHelperForApparatLauncher.sh. Simply define a system-wide hotkey which triggers hotkeyHelperForApparatLauncher.sh.

Hotkey definition in Gnome

  • Open the Activities overview and start typing Keyboard.
  • Click on Keyboard to open the panel.
  • Select the Shortcuts tab.
  • Select a category in the left pane, and the row for the desired action (launching hotkeyHelperForApparatLauncher.sh) on the right. The current shortcut definition will change to New accelerator…
  • Hold down the desired key combination, or press Backspace to clear.

Core plugin (can not be disabled)

Trigger Alias Parameter Function
!help Open apparat_launcher online documentation
!preferences !prefs Open apparat_launcher preferences

Optional plugin to kill graphical applications using xkill

Trigger Alias Parameter Function
!xkill !kill Starts xkill

Optional plugin

Trigger Alias Parameter Function
!open path Open file or folder using default application

Optional plugin which offers quick access to some locations in nautilus

Trigger Alias Parameter Function
!goto path Open directory in nautilus
!network !net Show network devices in nautilus
!recent Show recent files in nautilus
!trash Show trash in nautilus

Optional plugin which offers a simple password generator

Trigger Alias Parameter Function
!pw !password A simple password generator

Optional plugin which offers screenshot functionality

Trigger Alias Parameter Function
!ss Selective screenshot (window or area)
!fs Full screenshot

Optional plugin which offers easy access to some popular web-services

Trigger Alias Parameter Function
!am searchstring Amazon
!au searchstring Ask Ubuntu
!bc searchstring BandCamp
!dd searchstring DuckDuckGo
!fb searchstring FaceBook
!fe searchstring Fefe
!fl searchstring Flickr
!gh searchstring GitHub
!gi searchstring Google Images
!gk searchstring Google Keep/Notes
!gm searchstring Google Maps
!gn searchstring Google News
!gs searchstring Google Search
!la searchstring LastFM
!re searchstring Reddit
!sc searchstring SoundCloud
!se searchstring Stack-Exchange
!so searchstring Stack-Overflow
!tu searchstring Tumblr
!tw searchstring Twitter
!vi searchstring Vimeo
!wi searchstring Wikipedia
!yt searchstring YouTube

Optional plugin which offers a file search for $HOME

Trigger Alias Parameter Function
? searchstring Filesearch for home directory

Optional plugin which offers access to some session commands

Trigger Alias Parameter Function
!hibernate !sleep hibernate the machine
!lock locks the current session
!logout logout from current session
!reboot !restart reboot the machine
!shutdown !halt shutdown the machine
!screensaver !saver start screensaver

Optional plugin which allows running terminal commands from within the launcher

Trigger Alias Parameter Function
!sh path Run terminal commands in new window

The file CHANGELOG.md provides an overview of the major changes of this project; for a more detailed look at changes to the code, view individual commits.

bomb

Please check CONTRIBUTING.md for contribution guidelines for this project.

  • Gray (#7f8c8d or 127, 140, 141)
  • Red (#b92c0c or 185, 44, 12)
  • Green (#269c58 or 38, 156, 88)

apparat_launcher's People

Contributors

yafp avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

apparat_launcher's Issues

add platform check

  • script should only support linux platform
  • should quit with error message on darwin or windows

creating screenshots

would be helpful if apparat could generate full screen screenshots by himself.

autocomplete search field if only 1 result

if current search string results in only 1 result,

  • the text should be autocompleted
  • autocompleted text and last critical char for this autocomplete should be marked.

search is case-sensitive

it seems like currently the search-string is handled case-sensitive - while it shouldnt in most cases.

Example:

  • search for 'Firefox' should find 'firefox'

prefs - make checkboxes enabled

the plugin checkboxes in preferences are currently all disabled.
Should make them enabled - as greyed out looks ugly.

Keep in mind: plugins are so far not configurable. That means: changing the state of the checkboxes to false must be impossible.

GTK vs WX mess

It seems critical to use both GTK and WX. Depending on the OS it might result in crashes

add support for multiple icon sizes

config already contains a setting for icon size - which is so far only valid for the application icons.

Could enhance this to all plugin icons etc

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.