GithubHelp home page GithubHelp logo

devdevmac / mutate Goto Github PK

View Code? Open in Web Editor NEW

This project forked from qdore/mutate

0.0 1.0 0.0 8.96 MB

A simple launcher inspired by Alfred for ubuntu and Fedora.

License: MIT License

Shell 0.19% Python 0.74% C 0.20% C++ 98.65% QMake 0.21%

mutate's Introduction

Mutate - An award-winning productivity application

Mutate is a simple launcher inspired by Alfred (OS X app) for Linux. Be more productive with hotkeys, keywords and file actions at your fingertips.

url demo

Dependencies

  • boost-regex
  • QT5
  • GTK2 (for application icon lookup)
  • ICU
  • libsm
  • libxkbcommon

Installing

From Repository

Ubuntu PPA (thanks http://www.noobslab.com)

NOTE: PPA has changed, please delete wei-qianghb/mutate first

sudo add-apt-repository ppa:mutate/ppa
sudo apt-get update
sudo apt-get install mutate

Arch Linux AUR

curl -O https://aur.archlinux.org/cgit/aur.git/snapshot/mutate-git.tar.gz
tar xvf mutate-git.tar.gz
cd mutate-git
makepkg -si

From Package Release

Ubuntu

wget https://github.com/qdore/Mutate/releases/download/v2.3/Mutate-2.3.deb
sudo apt-get install gdebi
sudo gdebi Mutate-2.3.deb

Fedora

sudo yum -y install https://github.com/qdore/Mutate/releases/download/v2.3/Mutate-2.3-0.fc21.x86_64.rpm
/usr/share/mutate/setup

From Source

Ubuntu

Install needed dependencies:

sudo apt-get install build-essential qt5-qmake qt5-default libgtk2.0-dev libqt5x11extras5-dev libboost-regex-dev

Then download and compile:

git clone https://github.com/qdore/Mutate.git
cd Mutate/src
qmake
make

Then install it:

sudo make install
cd ..
sudo cp info/mutate.png /usr/share/icons
sudo cp info/Mutate.desktop /usr/share/applications
mkdir -p ~/.config/Mutate
cp -R config/* ~/.config/Mutate
chmod -R a+x ~/.config/Mutate/scripts
chmod -R a+w ~/.config/Mutate
sed -i "s|{home}|$HOME|g" ~/.config/Mutate/config.ini

Fedora (Thanks retspen)

Install needed dependencies:

sudo yum -y install rpmdevtools yum-utils
rpmdev-setuptree

Download and compile:

cd ~/rpmbuild/SOURCES
wget https://raw.githubusercontent.com/qdore/Mutate/master/rpm/mutate.spec
wget https://github.com/qdore/Mutate/archive/master.zip
sudo yum-builddep -y mutate.spec
rpmbuild -bb mutate.spec

Then install it:

sudo yum -y install ~/rpmbuild/RPMS/x86_64/Mutate-2.3-0.fc21.x86_64.rpm
/usr/share/mutate/setup

Features

Loaded with features to increase your productivity.

Find Applications & Files

applications demo

Find Files

files demo

Calculate(thanks t413)

NOTE:You must install sympy first:
sudo apt-get install python-pip
sudo pip install sympy

calculate_demo

Kill Processes

killprocess demo

Google Translate

Select some words use your mouse, then press Ctrl+T (user configurable): translate demo

Or type 'tr' and some words: translate demo

Quickly Search the Web

Google Search

google demo

Github Search

github demo

You can also add other keywords such as wiki, twitter or youtube.

Open URLs

url demo

Quickly Shut Down, Log Out, or Reboot

shutdown demo

Preferences

Type preference to open the preferences window.

The first row is for the hotkey to open Mutate. The default is Ctrl+D.

Other rows configure the path, icon path, hotkey, and keyword for different scritps. For example, google_translate's hotkey is configured as Ctrl+T, and when you press it Mutate will type 'tr' and the selected text.

NOTE:If you want use key 'super' as your hotkey, type Meta will help.

preferemce demo

Custom Scripts

When you type "tr work" in the line editor, Mutate will execute ./google_translate.py in the background.

./google_translate.py work
[工作]
command=copy
icon=
subtext=work
[做工]
command=copy
icon=
subtext=work, do manual work
[办事]
command=copy
icon=
subtext=work, handle affairs
[干]
command=copy
icon=
subtext=dry, do, concern, be concerned with, have to do with, work
[活]
command=copy
icon=
subtext=live, save, subsist, work
[事]
command=copy
icon=
subtext=be engaged, serve, wait on, wait upon, work
[运转]
command=copy
icon=
subtext=operate, revolve, turn around, work
[在职]
command=copy
icon=
subtext=hold a post, work
[做事]
command=copy
icon=
subtext=work, act, handle affairs, have a job

For the first item, it will show "工作" in the first row, and "work" in the second row, if you don't Specify icon's address, it will show the script's original icon.

About command: command can be shell command, it means if you enter this item it will do this shell command.Except shell command, it can be "copy" to copy this item's text to clipboard.

It isn't hard to know what does it mean, and it is also very easy to write a script. In the "~/.config/Mutate/scripts",it has some scripts for examples.

mutate's People

Contributors

codethatthinks avatar qdore avatar retspen avatar m425 avatar bjcubsfan avatar benfalk avatar limero avatar mgolisch avatar sespiros avatar t413 avatar tudor07 avatar wesrog avatar purple112 avatar

Watchers

James Cloos avatar

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.