... | ... | @@ -571,9 +571,9 @@ First, find an appropriate icon, edit it if desired, name it (e.g. modem.png), a |
|
|
|
|
|
Next, create the shortcut button in `.local/share/applications`, naming it e.g. `ModemInfo.desktop`. This will insert the icon/launcher into the home screen's app grid.
|
|
|
|
|
|
In the terminal, enter `mmcli -L` to retrieve the modem's single-digit identifier. In this example, the command returns `/org/freedesktop/ModemManager1/Modem/0 [QUALCOMM INCORPORATED] 0`, which indicates "0" as the identifier. We can now run `mmcli --modem=0` to manually retrieve the detailed modem and mobile network information.
|
|
|
In the terminal, enter `mmcli -L` to retrieve the modem's single-digit identifier. In this example, the command returns `/org/freedesktop/ModemManager1/Modem/0 [QUALCOMM INCORPORATED] 0`, which indicates "0" as the identifier. We can now run `mmcli --modem=0` to manually retrieve the detailed modem and mobile network information. (If there is only one modem installed, you can skip `mmcli -L` and change `mmcli --modem=0` to `mmcli --modem=m any`.)
|
|
|
|
|
|
Next, to enable the app screen launcher to run `mmcli --modem=0`, copy the following text into the `ModemInfo.desktop` file, which was created previously in `.local/share/applications`:
|
|
|
Next, to enable the app screen launcher to run `mmcli --modem=0` (or `mmcli --modem=m any`), copy the following text into the `ModemInfo.desktop` file, which was created previously in `.local/share/applications`:
|
|
|
|
|
|
[Desktop Entry]
|
|
|
Name=ModemInfo
|
... | ... | |