The officially official Devuan Forum!

You are not logged in.

#1 2019-01-24 07:24:01

MintCollie
Member
Registered: 2019-01-24
Posts: 4  

right click on mac

Hello everyone!
I'm very new to Linux, but I took the plunge last night and installed Devuan on my macbook. Everything is working great and i'm currently learning about i3wm. I have one hardware question though i'm not sure how to fix. I am unable to right click. Is there something I need to do extra to set it up?
Thanks!

Offline

#2 2019-01-24 08:47:48

RickMoen
Member
From: preferably on a cruise ship
Registered: 2019-01-24
Posts: 10  
Website

Re: right click on mac

That was pretty enterprising of you, MintCollie.  I hope learning the lay of the land doesn't cause too many frustrations, but you will doubtless have to work through some.  On the right-click stumper, give a try at two-finger clicking.  That might just work without any further fiddling.

I notice that a Debian wiki page (https://wiki.debian.org/MacBookPro#Synaptics) has more.

Last edited by RickMoen (2019-01-24 09:36:02)


Rick Moen
rick@linuxmafia.com

Offline

#3 2019-01-24 15:24:00

Ogis1975
Member
Registered: 2017-04-21
Posts: 307  
Website

Re: right click on mac

MintCollie wrote:

I am unable to right click. Is there something I need to do extra to set it up? Thanks!

Right click where? If in the i3wm window (in blank desktop), you will not be able to do that.


What economists call over-production is but a production that is above the purchasing power of the worker, who is reduced to poverty by capital and state.
            ----+- Peter Kropotkin -+----

Offline

#4 2019-01-25 00:29:57

MintCollie
Member
Registered: 2019-01-24
Posts: 4  

Re: right click on mac

RickMoen wrote:

That was pretty enterprising of you, MintCollie.  I hope learning the lay of the land doesn't cause too many frustrations, but you will doubtless have to work through some.  On the right-click stumper, give a try at two-finger clicking.  That might just work without any further fiddling.

I notice that a Debian wiki page (https://wiki.debian.org/MacBookPro#Synaptics) has more.

Much like that Debian wiki page I did not get a xorg.conf for synaptics. I tried creating the file then entering the information on the wiki and restarting but im still not able to right click.

Ogis1975 wrote:
MintCollie wrote:

I am unable to right click. Is there something I need to do extra to set it up? Thanks!

Right click where? If in the i3wm window (in blank desktop), you will not be able to do that.

No right click anywhere, even if im in the xfce desktop trying to right click a file im unable to.

Offline

#5 2019-01-25 02:25:16

RickMoen
Member
From: preferably on a cruise ship
Registered: 2019-01-24
Posts: 10  
Website

Re: right click on mac

MintCollie, I'm sorry, but if you attempted two-finger clicking as I suggested for the first thing for you to try, I didn't see you mention having done so.


Rick Moen
rick@linuxmafia.com

Offline

#6 2019-01-25 02:53:18

MintCollie
Member
Registered: 2019-01-24
Posts: 4  

Re: right click on mac

RickMoen wrote:

MintCollie, I'm sorry, but if you attempted two-finger clicking as I suggested for the first thing for you to try, I didn't see you mention having done so.

I have and it does nothing. same if i try using ctrl, option, or command with left click. I've even tried three finger clicking as i know that was a thing with mx linux one time.

Offline

#7 2019-01-25 04:02:33

RickMoen
Member
From: preferably on a cruise ship
Registered: 2019-01-24
Posts: 10  
Website

Re: right click on mac

Well, I hope one of the really knowledgeable desktop-computing people on this forum will help.  Yr. humble servant is basically a system administrator who has rather little to do with the X Windows System in any form, most days.

I do have a MacBook Air running Debian 9 'Stretch' in a virtual machine.  In that environment, right-Command-key clicking emulates right-click, which is a darned good thing because right-clicking is essential for the Window Maker environment.  You might be amused that I gravitate toward Window Maker because, in bygone days, I was a huge fan of NeXT, Inc.'s NeXTStep, a proprietary BSD Unix whose current offspring is Mac OSX.  Window Maker is an X11 window manager/desktop that's deliberately in the style of NeXTStep.

The Debian installation does NOT have an /etc/X11/Xorg.conf file, and instead relies (I guess) on Xorg hardware autoprobing and defaults.  I've not looked more deeply because it Just Works[tm], so I haven't poked around much.

Give that a try, anyway.  'Hope it helps.


Rick Moen
rick@linuxmafia.com

Offline

#8 2019-01-25 05:16:31

MintCollie
Member
Registered: 2019-01-24
Posts: 4  

Re: right click on mac

RickMoen wrote:

Well, I hope one of the really knowledgeable desktop-computing people on this forum will help.  Yr. humble servant is basically a system administrator who has rather little to do with the X Windows System in any form, most days.

I do have a MacBook Air running Debian 9 'Stretch' in a virtual machine.  In that environment, right-Command-key clicking emulates right-click, which is a darned good thing because right-clicking is essential for the Window Maker environment.  You might be amused that I gravitate toward Window Maker because, in bygone days, I was a huge fan of NeXT, Inc.'s NeXTStep, a proprietary BSD Unix whose current offspring is Mac OSX.  Window Maker is an X11 window manager/desktop that's deliberately in the style of NeXTStep.

The Debian installation does NOT have an /etc/X11/Xorg.conf file, and instead relies (I guess) on Xorg hardware autoprobing and defaults.  I've not looked more deeply because it Just Works[tm], so I haven't poked around much.

Give that a try, anyway.  'Hope it helps.

Thanks for the suggestion, I installed it but unfortunately i'm still  unable to right click.
On the second partition with OSX the right click is ctrl +left click so I know its capable of doing it haha.

Offline

#9 2019-01-25 09:26:17

RickMoen
Member
From: preferably on a cruise ship
Registered: 2019-01-24
Posts: 10  
Website

Re: right click on mac

I honestly have no idea what you're saying you "installed".  Did you mean Window Maker?  I certainly wasn't suggesting installing that.

I know you said two-finger click 'does nothing', but double-check that a few times, because it's rather easy to do that in a way that's misparsed as single (regular) click.

If that still doesn't give desired results, some online discussion elsewhere suggests a couple of commands from the 'syncline' (utility for controlling Synaptics touchpads such as are used inside Intel Macs) sets up the distinction between single click and two-finger click:

synclient tapbutton1=1
# This enables tap to click on the first (left) button
synclient tapbutton2=3
# This enables right click via a two-finger-tap

If you have nothing better to try, run those two commands (the '#' lines are explanatory comments) and try again a few times with two-finger clicking.  If that works, then someone here can help add that to your runtime configuration.

(I'm about the worst person to help you with any of this, as I almost never have Devuan in a desktop configuration, only server ones.  Really, it would be good if one of the desktop-ey people stepped in to help you.)

Last edited by RickMoen (2019-01-26 07:22:20)


Rick Moen
rick@linuxmafia.com

Offline

#10 2019-01-25 12:58:13

PedroReina
Member
From: Madrid, Spain
Registered: 2019-01-13
Posts: 269  
Website

Re: right click on mac

RickMoen wrote:

you said two-finger click 'does nothing', but double-check that a few times

Hi, Rick. Could we suggest the use of the old and good xev utility to help isolate the problem?

Offline

#11 2019-01-26 07:21:32

RickMoen
Member
From: preferably on a cruise ship
Registered: 2019-01-24
Posts: 10  
Website

Re: right click on mac

Pedro, I will gladly and gratefully yield the speaking podium to you on that one.  I know I used xev back in the 1990s, but cannot remember offhand its uses and advantages.  (I recall that it is a general tool for sending X events to a window, to see what then ensues.)


Rick Moen
rick@linuxmafia.com

Offline

#12 2019-01-26 10:33:11

PedroReina
Member
From: Madrid, Spain
Registered: 2019-01-13
Posts: 269  
Website

Re: right click on mac

RickMoen wrote:

but cannot remember offhand its uses and advantages

I've used it a few times as a debugging tool exactly for that mouse issues. I fire xev, play with the mouse buttons and I can see what events are been actually fired.

Fun story: a relative of mine, time ago, said to me: "please update that program, it doesnt work anymore". xev said the mouse was malfunctioning; I changed the mouse and the program "worked" again smile

Offline

#13 2019-01-28 02:35:16

ralph.ronnquist
Administrator
From: Battery Point, Tasmania, AUS
Registered: 2016-11-30
Posts: 1,251  

Re: right click on mac

I have an ASUS with a touchpad, with both left and right corner being click buttons, but without proper middle button. I'm therefore using synclient to make it behave, and run it as follows:

synclient RightButtonAreaLeft=1625 RightButtonAreaRight=3249 \
    RightButtonAreaTop=1800 RightButtonAreaBottom=2223 \
    RightEdge=2500 TopEdge=500 \
    RTCornerButton=2 RBCornerButton=0 \
    TapButton1=1 TapButton2=2 TapButton3=3 \
    ClickFinger1=1 ClickFinger2=2 ClickFinger3=3 \
    VertEdgeScroll=0 HorizEdgeScroll=0 CornerCoasting=0 \
    VertTwoFingerScroll=0 HorizTwoFingerScroll=0 \
    CircularScrolling=0

With that set up, I get a middle-button click area in the upper right corner, and also alternative left/middle/right buttons by 1/2/3-fincger taps and clicks (and scrolling sensing turned off, since I found it too easy to trigger while typing).

As I remember, it took a bit of experimentation to get the 6 magic numbers right. The first 4 tells where that middle-button area is, and the next 2 is for something else that I don't remember.  /var/log/Xorg.0.log might tell the x/y dimensions for your touchpad, and man synaptics provides documentation of the available options.

Offline

#14 2019-01-28 21:01:40

ChuangTzu
Member
Registered: 2018-06-13
Posts: 148  

Re: right click on mac

Wait a minute, if they are using i3, then there is no desktop to click on, its keyboard driven.  You can click inside windows, but thats it.

Offline

#15 2019-01-29 14:41:33

Ogis1975
Member
Registered: 2017-04-21
Posts: 307  
Website

Re: right click on mac

ChuangTzu wrote:

Wait a minute, if they are using i3, then there is no desktop to click on, its keyboard driven.  You can click inside windows, but thats it.

I tried to explain it to him, but he wrote that

No right click anywhere, even if im in the xfce desktop trying to right click a file im unable to.


What economists call over-production is but a production that is above the purchasing power of the worker, who is reduced to poverty by capital and state.
            ----+- Peter Kropotkin -+----

Offline

Board footer