Sat, 26 Apr 2025 12:34:32 +0200
MicroPython
- Added a configuration option to disable the support for the no longer produced Pimoroni Pico Wireless Pack.
10107
da76865312f1
Changed the included documentation to Markdown format and corrected some of the texts.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10092
diff
changeset
|
1 | # Readme for ChromeOS usage |
8477
81e25fe19818
Updated the documentation contained in the 'docs' folder.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
2 | |
81e25fe19818
Updated the documentation contained in the 'docs' folder.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
3 | This Readme describes the steps to be performed to use eric on a |
81e25fe19818
Updated the documentation contained in the 'docs' folder.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
4 | Chromebook with ChromeOS. |
81e25fe19818
Updated the documentation contained in the 'docs' folder.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
5 | |
10107
da76865312f1
Changed the included documentation to Markdown format and corrected some of the texts.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10092
diff
changeset
|
6 | ## 1. Preparation |
8477
81e25fe19818
Updated the documentation contained in the 'docs' folder.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
7 | Step 1: activate the Linux environment through the settings |
81e25fe19818
Updated the documentation contained in the 'docs' folder.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
8 | |
81e25fe19818
Updated the documentation contained in the 'docs' folder.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
9 | Step 2: open a terminal window and execute these steps |
81e25fe19818
Updated the documentation contained in the 'docs' folder.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
10 | |
81e25fe19818
Updated the documentation contained in the 'docs' folder.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
11 | sudo apt update |
81e25fe19818
Updated the documentation contained in the 'docs' folder.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
12 | sudo apt upgrade |
10092
679df6285434
Adapted the ChromeOS Readme file to the current situation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10031
diff
changeset
|
13 | sudo apt install libxkbfile1 libxcb-cursor0 libopengl0 python3-pip python3-venv |
8477
81e25fe19818
Updated the documentation contained in the 'docs' folder.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
14 | |
81e25fe19818
Updated the documentation contained in the 'docs' folder.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
15 | Step 3: modify environment to make Qt not use Wayland |
8570
65ec02bfa9d2
Updated the ChromeOS readme file.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
8477
diff
changeset
|
16 | |
8738
6fd8f3f775b3
Little change to the ChromeOS Readme file.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
8570
diff
changeset
|
17 | As of ChromeOS 94 Qt6 is not yet compatible with the ChromeOS Wayland |
8477
81e25fe19818
Updated the documentation contained in the 'docs' folder.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
18 | implementation. In order to force Qt applications to use X11 modify |
81e25fe19818
Updated the documentation contained in the 'docs' folder.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
19 | the "cros-garcon-override.conf" file. |
81e25fe19818
Updated the documentation contained in the 'docs' folder.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
20 | |
81e25fe19818
Updated the documentation contained in the 'docs' folder.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
21 | sudo vi /etc/systemd/user/cros-garcon.service.d/cros-garcon-override.conf |
81e25fe19818
Updated the documentation contained in the 'docs' folder.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
22 | |
81e25fe19818
Updated the documentation contained in the 'docs' folder.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
23 | and add the line |
81e25fe19818
Updated the documentation contained in the 'docs' folder.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
24 | |
81e25fe19818
Updated the documentation contained in the 'docs' folder.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
25 | Environment="QT_QPA_PLATFORM=xcb" |
81e25fe19818
Updated the documentation contained in the 'docs' folder.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
26 | |
8570
65ec02bfa9d2
Updated the ChromeOS readme file.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
8477
diff
changeset
|
27 | After this change was performed close all Linux windows, log out and log back |
65ec02bfa9d2
Updated the ChromeOS readme file.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
8477
diff
changeset
|
28 | in. This step is needed to restart the Linux VM and to make the above changes |
65ec02bfa9d2
Updated the ChromeOS readme file.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
8477
diff
changeset
|
29 | effective. |
65ec02bfa9d2
Updated the ChromeOS readme file.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
8477
diff
changeset
|
30 | |
10107
da76865312f1
Changed the included documentation to Markdown format and corrected some of the texts.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10092
diff
changeset
|
31 | __Note 1:__ This change seems to be not needed anymore on ChromeOS 102 with the |
9157
a6b0458fcb6b
Updated the ChromeOS related Readme.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
8738
diff
changeset
|
32 | Bullseye based Linux environment. |
a6b0458fcb6b
Updated the ChromeOS related Readme.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
8738
diff
changeset
|
33 | |
10107
da76865312f1
Changed the included documentation to Markdown format and corrected some of the texts.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10092
diff
changeset
|
34 | __Note 2:__ If eric crashes showing completion lists, this change should be |
9296
ccbbacc92b6e
Added another note to the ChromeOS readme file related to a workaround for eric crashing when showing a completion list on Wayland desktops.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9157
diff
changeset
|
35 | applied in order to switch to use X11. |
ccbbacc92b6e
Added another note to the ChromeOS readme file related to a workaround for eric crashing when showing a completion list on Wayland desktops.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9157
diff
changeset
|
36 | |
10107
da76865312f1
Changed the included documentation to Markdown format and corrected some of the texts.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10092
diff
changeset
|
37 | __Note 3:__ As of Qt 6.5.1 it is not compatible with Debian Bullseye in Wayland |
10092
679df6285434
Adapted the ChromeOS Readme file to the current situation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10031
diff
changeset
|
38 | mode. The above change needs to be implemented. |
679df6285434
Adapted the ChromeOS Readme file to the current situation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10031
diff
changeset
|
39 | |
10107
da76865312f1
Changed the included documentation to Markdown format and corrected some of the texts.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10092
diff
changeset
|
40 | ## 2. eric Installation |
8477
81e25fe19818
Updated the documentation contained in the 'docs' folder.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
41 | Installing eric7 is a simple process. There are various methods available. |
9353
8e0d418aefbc
Corrected some statements of the ChromeOS read-me file.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9296
diff
changeset
|
42 | Please choose the one best suited to your needs and skills. eric7 must be |
8e0d418aefbc
Corrected some statements of the ChromeOS read-me file.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9296
diff
changeset
|
43 | used with Python 3, Qt6 and PyQt6. |
8477
81e25fe19818
Updated the documentation contained in the 'docs' folder.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
44 | |
10107
da76865312f1
Changed the included documentation to Markdown format and corrected some of the texts.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10092
diff
changeset
|
45 | ### 2.1 Create a Python virtual environment for eric7 |
8477
81e25fe19818
Updated the documentation contained in the 'docs' folder.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
46 | It is recommended to install eric7 into a Python virtual environment in order |
81e25fe19818
Updated the documentation contained in the 'docs' folder.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
47 | to keep your Python distribution clean. In order to do that create it by |
81e25fe19818
Updated the documentation contained in the 'docs' folder.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
48 | entering the following command in the terminal window. |
81e25fe19818
Updated the documentation contained in the 'docs' folder.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
49 | |
81e25fe19818
Updated the documentation contained in the 'docs' folder.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
50 | python3 -m venv eric7_venv |
10031
6d4b46787f30
Updated the installation instructions in various README files to include the "--prefer-binary" option.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9353
diff
changeset
|
51 | ~/eric7_env/bin/python3 -m pip install --upgrade pip |
8477
81e25fe19818
Updated the documentation contained in the 'docs' folder.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
52 | |
10107
da76865312f1
Changed the included documentation to Markdown format and corrected some of the texts.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10092
diff
changeset
|
53 | Replace `eric7_venv` with the desired path to the directory for the virtual |
8477
81e25fe19818
Updated the documentation contained in the 'docs' folder.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
54 | environment. All further instructions will assume this environment name. |
81e25fe19818
Updated the documentation contained in the 'docs' folder.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
55 | |
10107
da76865312f1
Changed the included documentation to Markdown format and corrected some of the texts.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10092
diff
changeset
|
56 | ### 2.2 Installation via the Python Package Index PyPI |
8477
81e25fe19818
Updated the documentation contained in the 'docs' folder.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
57 | Enter the following command in the terminal window. |
81e25fe19818
Updated the documentation contained in the 'docs' folder.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
58 | |
10031
6d4b46787f30
Updated the installation instructions in various README files to include the "--prefer-binary" option.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
9353
diff
changeset
|
59 | ~/eric7_venv/bin/python3 -m pip install --upgrade --prefer-binary eric-ide |
8477
81e25fe19818
Updated the documentation contained in the 'docs' folder.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
60 | |
81e25fe19818
Updated the documentation contained in the 'docs' folder.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
61 | Once the installation is finished navigate to the executable directory of |
10107
da76865312f1
Changed the included documentation to Markdown format and corrected some of the texts.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10092
diff
changeset
|
62 | the Python virtual environment and execute the `eric7_post_install` script. |
8477
81e25fe19818
Updated the documentation contained in the 'docs' folder.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
63 | |
81e25fe19818
Updated the documentation contained in the 'docs' folder.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
64 | ~/eric7_venv/bin/eric7_post_install |
81e25fe19818
Updated the documentation contained in the 'docs' folder.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
65 | |
10107
da76865312f1
Changed the included documentation to Markdown format and corrected some of the texts.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10092
diff
changeset
|
66 | ### 2.3 Installation of Qt Tools via Qt online installer |
8477
81e25fe19818
Updated the documentation contained in the 'docs' folder.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
67 | In order to get the most out of eric7 it is recommended to install the Qt Tools |
10107
da76865312f1
Changed the included documentation to Markdown format and corrected some of the texts.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10092
diff
changeset
|
68 | like `Qt Designer` or `Qt Linguist`. The recommended way is this. |
8477
81e25fe19818
Updated the documentation contained in the 'docs' folder.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
69 | |
81e25fe19818
Updated the documentation contained in the 'docs' folder.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
70 | 1. Download the Qt online installer from the Qt download site. |
81e25fe19818
Updated the documentation contained in the 'docs' folder.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
71 | 2. Install Qt by executing the installer. |
10107
da76865312f1
Changed the included documentation to Markdown format and corrected some of the texts.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10092
diff
changeset
|
72 | 3. Configure the path to the Qt tools on the `Qt` configuration page of the |
8477
81e25fe19818
Updated the documentation contained in the 'docs' folder.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
73 | eric7 configuration dialog. |
81e25fe19818
Updated the documentation contained in the 'docs' folder.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
74 | |
10107
da76865312f1
Changed the included documentation to Markdown format and corrected some of the texts.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10092
diff
changeset
|
75 | ## 3. Install optional packages for eric7 (for plug-ins) |
8477
81e25fe19818
Updated the documentation contained in the 'docs' folder.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
76 | eric7 provides an extension mechanism via plug-ins. The plug-ins are |
81e25fe19818
Updated the documentation contained in the 'docs' folder.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
77 | available via the Plugin Repository dialog from within eric7. Some plugins |
10092
679df6285434
Adapted the ChromeOS Readme file to the current situation.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10031
diff
changeset
|
78 | require the installation of additional Python packages. This is done |
8477
81e25fe19818
Updated the documentation contained in the 'docs' folder.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
79 | automatically during the plugin installation. |