WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: 9X weston config discussion  (Read 195 times)

Offline aus9

  • Full Member
  • ***
  • Posts: 112
9X weston config discussion
« on: July 11, 2018, 03: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
« Last Edit: July 11, 2018, 03:18:46 AM by aus9 »
Good Luck

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 10103
Re: 9X weston config discussion
« Reply #1 on: July 11, 2018, 08:05:23 AM »
note that xwayland is not required unless you want to use a non-gtk3 app or something like firefox..

Offline aus9

  • Full Member
  • ***
  • Posts: 112
Re: 9X weston config discussion
« Reply #2 on: July 11, 2018, 06: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
« Last Edit: July 11, 2018, 06:30:17 PM by aus9 »
Good Luck

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 10103
Re: 9X weston config discussion
« Reply #3 on: July 11, 2018, 11:55:48 PM »
The tc apps - apps, cpanel, etc - are fltk based.

These and wbar will most probably work with xwayland loaded, but not without it.

Offline aus9

  • Full Member
  • ***
  • Posts: 112
Re: 9X weston config discussion
« Reply #4 on: September 03, 2018, 01: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
Good Luck