User Tools

Site Tools


linux:stuff

Differences

This shows you the differences between two versions of the page.


Previous revision
linux:stuff [2015/09/21 19:10] – [Show the whole HID descriptors on GNU/Linux] redox
Line 1: Line 1:
-# Stuff 
- 
-## Pair Firefox29 with Owncloud mozilla_sync 
- 
-* Go to your Owncloud installation `https://myowncloud/remote.php/mozilla_sync` and accept the SSL Certificate 
-* Open `about:config` 
-* Create: `services.sync.username <string>` The value should be a hash not the username itself. (You only need the hash if the sync was setup with a pre FF29, if you start from scratch the string doesn't matter) 
-* Restart Firefox 
-* Go to: Preferences -> Sync -> Setup Firefox sync (you should see the old UI now) 
-  * 'I Have an Account' 
-  * 'I don't have the device with me' 
-  * 'Account' - again use the hash NOT the actual username! 
-  * 'Password' - ... 
-  * 'Server' - https://myowncloud/remote.php/mozilla_sync/ 
-  * 'Recovery Key' - Get the right key from an older browser, you can find it in the sync settings 
- 
-To generate the hash: 
-<code python>import hashlib,import base64 
-print base64.b32encode(hashlib.sha1("user@server.tld").digest()).lower()</code> 
- 
-Source: https://gist.github.com/mariussturm/061b9f4861ef1292aa60 
- 
-## Add AwesomeWM to LightDM session list 
- 
-Looks like [[https://bugs.launchpad.net/ubuntu/+source/awesome/+bug/1094811|it's a bug]], but can easily be fixed. Edit __/usr/share/xsessions/awesome.desktop__ and change `NoDisplay=` from _true_ to _false_. 
- 
-## Show the whole HID descriptors on GNU/Linux 
-From: [libusb-nabble](http://libusb.6.n5.nabble.com/How-to-dump-HID-report-descriptor-under-Linux-td5971.html) 
-    # Unbind the HID driver 
-    cd /sys/bus/usb/drivers/hiddev 
-    ls 
-    # Find the filename for the interface you want to unbind. Form is: 
-        B-P:C.I 
-    # where B is the bus number, P is a string of port numbers separated by periods, C is the configuration value, and I is the interface number. 
-    echo -n interface-filename >unbind 
-    # When you're done, reattach it 
-    echo -n interface-filename >bind  
  
/home/share/www/redox.ws/wiki/data/pages/linux/stuff.txt · Last modified: 2023/11/24 22:19 by redox