Tiny Core Linux

Tiny Core Extensions => TCE Talk => Topic started by: aus9 on July 11, 2018, 06:02:45 AM

Title: 9X weston config discussion
Post by: aus9 on July 11, 2018, 06:02:45 AM
Hi

just recently I was advised that Weston on Wayland can use a home config at .config/weston.ini
according to arch wiki and other online docs it can also be elsewhere

anyhow here is a screenshot of my third attempt
https://imgur.com/a/QuBNhxx

Code: [Select]
cat .config/weston.ini
Quote
[core]
xwayland=true

[xwayland]
path=/usr/local/bin/Xwayland

[keyboard]
keymap_layout=us

[shell]
num-workspaces=5
background-image=/home/tc/Pictures/wallpaper1.jpg

[launcher]
icon=/usr/local/share/icons/Adwaita/48x48/apps/utilities-terminal.png
path=/usr/local/bin/weston-terminal

[launcher]
icon=/usr/local/share/pixmaps/midori.png
path=/usr/local/bin/midori

[launcher]
icon=/usr/local/share/pixmaps/leafpad.png
path=/usr/local/bin/leafpad

[terminal]
font=DejaVuSansMono
font-size=20

have not got the wallpaper working at correct resolution but its OK

#################################################

keyboard shortcuts are worth knowing as per

https://wiki.archlinux.org/index.php/wayland

especially
CTRL + ALT + backspace to exit weston to console prompt

logo + k to kill current active app

and with those workspaces set
logo + Fn2 ...jumps to workspace 2

I do this because I like to have apps maxed...YMMV

(3) had some issues copy and pasting....from different workspaces...unlike X

#########################################################################

In  case its not obvious, I have also loaded xwayland  midori  leafpad and adwaita-icon-theme packages
Title: Re: 9X weston config discussion
Post by: Juanito on July 11, 2018, 11:05:23 AM
note that xwayland is not required unless you want to use a non-gtk3 app or something like firefox..
Title: Re: 9X weston config discussion
Post by: aus9 on July 11, 2018, 09:14:30 PM
ahh thanks for dropping by. umm I am not sure if TC apps are fltk based or not

I may have some exciting news? if in a terminal you run wbar with wbar loaded.......the TC software appears to run OK on weston.

I used exittc to exit to prompt instead of   Ctrl + Alt + backspace

edit
leafpad is gtk2
Title: Re: 9X weston config discussion
Post by: Juanito on July 12, 2018, 02:55:48 AM
The tc apps - apps, cpanel, etc - are fltk based.

These and wbar will most probably work with xwayland loaded, but not without it.
Title: Re: 9X weston config discussion
Post by: aus9 on September 03, 2018, 04:26:06 AM
I have one correction from above for

[launcher]
icon=/usr/local/share/icons/Adwaita/48x48/apps/utilities-terminal.png
path=/usr/local/bin/weston-terminal

that should read

Quote
[launcher]
icon=/usr/local/share/weston/terminal.png
path=/usr/local/bin/weston-terminal

as members may not have adwaita icon theme loaded

cheers