Debian Codegraph @

debian/arduino.README.Debian

raw
1 Permissions required for access to USB/Serial ports:
2 ----------------------------------------------------
3
4 User must be in the dialout group in order to write to USB/Serial ports.
5
6 Fedora uses zenity to ask if a user wants to be added, but it is a big download.
7
8 I wrote our own java code, in debian/permission-checker, which will ask if the
9 user would like to be added, then runs a script with pkexec to add the user
10 to the dialout group.
11
12 --Scott Howard <[email protected]>, Dec 12, 2011
13
14
15 Note for non-reparenting window manager users
16 ---------------------------------------------
17
18 If you are using a non-reparenting window manager, such as ratpoison, awesome
19 or dwm, some Java graphical applications using the AWT toolkit will only
20 display empty grey windows, as described in bug #508650.
21
22 There are two solutions to work around this issue:
23 1. mask your window manager as one of the non-reparenting ones supported by AWT,
24 using the wmname <http://tools.suckless.org/wmname> tool from the dwm-tools
25 package:
26 $ wmname LG3D
27 2. set the environment variable _JAVA_AWT_WM_NONREPARENTING:
28 $ export _JAVA_AWT_WM_NONREPARENTING=true
29
30 You can automate these tasks by writing them to your ~/.xsessionrc:
31 $ echo export _JAVA_AWT_WM_NONREPARENTING=true >> ~/.xsessionrc
32
33
34 Make the Arduino reference locally available
35 --------------------------------------------
36
37 The Arduino Language reference isn't currently packaged within the arduino
38 package, thus you will see a error message if you try open it from the menu
39 Help -> Reference.
40 The HTML files of the reference using a lot of references and resources to other
41 sides (like fonts, CSS or Javascript) on the internet these are all privacy
42 breaches from a POV of Debian.
43
44 In order to make the Arduino Language reference callable from the IDE you can
45 do the following steps that will download an archived version of the reference,
46 extract the content and move that in place. You will need to have root access
47 or sudo rights for the move of the extracted content!
48
49 1. Download the archived content of the reference.
50
51 wget -P ~/Downloads https://downloads.arduino.cc/reference-1.6.6-3.zip
52
53 2. Extract the content.
54
55 unzip ~/Downloads/reference-1.6.6-3.zip -d /tmp/reference
56
57 3. Move the extracted reference.
58
59 # become root
60 mv -f /tmp/reference/* /usr/share/arduino/reference
61 # or if you are in the sudo group
62 sudo mv /tmp/reference/* /usr/share/arduino/reference
63 # remove used folder where content was extracted to (not fully needed)
64 rmdir /tmp/reference
65
66 Please note that the content of the archive is missing some parts like used web
67 fonts and thus the website is looking not fully equal to the upstream version.
68 You will always find the current version of the reference online on
69
70 https://www.arduino.cc/reference/en
71