libredeb / lightpad

LightPad is a lightweight, simple and powerful application launcher. It is also Wayland compatible.
GNU General Public License v3.0
62 stars 12 forks source link

LightPad

LightPad is a lightweight, simple and powerful application launcher. It is also Wayland compatible.

It is being developed for Twister OS and in collaboration with Ubuntu Budgie (and its BudgieLightpad Applet for the system), a big thanks to @fossfreedom

This project was originally forked from Slingshot from the elementary team:

Screenshot

Screenshot

Installation via PPA

Only for Ubuntu based distros, open a terminal and run the next commands:

$ sudo add-apt-repository ppa:libredeb/lightpad
$ sudo apt-get update
$ sudo apt-get install com.github.libredeb.lightpad

Compilation

  1. Install dependencies:
    • For Ubuntu:
      $ sudo apt-get install meson ninja-build libgee-0.8-dev libgnome-menu-3-dev cdbs valac libvala-*-dev libglib2.0-dev libwnck-3-dev libgtk-3-dev xterm python3 python3-wheel python3-setuptools gnome-menus
    • For Fedora:
      $ sudo dnf install meson ninja-build libgee-devel gnome-menus-devel cdbs vala libvala-devel glib-devel libwnck-devel gtk3-devel xterm python3 python3-wheel python3-setuptools gnome-menus
    • For Arch Linux:
      $ sudo pacman -Sy meson ninja libgee gnome-menus vala glib2 gdk-pixbuf2 libwnck3 gtk3 xterm python python-wheel python-setuptools
  2. Clone this repository into your machine
     $ git clone https://github.com/libredeb/lightpad.git
     $ cd lightpad/
  3. Create a build folder:
      $ meson build --prefix=/usr
  4. Compile LightPad:
      $ cd build
      $ ninja
  5. Install LightPad in the system:
      $ sudo ninja install
  6. (OPTIONAL) Uninstall LightPad:
      $ sudo ninja uninstall

Post Install

Once installed set shortcut key to access LightPad.

Now assign it a shortcut key, such as CTRL+SPACE.

Note: Some themes don't have the 'application-default-icon'. LightPad needs to have this icon, so please download it from the elementary_os/icons pack and execute the following commands:

# cp application-default-icon.svg /usr/share/icons/hicolor/scalable/apps/
# gtk-update-icon-cache /usr/share/icons/hicolor

Dynamic Background (optional feature)

LighPad added a new feature, now you can use a custom background of your choice. You can add any wallpaper or image strictly under some of the following path/files and lightpad will use them (prioritizing the JPG format):

$HOME/.lightpad/background.jpg

$HOME/.lightpad/background.png

Blacklist File (optional feature)

Another new added functionality, is the ability to hide applications using a blacklist file. In the file:

$HOME/.lightpad/blacklist

You must add line by line the full name of the binaries of the applications you want to hide in LightPad. For example:

nautilus
rhythmbox
gnome-screenshot
gnome-terminal
firefox
htop
/usr/bin/gparted
/usr/bin/vlc

These lines appear in the .desktop files located in /usr/share/applications as the value of the Exec= tag.

Changelog

Version 0.0.9

Version 0.0.8

Version 0.0.7

Version 0.0.5

Version 0.0.4

Version 0.0.3

Version 0.0.2

Version 0.0.1