LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Games
User Name
Password
Linux - Games This forum is for all discussion relating to gaming in Linux.

Notices


Reply
  Search this Thread
Old 09-07-2022, 05:39 PM   #1
jmgibson1981
Senior Member
 
Registered: Jun 2015
Location: Tucson, AZ USA
Distribution: Debian
Posts: 1,150

Rep: Reputation: 393Reputation: 393Reputation: 393Reputation: 393
Non standard Mouse Buttons through Steam streaming.


This has been bugging me. For some reason buttons 4 & 5 didn't translate through my steam streaming client to the host (which is also linux). I finally hacked it out. It requires a spare keyboard key that you don't use for anything. Simple script, simple apps


xbindkeys
xdotool
xev

/home/"$USER"/.xbindkeysrc

Code:
"/home/jason/.steam/numlockfix"
        b:8
B:8 translates to button 4 on my logitech mouse. Use xev to confirm button identity.

numlockfix script

Code:
#!/bin/sh

pgrep steam && xdotool key F12
Couldn't find any other way to do this with XFCE. But it does work. I need to narrow the pgrep to the exact thing I'm running as I use it to run wine games from remote. But seems to work just fine.

Is a shame this isn't working properly linux > linux. The buttons already work linux > windows host. Who knows. Solved it though.
 
Old 09-11-2022, 07:03 AM   #2
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,634

Rep: Reputation: Disabled
Quote:
Originally Posted by jmgibson1981 View Post
... Solved it though.
Then please mark this thread as "solved" .
 
Old 09-11-2022, 11:25 AM   #3
jmgibson1981
Senior Member
 
Registered: Jun 2015
Location: Tucson, AZ USA
Distribution: Debian
Posts: 1,150

Original Poster
Rep: Reputation: 393Reputation: 393Reputation: 393Reputation: 393
Always forget. Thank you. Done.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: New stable Steam Client up, fixing Steam Survey and NFS mounts on Linux, plus other Steam news LXer Syndicated Linux News 0 01-23-2020 10:24 PM
LXer: Steam In-Home Streaming Now Open To All, Linux Streaming To Come Soon LXer Syndicated Linux News 0 05-23-2014 02:01 AM
Printing of application out in standard and non standard paper size gkedar614 Linux - Newbie 2 08-23-2013 03:40 AM
Steam on Wine, cannot login,"Steam is having trouble connecting to the Steam servers" cantab Linux - Games 1 06-19-2010 06:32 AM
Help binding mouse buttons to keyboard buttons Eckstona Linux - Hardware 6 09-24-2006 07:28 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Games

All times are GMT -5. The time now is 07:39 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration