Unable to build sway for RPi4 with either .iso or github

.config/foot/foot.ini, from Arch wiki.

I know very little about sway much less about foot to diagnose. @rico1 from reading the file is not there by default and has to manually created. There is a sample file with all of the defaults (which are commented out) in /etc/xdg/foot/foot.ini.

Hi have basically run out of time.

Entered sway into login under oem on TTY2. There is functionality there. No mouse. Quite possibly foot.ini would supply some more.

Would you have expected the initial boot to be followed by a setup disalogue, or does one have to configure basic fields eg user, groups, kb etc manually?

Tks for all yr help so far.

R

yep, cp foot.ini to .config/foot.
try edit font size but did not work.

The setup will walk you through things then when done reboot.

.config/foot does not exist.

Read

https://wiki.archlinux.org/title/sway

and cannot see the reference. Can you be more explicit?

Tks
R

Do you mean

mkdir ~/.config/sway/foot

cp /etc/xdg/foot/foot.ini ~/.config/sway/foot/foot.ini ?

Or cp foot.ini from either of the matcha theme directories?

Or something else?

Tks R

from wiki, $HOME/.config/foot/foot.ini.

Yes.

It is the defaults for foot which are already active. In theory after you copy it over you uncomment what you want to change and give it another value but @Rip2 says it is not working right now.

either .config/foot/foot.ini or .config/sway/foot/foot.ini, not work.

woo, some went wrong, this img.
foot.ini did not read and firefox-i18n-xx didn’t either.

Hi all

This my last post before the end of the month

oem@manjaro-arm ξ‚°  ξ‚° sudo locate foot.ini
/etc/sway/themes/matcha-blue/foot.ini
/etc/sway/themes/matcha-green/foot.ini
/etc/xdg/foot/foot.ini
/usr/share/man/man5/foot.ini.5.gz

mkdir ~/.config/foot

cp /etc/xdg/foot/foot.ini ~/.config/foot/foot.ini

cd ~/.config/foot

ls -a
Unable to determine time zone: No such file or directory (os error 2)
Permissions Size User Date Modified Name
drwxr-xr-x - oem 16 May 5:23 ο„• .
drwxr-xr-x - oem 16 May 5:21 ο„• …
.rw-r–r-- 5.3k oem 16 May 5:23 ο…› foot.ini

cat foot.ini

───────┼────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
1 β”‚ # -- conf --
2 β”‚
3 β”‚ # shell=$SHELL (if set, otherwise user’s default shell from /etc/passwd)
4 β”‚ # term=foot (or xterm-256color if built with -Dterminfo=disabled)
5 β”‚ # login-shell=no
6 β”‚
7 β”‚ # app-id=foot
8 β”‚ # title=foot
9 β”‚ # locked-title=no
10 β”‚
11 β”‚ # font=monospace:size=8
12 β”‚ # font-bold=
13 β”‚ # font-italic=
14 β”‚ # font-bold-italic=<bold+italic variant of regular font>
15 β”‚ # font-size-adjustment=0.5
16 β”‚ # line-height=
17 β”‚ # letter-spacing=0
18 β”‚ # horizontal-letter-offset=0
19 β”‚ # vertical-letter-offset=0
20 β”‚ # underline-offset=
21 β”‚ # underline-thickness=
22 β”‚ # box-drawings-uses-font-glyphs=no
23 β”‚ # dpi-aware=auto
24 β”‚
25 β”‚ # initial-window-size-pixels=700x500 # Or,

initial-window-size-chars=

27 β”‚ # initial-window-mode=windowed
28 β”‚ # pad=0x0 # optionally append β€˜center’
29 β”‚ # resize-delay-ms=100
30 β”‚
31 β”‚ # notify=notify-send -a ${app-id} -i ${app-id} ${title} ${body}
32 β”‚
33 β”‚ # bold-text-in-bright=no
34 β”‚ # word-delimiters=,β”‚`|:β€œ'()[]{}<>
35 β”‚ # selection-target=primary
36 β”‚ # workers=
37 β”‚ # utempter=/usr/lib/utempter/utempter
38 β”‚
39 β”‚ [environment]
40 β”‚ # name=value
41 β”‚
42 β”‚ [bell]
43 β”‚ # urgent=no
44 β”‚ # notify=no
45 β”‚ # command=
46 β”‚ # command-focused=no
47 β”‚
48 β”‚ [scrollback]
49 β”‚ # lines=1000
50 β”‚ # multiplier=3.0
51 β”‚ # indicator-position=relative
52 β”‚ # indicator-format=”"

54 β”‚ [url]
55 β”‚ # launch=xdg-open ${url}
56 β”‚ # label-letters=sadfjklewcmpgh
57 β”‚ # osc8-underline=url-mode
58 β”‚ # protocols=http, https, ftp, ftps, file, gemini, gopher
59 β”‚ # uri-characters=abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-_.,~:;/?#@!$&%*+="'()[]
60 β”‚
61 β”‚ [cursor]
62 β”‚ # style=block
63 β”‚ # color=<inverse foreground/background>
64 β”‚ # blink=no
65 β”‚ # beam-thickness=1.5
66 β”‚ # underline-thickness=
:67 β”‚
68 β”‚ [mouse]
69 β”‚ # hide-when-typing=no
70 β”‚ # alternate-scroll-mode=yes
71 β”‚
72 β”‚ [colors]
73 β”‚ # alpha=1.0
74 β”‚ # background=002b36
75 β”‚ # foreground=839496
76 β”‚
77 β”‚ ## Normal/regular colors (color palette 0-7)
78 β”‚ # regular0=073642 # black
79 β”‚ # regular1=dc322f # red
80 β”‚ # regular2=859900 # green
81 β”‚ # regular3=b58900 # yellow
82 β”‚ # regular4=268bd2 # blue
83 β”‚ # regular5=d33682 # magenta
84 β”‚ # regular6=2aa198 # cyan
85 β”‚ # regular7=eee8d5 # white
86 β”‚
87 β”‚ ## Bright colors (color palette 8-15)

bright0=08404f # bright black

89 β”‚ # bright1=e35f5c # bright red
90 β”‚ # bright2=9fb700 # bright green
91 β”‚ # bright3=d9a400 # bright yellow
92 β”‚ # bright4=4ba1de # bright blue
93 β”‚ # bright5=dc619d # bright magenta
94 β”‚ # bright6=32c1b6 # bright cyan
95 β”‚ # bright7=ffffff # bright white
96 β”‚
97 β”‚ ## dimmed colors (see foot.ini(5) man page)
98 β”‚ # dim0=
99 β”‚ # …
100 β”‚ # dim7=
101 β”‚
102 β”‚ ## The remaining 256-color palette
103 β”‚ # 16 = <256-color palette #16>
104 β”‚ # …
105 β”‚ # 255 = <256-color palette #255>
106 β”‚
107 β”‚ ## Misc colors
108 β”‚ # selection-foreground=<inverse foreground/background>
:109 β”‚ # selection-background=<inverse foreground/background>
110 β”‚ # jump-labels= # black-on-yellow
111 β”‚ # scrollback-indicator= # black-on-bright-blue
112 β”‚ # search-box-no-match= # black-on-red
113 β”‚ # search-box-match= # black-on-yellow
114 β”‚ # urls=
115 β”‚
116 β”‚ [csd]
117 β”‚ # preferred=server
118 β”‚ # size=26
119 β”‚ # font=
120 β”‚ # color=
121 β”‚ # hide-when-typing=no
122 β”‚ # border-width=0
123 β”‚ # border-color=<csd.color>
124 β”‚ # button-width=26
125 β”‚ # button-color=
126 β”‚ # button-minimize-color=
127 β”‚ # button-maximize-color=
128 β”‚ # button-close-color=
129 β”‚
130 β”‚ [key-bindings]
131 β”‚ # scrollback-up-page=Shift+Page_Up
132 β”‚ # scrollback-up-half-page=none
133 β”‚ # scrollback-up-line=none
134 β”‚ # scrollback-down-page=Shift+Page_Down
135 β”‚ # scrollback-down-half-page=none
136 β”‚ # scrollback-down-line=none
137 β”‚ # clipboard-copy=Control+Shift+c XF86Copy
138 β”‚ # clipboard-paste=Control+Shift+v XF86Paste
139 β”‚ # primary-paste=Shift+Insert
140 β”‚ # search-start=Control+Shift+r
141 β”‚ # font-increase=Control+plus Control+equal Control+KP_Add
142 β”‚ # font-decrease=Control+minus Control+KP_Subtract
143 β”‚ # font-reset=Control+0 Control+KP_0
144 β”‚ # spawn-terminal=Control+Shift+n
145 β”‚ # minimize=none
146 β”‚ # maximize=none
147 β”‚ # fullscreen=none
148 β”‚ # pipe-visible=[sh -c β€œxurls | fuzzel | xargs -r firefox”] none
149 β”‚ # pipe-scrollback=[sh -c β€œxurls | fuzzel | xargs -r firefox”] none
150 β”‚ # pipe-selected=[xargs -r firefox] none
151 β”‚ # show-urls-launch=Control+Shift+u
:152 β”‚ # show-urls-copy=none
153 β”‚ # show-urls-persistent=none
154 β”‚ # prompt-prev=Control+Shift+z
155 β”‚ # prompt-next=Control+Shift+x
156 β”‚ # unicode-input=none
157 β”‚ # noop=none
158 β”‚
159 β”‚ [search-bindings]
160 β”‚ # cancel=Control+g Control+c Escape
161 β”‚ # commit=Return
162 β”‚ # find-prev=Control+r
163 β”‚ # find-next=Control+s
164 β”‚ # cursor-left=Left Control+b
165 β”‚ # cursor-left-word=Control+Left Mod1+b
166 β”‚ # cursor-right=Right Control+f
167 β”‚ # cursor-right-word=Control+Right Mod1+f
168 β”‚ # cursor-home=Home Control+a
169 β”‚ # cursor-end=End Control+e
170 β”‚ # delete-prev=BackSpace
171 β”‚ # delete-prev-word=Mod1+BackSpace Control+BackSpace
172 β”‚ # delete-next=Delete
173 β”‚ # delete-next-word=Mod1+d Control+Delete
: 174 β”‚ # extend-to-word-boundary=Control+w
175 β”‚ # extend-to-next-whitespace=Control+Shift+w
176 β”‚ # clipboard-paste=Control+v Control+Shift+v Control+y XF86Paste
177 β”‚ # primary-paste=Shift+Insert
178 β”‚ # unicode-input=none
179 β”‚
180 β”‚ [url-bindings]
181 β”‚ # cancel=Control+g Control+c Control+d Escape
182 β”‚ # toggle-url-visible=t
183 β”‚
184 β”‚ [text-bindings]
185 β”‚ # \x03=Mod4+c # Map Super+c β†’ Ctrl+c
186 β”‚
187 β”‚ [mouse-bindings]
188 β”‚ # selection-override-modifiers=Shift
189 β”‚ # primary-paste=BTN_MIDDLE
190 β”‚ # select-begin=BTN_LEFT
191 β”‚ # select-begin-block=Control+BTN_LEFT
192 β”‚ # select-extend=BTN_RIGHT
193 β”‚ # select-extend-character-wise=Control+BTN_RIGHT
194 β”‚ # select-word=BTN_LEFT-2
195 β”‚ # select-word-whitespace=Control+BTN_LEFT-2
196 β”‚ # select-row=BTN_LEFT-3
197 β”‚
198 β”‚ # vim: ft=dosini

sudo reboot

[NOTE had to copy/paste the file in chunks, all lines were there]

On reboot, edited ~/.config/foot/foot.ini and made some changes. But cannot get the terminal up with .

Time’s up here - good luck. I will be watching the post and may comment from time to time, but no access to pi for 10 days.

Best
R

Back from vacation. I got a config file from a Manjaro i3 image and loaded that into the originally downloaded Manjaro Sway image. I went back to that from the image kindly provided here, to see whether it would work.

It worked enough to get me started but am now having issues, which I can try to work through. Would like to mention three here.

1 Terminal starts with an error message that the default font is not monospace, and indeed the display is difficult to read.

I have tried amending the three foot.ini files I can find, one under xdg and the other two under the two matcha themes, but none of those files refer to the file in use in the terminal. Nor does ~/sway/config. I have tried using ripgrep to find the font name on the system, but / $ rg fails to complete and throws os errors (even in sudo). Where else might I look for the default terminal font?

2 The keyboard remains stuck on US English even though both the initial setup script (from i3) and the Manjaro-Settings keyboard settings are on UK English default. The pic in Manjaro-Settings is correct, but the key assignments do not change on save.

3 Cannot seem to assign apps to workspaces with shift-MOD-<workspace #>

Any help with any of these, or should I just use the new image?

Tks
R

Hi

I went back to the replacement image kindly provided, which seemed to have similar problems though this time it started with the initial configuration routine by itself. Odd that hadn’t happened before.

During initial configuration I selected autostart, but that wasn’t saved and I had to set it myself in the greetd configuration later. The keyboard configuration was not saved either and I had to set that also - see below. And the wifi autoconfigure using the drop-down from the swaybar did not work and I used that in Manjaro-Settings.

Re the problems previously noted:

1 I replaced the font in the theme/foot.ini with the NotoSansMono-Regular font from /usr/share/fonts and it worked.

2 Keyboard settings have been amended following this post

using β€˜gb’ for β€˜layout’

3 re putting apps in workspaces, I must have been doing something wrong - it works now.

Wayvnc

Now my final (hopefully) request is regarding wayvnc. This is installed (firstly with sudo pacman -Sy and then via pamac), but fails:

richardh@richard-rpi ξ‚°  ξ‚° wayvnc
wayvnc: symbol lookup error: wayvnc: undefined symbol: nvnc_set_cut_text_receive_fn

I have googled possible causes, but found nothing which helps. This is what is installed

richardh@richard-rpi ξ‚°  ξ‚° sudo locate wayvnc

/usr/bin/wayvnc
/usr/lib/systemd/user/wayvnc.service
/usr/share/licenses/wayvnc
/usr/share/licenses/wayvnc/COPYING
/usr/share/man/man1/wayvnc.1.gz

Googling wayvnc seems to indicate that the shell command should start it.

Nonetheless I tried

richardh@richard-rpi ξ‚°  ξ‚° sudo systemctl --user list-unit-files
Failed to connect to bus: No medium found
richardh@richard-rpi ξ‚°  ξ‚° sudo systemctl list-unit-files | grep vnc
 ξ‚° richardh@richard-rpi 
ξ‚° richardh@richard-rpi ξ‚°  ξ‚° sudo systemctl status wayvnc
Unit wayvnc.service could not be found.

Googling the error message suggests a mismatch between sway and wlroots as a possible cause of the undefined symbol error above, but the system is totally up to date. I have:

 ξ‚° richardh@richard-rpi ξ‚°  ξ‚° pacman -Q sway
sway 1:1.8.1-1
 ξ‚° richardh@richard-rpi ξ‚°  ξ‚° pacman -Q wlroots
wlroots 0.16.2-1
richardh@richard-rpi ξ‚°  ξ‚°

ξ‚° richardh@richard-rpi ξ‚° /var/cache/pacman/pkg ξ‚° pacman -Q wayvnc
wayvnc 0.5.0-1

The version in the AUR is 0.6.0-1 but this is not found by pamac, so I conclude it may not be available for ARM. I have added the AUR to pamac repositories but pamac still only finds v0.5.0-1.

The list of files in the AUR 0.6.0-1 package is much longer than seem to be included in the Manjaro 0.5.0-1 repository package.

Any advice on this error would be very helpful, as would an updated ARM package if that’s missing.

Re configuration, I have found the ARCH- and MANJARO-WIKI not to be much help. The most helpful I have found is

which gives information on how to set a basic configuration, but of course I have do be able to start it first … The directory ~/.config/wayvnc referred to in the above link is not present, so I can’t get to the config file it is supposed to contain.

Hoping to end the first rather uphill part of this journey soon. Any help appreciated.

Tks :slight_smile:

R

can not help, im move sway to hyprland.

If that means that sway seems not to be in a functional state, I’m inclined to agree and vote to bring back i3 to the downloads page.

R