- Magic Trackpad vs Ubuntu — кто косячит?
- Apple hardware and Linux
- Part 2: Magic Trackpad and Apple Bluetooth Keyboard
- Pairing
- Stability
- Gestures
- Могу ли я использовать Magic Trackpad в Linux?
- 1 ответ 1
- Ubuntu Wiki
- AppleMagicTrackpad
- Testing
- Pairing the Magic Trackpad
- Using graphical tools
- Problem: Pairing does not persist between reboots on Maverick (10.10)
- Using the command line
- Support on Ubuntu 10.04 (Lucid Lynx)
- Support for Magic Trackpad on Ubuntu 12.04 LTS (Precise Pangolin) on iMac 27¨ (2013 revision)
- Known issues
- Using Ginn for multi-touch gesture inputs
- Synaptics style functionality
- Related links
Magic Trackpad vs Ubuntu — кто косячит?
Есть у меня такой вот трекпад от говноэппла. Вроде терпимая штука, за неимением альтернатив (на кровати с мышкой очень неудобно).
Но есть одна проблемка — он не выключается сам при неактивности. А я регулярно забываю его выключить перед сном. В результате батарейки выжираются и приходится регулярно их менять.
Вопрос в том кто лажает? (ну кроме меня). Либо эппловские продукты и впрямь такое говно и они не предусмотрели такую элементарную вещь — или всетаки моя бубунта этому припятствует и шлет какието keepalive (как вариант, хз бывает ли такое). Вдруг это всеже можно както исправить?
з.ы. у меня первой версии, оказывается они его уже перевыпустить успели лол
Косячишь в данном случае ты. Не надо использовать аппле устройства на неаппле ОС. Драйверов нет, ничего нет, поэтому работает не лучше мышки за 150 деревянных, а то и хуже. Разве что на ощупь приятнее. А в макос с соответствующими драйверами равных трекпаду нет. Мышь расчехляю только если вдруг захочется поиграть в какой-нибудь спинномозговик.
И по памяти: мышь эппловская у меня была, разряжалась достаточно быстро 2 недели-1 месяц даже при эксплуатации с маком. Не сравнить с логитеком (привет соседнему треду) в котором я батарейки менял раз в год наверное, не чаще.
о, эпплодрочер чтоль?
тачпад как тачпад. в офисе пользовался ей с маком пару недель — никаких различий (разве что жесты из коробки есть). и кстати ничего крутого в нем нет, кусок фекалий разработанный дизайнерами и маркетологами. пользоваться можно, но своих денег не стоит даже близко — просто аналогов на момент покупки небыло. такчто не неси херни
Источник
Apple hardware and Linux
Part 2: Magic Trackpad and Apple Bluetooth Keyboard
Nov 26, 2018 · 4 min read
This is part of my series of “Moving to Linux” posts. It might be useful to read the introductory post to understand the context.
This post is about input devices: Apple’s Magic Trackpad and the Apple Bluetooth Keyboard. I’ve already written a post in which I talked about configuring the internal touchpad of my Linux laptop. At the same time I wanted to make an external Bluetooth mouse work for my left-handed requirements.
That little and cheap black Bluetooth mouse from that post mentioned above was always meant to be a stop-gap measure. I got it at Saturn in Germany for 4,99 Euros because I got the laptop fresh from there and needed some kind of mouse.
When working on my Apple hardware, I’d usually use a Magic Mouse on the iMac and the Magic Trackpad with a wired USB keyboard on the Macbook Pro. Additionally to that, I have another Trackpad and/or Apple Bluetooth Keyboard at my co-working space or at a client.
So, over the last couple of days, I tried out various of the setups with my Linux laptop.
I did some research before I even started. I realised that a lot of the posts on askubuntu.com or stackoverflow.com were about old versions of Ubuntu or Linux in general. People sometimes had to go through cumbersome efforts trying to get the Magic Trackpad going at all.
At some point I gave it a go and put both the trackpads and the Bluetooth keyboard into pairing mode. Slightly surprised they right away showed up under their previous names from OS X in the Ubuntu Budgie settings application.
Pairing
Connecting them worked without major problems. The Magic Trackpads didn’t need any verification at all for me. They connected, but it seems that if you get asked for a PIN, the correct one would be four times the digit zero: 0000.
The Apple Bluetooth Keyboard required a PIN on first pairing. Ubuntu popped up a dialog asking for it as part of the pairing. I entered it on the keyboard itself, pressed and the pairing was completed.
Stability
It seems the Linux laptop behaves a bit more fiddly and flaky when it comes to connecting to the Apple gear. Not in a way that it’d be unusable, but in particular the pairing at my co-working space took quite a long time. The huge amounts of frequency pollution played a part in that. Pairing another trackpad at home was instant. I also found it useful to make sure that the Apple Bluetooth gear was disconnected from the Macbook Pro.
During ongoing use, it seems that it briefly disconnects and reconnects more often than before when I’m at the co-working space. I’m not seeing this at home. I had noticed this behaviour in noisy and polluted environments on the Mac before, but it seems to have increased with the changeover to Linux. I’m not sure if there’s anything that I can configure to alter this behaviour . It’s not even close to be annoying enough to bother me.
Gestures
In a nutshell, the Magic Trackpad is a pointer device and shows up on Linux when calling xinput from a shell. There are many ways people use the trackpad. On OS X and macOS it’s very popular to configure all kinds of two-, three- or even four-finger gestures to improve perceived productivity.
I never used a lot of these gestures because I’m much more into using the keyboard. Essentially for me, the trackpad acted as a simple touchpad, pretty much like a built-in touchpad on a laptop. I used it for primary and secondary clicks, cursor movements and two-finger scrolling. I never got into the elaborate ways people use their touchpads with multiple fingers and pinch/zoom etc.
My current Magic Trackpad on Linux pretty much delivers exactly what I need from this point of view and I’m very happy with that.
There are ways to configure and setup all sorts of gestures for more than two fingers and certain movements. I haven’t looked into them, but there are two tools that look promising:
As a final note: Some of the configuration options for primary and secondary clicks that I mentioned in my previous blog post are valid for the Magic Trackpad, too. They don’t apply for my setup because the default click behaviour of the Magic Trackpad already matches my expected behaviour.
I hope you find this informative and useful. As usual, I’d really appreciate any comments and feedback. You can find me as AgentK on Twitter.
Источник
Могу ли я использовать Magic Trackpad в Linux?
Я хотел бы иметь возможность использовать мой Magic Trackpad с Linux. Хотя я еще не установил Linux, чтобы протестировать его, трекпад будет подключаться к Windows на машине (т. Е. У него есть Bluetooth). Я собираюсь использовать Fedora 14 на Lenovo T410.
1 ответ 1
Я предполагаю, что вы хотели бы знать, делают ли они драйверы для Magic Trackpad для Linux. После 1 минуты гугл-поиска я нашел этот форум. Я знаю, что основные моменты немного обширны, но эти посты являются единственными реальными информативными, которые помогают теме, и которые не являются повторяющимися, которые я нашел в течение двух минут после просмотра форума.
Особенности
Я купил Magic Trackpad вчера, и он отлично работает на моих Mac, как и в Linux. За исключением того, что Linux не поддерживает эти классные жесты OSX, но вы можете использовать его в качестве замены мыши .
Например, в Ubuntu Karmic (10.04) вам просто нужно получить ядро 2.6.35, которое можно получить из репозитория ppa:kernel/ppa. После перезагрузки и сопряжения bt все работает . щелчок левой / правой кнопкой мыши, указание и щелчок (последний — только с помощью встроенной кнопки). В Ubuntu 10.10 он работает с нуля, следовательно, 10.10 включает в себя 2.6.35 или более новое ядро .
С помощью волшебного трекпада вы сможете прокручивать максимум два пальца вверх / вниз в Linux. Скользящая прокрутка, прокрутка с тремя и четырьмя пальцами не работает. что делает его так же хорошо, как дорогой пресс-папье.
Говорят, что поддержка мультитач идет с Ubuntu Maverick (10.10). Также сообщается, что Firefox и Chrome скоро будут работать над поддержкой Multitouch. Тем не менее мне нравится тот факт, что я могу использовать трекпад на моих Mac, а также на моих Linux-коробках
Источник
Ubuntu Wiki
AppleMagicTrackpad
The Magic Trackpad is a multi-touch trackpad produced by Apple Inc.
It can be used as a single-touch device in Ubuntu by pairing it using the Bluetooth utilities in Ubuntu. The following setup instructions only need to be followed once, then Ubuntu will recognize the Magic Trackpad without further configuration.
Also note the nubs on the underside of the trackpad act as the mouse button — the two rubber pieces act as such when you press *on* the device itself.
Testing
You can confirm that gestures are recognized by following the directions here:
In order to use this device with other multi-touch software, you will need to know its input device name and number.
Here is example output for lsinput with a Magic Trackpad present (other irrelevant input device removed):
In this case the input device would be /dev/input/event7. The input device number would be 7.
For more information on testing this device for multi-touch support, see Multitouch/Testing.
Once you’ve confirmed the above, you can try using PyMT.
Pairing the Magic Trackpad
Using graphical tools
Once you have inserted batteries in your Magic Trackpad, if your system is Bluetooth-capable and its radio is enabled, you will see a dialog box asking for a PIN to pair it:
Such pairing can be forced by pressing and holding the button at the top-right side of the tablet.
You need to provide 0000 as the PIN code and press Enter to pair the trackpad. Once this has been done you need to permanently authorize this device to pair with your system. You can do so by going to the Bluetooth applet and choosing Apple Wireless Trackpad > Connect:
You will then be asked to confirm authorization to connect from this device. Make sure the «Always grant access» checkbox is ticked and click on Grant:
Once these steps have been completed the trackpad will remain available in Ubuntu.
If the above instructions fail, see below for manual Bluetooth pairing instructions.
Problem: Pairing does not persist between reboots on Maverick (10.10)
If you find that you are not being prompted to «Always grant access» and that the device is not available after a reboot (i.e., you have to reconnect), try adding the pincode for the device (0000) to /var/lib/bluetooth/
/pincodes, like so:
Determine the physical (model-specific) and unique device IDs from the output of lsinput (from the «input-tools» package) as shown above.
/pincodes as the root user (or with sudo): Add this line to the new file, save, and exit:
is a backslash-escaped physical device ID, like D8\:30\:62\:38\:18\:02, and is your device’s unique ID, both from the output of lsinput.
Using the command line
First, verify that your Bluetooth radio is indeed on. Open a terminal window and issue the following command:
The above example output shows what you would see if / when your Bluetooth radio is detected and enabled.
Next, let’s scan for nearby Bluetooth devices. Note you must press the pairing/ON/OFF button for approximately 10 seconds on your Magic Trackpad for it to enter «pairing» mode. A small green light will start flashing.
The above output has important information. The bluez-compat package needs to be installed before requesting pairing:
Then we can use the «XX. » string to request pairing of the trackpad:
There should be no output after the above command, however your trackpad should now be recognized and act as a single-touch device.
Support on Ubuntu 10.04 (Lucid Lynx)
By default, it’s possible to pair the Magic Trackpad and use basic mouse-like functionality with the regular left-click being available via the physical click only; tapping and scrolling will not work. As of September 8th, with the unsupported 2.6.35 (Maverick) kernel from the Ubuntu Kernel Team PPA, all expected basic functionality (two-finger scrolling, tap to click, right and middle click emulation through two and three finger taps respectively) works by using the «synaptics» X driver.
Support for Magic Trackpad on Ubuntu 12.04 LTS (Precise Pangolin) on iMac 27¨ (2013 revision)
The Long Term Stable version of Ubuntu supports the Apple wireless Keyboard and the wireless Trackpad. While automatic pairing of Ubuntu to the keyboard is as you might expect, pairing with the Trackpad is not quite so intuitive, until you realise what may be happening. With the wireless keyboard, the Ubuntu Bluetooth utility asks you to type a random six digit security code on the keyboard, to enable the pairing. This is not possible with the Trackpad! The Trackpad his an ínbuilt code of ´0000´.
Pairing the Bluetooth Trackpad to Ubuntu 12.04:- Within the Settings | Bluetooth utility, first press Add (+) and Continue | PIN Options | ´Fixed PIN 0000´ and then Close (start searching) BEFORE starting-up the Trackpad registration (pressing-in its power button for several seconds). You need to specify ´Fixed PIN 0000´ BEFORE the System Administrators Trackpad is found and added to the selection list by Ubuntu! It appears that the fixed PIN is behaving like a filter for any incoming Bluetooth pairing requests; that when Ubuntu knows this, it accepts the Trackpad (default of ´0000´) and pairing then completes automatically as you would expect. This pairing is persistent between system re-boots and powering off-on, though you might wish to have a spare USB keyboard and mouse available, just in case. On top line of the Ubuntu screen you should select the appropriate Macintosh keyboard for your locale, especially if wishing to access some of the more quirky keyboard characters during login (@ or # or currency symbols).
Having paired Ubuntu Bluetooth and the Magic Trackpad, you have a physical right and left click, normal scrolling with a single or double click, also two-finger scrolling going up and down an list, or sideways on a screen, or zoom-in or -out, also a three finger gesture to grab the current screen and relocate it on the desktop (nearly as flexible as the iMac´s OS X). Regrettably, when you switch between Linux Ubuntu and Apple OS X, you are obliged to re-pair the keyboard and trackpad afresh — a little niggle worth paying, if you prefer the greater contrast and larger characters of Ubuntu on the iMac 27¨ super high definition screen.
Known issues
Using Ginn for multi-touch gesture inputs
This method utlises Ginn to produce keyboard and mouse events based on multi-touch gesture events. This utilises the standard evdev driver and therfore the Synaptics style functionality method conflicts. The Ginn method will emulate the Synaptics style and provide additional functionality
2) Download the attached Ginn wishes file wishes.xml and save to your home folder. Replace /etc/ginn/wishes.xml with the downloaded version.
As ginn is a little unstable at present, the ginn-wrapper script can be used to automatically restart ginn if it crashes.
Synaptics style functionality
In Ubuntu 10.10, some typical trackpad features are not available when using the default gesture support. These include two finger scrolling and two finger tap for right click. Ubuntu 11.04 and on allow for gestures and these trackpad features at the same time.
If you are running 10.10 and want to switch from gesture support to traditional trackpad support, add this section to /etc/X11/xorg.conf, creating the file if necessary:
Related links
Multitouch — Ubuntu community documentation
Apple Magic Trackpad and Ubuntu Lucid — How to pair the Magic Trackpad in Ubuntu 10.04 LTS
Launchpad bug #618838 — «Apple Magic Trackpad requires PIN to pair, fails manual pairing»
Touchégg — alternative project to bring a multitouch gesture configuration GUI to Linux/Ubuntu
version 0.2 binary packages may provide multitouch gestures for Maverick (untested), provided you are not using the synaptics xorg driver.
Multitouch/AppleMagicTrackpad (последним исправлял пользователь gdenby 2013-10-21 16:13:22)
The material on this wiki is available under a free license, see Copyright / License for details.
Источник