Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I want to be able to run certain scripts by shortcut the way I do in ubuntu - for example some similar to this awesome script. (On that model I can search google the text selected in any text editor, or even translate it various languages, search it on different sites, etc).

How to use this type of script in elementaryOS?

share|improve this question
    
I guess I'm not in this question's target audience, but I first interpreted the expression “this awesome script” as refering to awesome. –  Gilles Oct 11 '13 at 22:48
    
@Gilles - I am not a native English speaker, but neither am I a computer 'connaisseur' (OR connoisseur, as they say in US), and maybe that is why I'm so impressed by such scripts, which seem mysterious, quite magic, awesome (in the -colloquial- sense of excellent, exciting, remarkable: "Awesome, dude!"). –  cipricus Oct 12 '13 at 6:20
add comment

1 Answer

up vote 1 down vote accepted
sudo apt-add-repository ppa:versable/elementary-update
sudo apt-get update
sudo apt-get install elementary-tweaks

In System settings -> Tweaks -> Shortcuts

'+' to add new shortkey

use a command like sh /path/to/script

enter image description here


In order to run the script, xclip is needed.

sudo apt-get install xclip    
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.