itgui with "Error connecting to ITD" #68

Open
opened 2024-05-22 18:27:55 +00:00 by ambein · 1 comment

I am trying to set up desktop connection to infinitime on the pine watch.

[user_name]@node: /$ itgui

2024/05/22 11:00:49 Fyne error:  failed to read theme variant from D-Bus
2024/05/22 11:00:49   Cause: Name "org.freedesktop.portal.Desktop" does not exist
2024/05/22 11:00:49   At: /home/[user_name]/go/pkg/mod/fyne.io/fyne/v2@v2.3.0/app/app_xdg.go:51

Which also opens a tiny window, which reads:

Error
Error connecting to ITD
More Details
dial unix /tmp/itd/socket: connect: no such file or directory
Close

At the end of lure in itgui, not sure if these are problematic:

? Would you like to remove the build dependencies? Yes
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
  fonts-noto-cjk fonts-noto-cjk-extra fonts-noto-color-emoji fonts-noto-ui-extra fonts-noto-unhinted golang-1.15 golang-1.15-doc
  golang-1.15-go golang-1.15-src golang-src libwpe-1.0-1 libwpebackend-fdo-1.0-1
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
  go-bin
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 222 MB disk space will be freed.
(Reading database ... 343260 files and directories currently installed.)
Removing go-bin (1.22.3-1) ...
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'itgui-git' instead of '/home/[user_name]/.cache/lure/pkgs/itgui-git/itgui-git_276.e6b3649-1_amd64.deb'
[reading/unpacking/setting up/triggers...]
N: Download is performed unsandboxed as root as file '/home/[user_name]/.cache/lure/pkgs/itgui-git/itgui-git_276.e6b3649-1_amd64.deb' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)

By the way, go build ./cmd/itgui, does not work, it yields

cannot find package "." in:
	/bin/cmd/itgui

I am a novice user, so apologies if I overlooked something elementary (and haven't upgraded Debian 12).

System: Debian GNU/Linux 11 (bullseye)

I am trying to set up desktop connection to infinitime on the pine watch. `[user_name]@node: /$ itgui` ``` 2024/05/22 11:00:49 Fyne error: failed to read theme variant from D-Bus 2024/05/22 11:00:49 Cause: Name "org.freedesktop.portal.Desktop" does not exist 2024/05/22 11:00:49 At: /home/[user_name]/go/pkg/mod/fyne.io/fyne/v2@v2.3.0/app/app_xdg.go:51 ``` Which also opens a tiny window, which reads: > Error > Error connecting to ITD > More Details > dial unix /tmp/itd/socket: connect: no such file or directory > Close At the end of `lure in itgui`, not sure if these are problematic: ``` ? Would you like to remove the build dependencies? Yes Reading package lists... Done Building dependency tree... Done Reading state information... Done The following packages were automatically installed and are no longer required: fonts-noto-cjk fonts-noto-cjk-extra fonts-noto-color-emoji fonts-noto-ui-extra fonts-noto-unhinted golang-1.15 golang-1.15-doc golang-1.15-go golang-1.15-src golang-src libwpe-1.0-1 libwpebackend-fdo-1.0-1 Use 'sudo apt autoremove' to remove them. The following packages will be REMOVED: go-bin 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. After this operation, 222 MB disk space will be freed. (Reading database ... 343260 files and directories currently installed.) Removing go-bin (1.22.3-1) ... Reading package lists... Done Building dependency tree... Done Reading state information... Done Note, selecting 'itgui-git' instead of '/home/[user_name]/.cache/lure/pkgs/itgui-git/itgui-git_276.e6b3649-1_amd64.deb' [reading/unpacking/setting up/triggers...] N: Download is performed unsandboxed as root as file '/home/[user_name]/.cache/lure/pkgs/itgui-git/itgui-git_276.e6b3649-1_amd64.deb' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied) ``` By the way, `go build ./cmd/itgui`, does not work, it yields ``` cannot find package "." in: /bin/cmd/itgui ``` I am a novice user, so apologies if I overlooked something elementary (and haven't upgraded Debian 12). System: Debian GNU/Linux 11 (bullseye)
Owner

To run itgui, you have to already have itd running in the background. You'll need to install itd-git as well and then run systemctl --user enable --now itd, which should immediately connect to your PineTime and start up when your system boots. Once ITD is connected, itgui should work.

To run `itgui`, you have to already have `itd` running in the background. You'll need to install `itd-git` as well and then run `systemctl --user enable --now itd`, which should immediately connect to your PineTime and start up when your system boots. Once ITD is connected, `itgui` should work.
Sign in to join this conversation.
No description provided.