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

xcape with Ubuntu 14 #53

Closed
geo7 opened this issue Aug 18, 2015 · 2 comments
Closed

xcape with Ubuntu 14 #53

geo7 opened this issue Aug 18, 2015 · 2 comments

Comments

@geo7
Copy link

geo7 commented Aug 18, 2015

Installed using the given method but doesn't seem to work for me.
I'm not getting the error here, I'm just not getting anything.

Installed using :

    cd ~
    sudo apt-get install git gcc make pkg-config libx11-dev libxtst-dev libxi-dev
    mkdir xcape
    cd xcape
    git clone https://github.com/alols/xcape.git .
    make

This is the output of the install:

Reading package lists... Done
Building dependency tree
Reading state information... Done
gcc is already the newest version.
libx11-dev is already the newest version.
libxtst-dev is already the newest version.
make is already the newest version.
pkg-config is already the newest version.
libxi-dev is already the newest version.
git is already the newest version.
The following packages were automatically installed and are no longer required:
  fonts-font-awesome fonts-mathjax ipython-notebook-common libjs-highlight
  libjs-jquery-ui libjs-marked libjs-mathjax libpgm-5.1-0 libx265-49 libzmq3
  python-mysqldb python-simplegeneric python-tornado python-zmq
  vlc-plugin-pulse

I have the file xcape in ~/xcape

└─[$]› file xcape
xcape: ELF 64-bit LSB  executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.24, BuildID[sha1]=88b6cd9cb4aabc502ba59d897c8b3a4e60a563ab, not st
ripped

If I run this file with ./xcape I see no output, and which doesn't return anything either

[$]› ./xcape 

[$]› which xcape

If I then load a new terminal with the following in bashrc

xmodmap -e "clear lock"
xmodmap -e "remove control = Control_L"
xmodmap -e "keycode 66 = Control_L"
xmodmap -e "add control = Control_L"

xcape -e "Control_L=Escape"

I get the output :

xmodmap:  please release the following keys within 2 seconds:
    Return (keysym 0xff0d, keycode 36)
    Super_L (keysym 0xffeb, keycode 133)
xcape: command not found
xcape: command not found

After restarting the machine I still get the error

xcape: command not found
xcape: command not found

I'm not sure if this is something to do with the distro or what - are there known issues for particular distros?

@jdwolin
Copy link

jdwolin commented Aug 18, 2015

Running Mint 17.2 with the same exact issue. Also wanted to comment that you are scratching an itch I've had for a long time in developing this!

alols added a commit that referenced this issue Aug 19, 2015
@alols
Copy link
Owner

alols commented Aug 19, 2015

You also need to run sudo make install if you want to be able to launch xcape in the way you are doing.

@alols alols closed this as completed Aug 19, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants