[GH-ISSUE #956] Reverse scrolling not working in firejail #651

Closed
opened 2026-05-05 06:21:11 -06:00 by gitea-mirror · 3 comments
Owner

Originally created by @mesuutt on GitHub (Dec 5, 2016).
Original GitHub issue: https://github.com/netblue30/firejail/issues/956

Hi I am using reverse scrolling on my computer. So I want to use reverse scrolling with firejail too. I am using firejail 0.9.44 on Arch linux.

I created a directory for private home and added my .Xmodmap file in the directory.

firejail \
    --private=~/tmp/google_chrome \
    google-chrome-stable

When I open the google-chrome in firejail reverse scrolling not working.

My .Xmodmap file:

pointer = 1 2 3 5 4 7 6 8 9 10 11 12

How can I solve this?

Originally created by @mesuutt on GitHub (Dec 5, 2016). Original GitHub issue: https://github.com/netblue30/firejail/issues/956 Hi I am using reverse scrolling on my computer. So I want to use reverse scrolling with firejail too. I am using firejail 0.9.44 on Arch linux. I created a directory for private home and added my .Xmodmap file in the directory. ``` bash firejail \ --private=~/tmp/google_chrome \ google-chrome-stable ``` When I open the google-chrome in firejail reverse scrolling not working. My .Xmodmap file: ``` pointer = 1 2 3 5 4 7 6 8 9 10 11 12 ``` How can I solve this?
gitea-mirror 2026-05-05 06:21:11 -06:00
Author
Owner

@chiraag-nataraj commented on GitHub (Dec 5, 2016):

Are you sure reverse scrolling works in Google Chrome if launched outside of firejail? Gnome 3 (and GTK 3) break the old way of doing some stuff, including reverse scrolling. I had reverse scrolling stop working in Firefox because I was using xmodmap and had to use xinput instead (which does work).

<!-- gh-comment-id:264777666 --> @chiraag-nataraj commented on GitHub (Dec 5, 2016): Are you sure reverse scrolling works in Google Chrome if launched outside of firejail? Gnome 3 (and GTK 3) break the old way of doing some stuff, including reverse scrolling. I had reverse scrolling stop working in Firefox because I was using xmodmap and had to use xinput instead (which does work).
Author
Owner

@mesuutt commented on GitHub (Dec 5, 2016):

@chiraag-nataraj Sorry, I though this is related to firejail and opened an issue but google chrome reverse scroll not working also outsite of firejail.

I tried with xinput instead xmodmap show as below, Scroll direction changed in firefox but not changed in google chrome outsite of firejail too.

xinput set-button-map 11 1 2 3 4 5 7 6 8 9 10 11 12
<!-- gh-comment-id:264820600 --> @mesuutt commented on GitHub (Dec 5, 2016): @chiraag-nataraj Sorry, I though this is related to firejail and opened an issue but google chrome reverse scroll not working also outsite of firejail. I tried with `xinput` instead `xmodmap` show as below, Scroll direction changed in firefox but not changed in google chrome outsite of firejail too. ```bash xinput set-button-map 11 1 2 3 4 5 7 6 8 9 10 11 12 ```
Author
Owner

@chiraag-nataraj commented on GitHub (Dec 6, 2016):

You should try xinput list-props <device number> (use xinput list to figure out what the number of your device is). My touchpad has a "Natural Scrolling" property that I can set, which seems to work across programs.

<!-- gh-comment-id:265057596 --> @chiraag-nataraj commented on GitHub (Dec 6, 2016): You should try `xinput list-props <device number>` (use `xinput list` to figure out what the number of your device is). My touchpad has a "Natural Scrolling" property that I can set, which seems to work across programs.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/firejail#651
No description provided.