Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Layout detecting, stability improvements for tile window managers and so on #2

Open
wants to merge 31 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
3b098b8
correct spacing on special keys
seletskiy Jul 3, 2014
bd9d19b
correct way to handle modifiers based on event state
seletskiy Jul 3, 2014
9e7b181
<= for backspace key
seletskiy Jul 3, 2014
5d6b50d
keep pos option, bg and fg cmd flags, fix quit
seletskiy Jul 3, 2014
2de7d26
use python2
seletskiy Jul 3, 2014
90708dd
visual space character
seletskiy Jul 3, 2014
8ab6483
add --no-sudo flag (major speedup) and fix CTRL+F1
seletskiy Jul 3, 2014
af4b523
fix .gitignore
seletskiy Jul 3, 2014
38f8041
layout detecting, caps -> keyboard symbol
seletskiy Jul 3, 2014
49cbb7a
make tab and caps looks like detached
seletskiy Jul 3, 2014
284923f
README.md: info about fork
seletskiy Jul 3, 2014
c3e3cf9
README.md: fix some typos and spelling
seletskiy Jul 3, 2014
6b84f39
README.md: add gif
seletskiy Jul 3, 2014
3bcf7ce
align to another window
kovetskiy Feb 4, 2015
3b4f1cc
mapped backspace, fix font size
seletskiy Jun 7, 2015
28804ed
fix iso5_level_shift
seletskiy Jun 19, 2015
e7fe7c1
Changing Backspace character to ⌫
denilsonsa Jul 2, 2015
7c4b8ca
Changing from "⇐" to "⌫"
denilsonsa Jul 2, 2015
c110971
Removing shebang from non-executable file.
denilsonsa Jul 2, 2015
da283dd
Converting tab to spaces.
denilsonsa Jul 2, 2015
199fffe
Stripping whitespace at the end of lines.
denilsonsa Jul 2, 2015
5d371c3
Using "is not None" instead of "not foo is None".
denilsonsa Jul 2, 2015
108d720
Fixing Unicode errors.
denilsonsa Jul 2, 2015
7aff202
Fixing most/all PEP-8 warnings.
denilsonsa Jul 2, 2015
3a50f16
Fixing "nosudo" code.
denilsonsa Jul 2, 2015
31cbdc8
Merge pull request #2 from denilsonsa/fixing
seletskiy Jul 3, 2015
d4343ac
Merge 'patch-1', changing Backspace character.
denilsonsa Jul 3, 2015
a69a9dd
Reverting --no-detach default value.
denilsonsa Jul 3, 2015
afdbe0d
change backspace symbol
seletskiy Jul 6, 2015
c0e93b5
keylogger mode
seletskiy Aug 19, 2015
420fcb8
better time format, keypresses/releases
seletskiy Aug 19, 2015
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 1 addition & 8 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,8 +1 @@
[Ll]ibrary/
[Tt]emp/
[Oo]bj/

# Autogenerated VS/MD solution and project files
*.csproj
*.unityproj
*.sln
*.pyc
79 changes: 40 additions & 39 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,45 +1,48 @@
screenkey
=========
Screenkey - https://bugs.launchpad.net/screenkey/+bugs

This is screenkey trunk with the following patch:
https://bugs.launchpad.net/screenkey/+bug/1133068

No other modifications, kudos to the guys below:

Screenkey v0.2
http://launchpad.net/screenkey

About
=====
Screencast your keys.
A screencast tool to display your keys inspired by Screenflick
and initially based on the key-mon project code.

Usage
=====
Download the latest version from https://launchpad.net/screenkey/+download
and you need install python-xlib.

To run without installing (change x.x by current version number)

tar xvfz screenkey-x.x.tar.gz
cd screenkey-x.x/
sudo ./screenkey

To install

tar xvfz screenkey-x.x.tar.gz
cd screenkey-x.x/
sudo ./setup.py install

Or you can use dpkg (Debian and Ubuntu)

sudo dpkg -i screenkey_x.x-y_all.deb
Fork of http://launchpad.net/screenkey

What's up?
==========

I've made significant changes, including:

* new command line flags:
* `-fg` to set font color;
* `-bg` to set background color;
* `--no-sudo` do not perform check on launched sudo (it's currently VERY slow,
because of this check will launch subprocess on EVERY key typed);
* `-n, --no-hide` do not hide window after timeout, hide only text (make it
usable with tile managers, for example, with i3, which can not have
unfocusable windows);
* instead of removing text on `backspace` symbol `⌫` will be added; it was
broken anyway, so it will happily erase `Ctrl+...` and other text;
* space is changed to visible character: `␣`;
* supported second keyboard layout, so not only ASCII letters can be recorded;
* way of detecting modifiers was changed and now based on pure event state
field; it's more robust and precise, so, for example, if you remap arrow
keys into Mod+\[HJKL\] (as I do) you get correct output (arrows, not Mod+arrows
or something);
* `Shift+` is now not printed for characters that have two distinct states
with and without Shift; it means, that when you type `Shift+q` you will see
`Q`. However, if you type `Shift+Left`, you will see `Shift+←`;
* added another position modifier, and now window can be dragged around to
choose optimal position and size; it will remembered and will not change
after window hide/show cycle;
* font size is now binded to window height, so if you resize window you will
get different font size;
* spacing between several keys are tweaked, so they will not nestle to each
other, like this: `Ctrl+vhello`; instead, you will see: `Ctrl+v hello`.

Preview
=======
Some awkward highlights of this features shown here:

![output](https://cloud.githubusercontent.com/assets/674812/3472704/d75e249e-02ce-11e4-90f0-d65b575b1574.gif)

Author
======
Original author
===============
Pablo Seminario

Thanks to
Expand All @@ -64,5 +67,3 @@ GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.


2 changes: 0 additions & 2 deletions Screenkey/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@

APP_NAME = "Screenkey"
APP_DESC = _("Screencast your keys")
APP_URL = 'http://launchpad.net/screenkey'
VERSION = '0.2'
AUTHOR = 'Pablo Seminario'

Loading