weston.ini cannot work

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

weston.ini cannot work

6,288 Views
wangtsungli
Contributor IV

Hi community,

I'm trying to change desktop on weston.

And I modify weston.ini which is located under .config folder.

Below is my weston.ini content.

[core]
xwayland=true
#idle-time=0
#backend=drm-backend.so

[shell]
type=desktop-shell.so
background-image=/usr/share/qt5/examples/quick/demos/rssnews/content/images/Technology.jpg
background-color=0x00000000

[screensaver] path=/usr/lib/weston/weston-screensaver
duration=600

[launcher]
icon=/usr/share/icons/Adwaita/24x24/apps/utilities-terminal-symbolic.symbolic.pn
path=/usr/bin/weston-terminal

[launcher]
icon=/usr/share/icons/Adwaita/24x24/apps/preferences-system-sharing-symbolic.sym
path=/usr/bin/producttestingtool_qt5 -platform wayland

As you can see, I add [shell] and try to use Technology.jpg to be my new desktop.

 

But after I reboot the system, desktop did not change.

It still the default desktop.

How can I change it?

Thanks in Advanced!

9 Replies

3,752 Views
gtulsira
Contributor I

I am facing same issue in kernel version 5.10.9, yocto project 3.2

My weston.ini is not updating

i am copying to /etc/xdg/weston/

Thanks

Abhishek

0 Kudos

4,588 Views
foxya
Contributor II

hello may i know where is the weston.ini ,i want to remove the top bar,but i can not find the file。。

0 Kudos

4,588 Views
hoanganh
Contributor III

try: /etc/xdg/weston/weston.ini

4,588 Views
foxya
Contributor II

thanks!

0 Kudos

4,588 Views
hoanganh
Contributor III

after modify weston.ini.

command: "systemctl restart weston"

reboot your system to apply

0 Kudos

4,588 Views
diegoadrian
NXP Employee
NXP Employee

Hello,

Which i.MX and BSP are you using?

Best Regard,

Diego.

0 Kudos

4,588 Views
wangtsungli
Contributor IV

Diego Adrian Cuevas 留言:

Hello,

 

Which i.MX and BSP are you using?

 

Best Regard,

Diego.

diegoadrian

Thanks for your reply.

I'm using freescale released Yocto Project 2.0 with kernel 4.1.15 QT5.4.

And I using DISTRO "fsl-imx-wayland".

Is there anything I need to mention?

0 Kudos

4,588 Views
diegoadrian
NXP Employee
NXP Employee

Hello,

I apologize for the delay.

Can you please try to put the weston.ini file in the root directory and try to see if that works?

Best Regards,

Diego

0 Kudos

2,342 Views
WolsYang
Contributor IV

Solved, just fix with

[shell]

backgroung-color=0xffff0000

===============

Hi @diegoadrian 

Same happend at

i.mx8qxp 5.15 fsl-imx-wayland

I add following change to weston.ini and nothing changed.

background-image=/home/root/driverExample/2022-07-26-170417.jpg
backgroung-color=0xffff0000
homescreen=/home/root/driverExample/2022-07-26-170417.jpg

[libinput]
touchscreen_calibrator=false


transform=rotate-90

Also I try put weston.ini to following path, but still not work.

/etc/xdg/weston/weston.ini

~/.config/weston.ini

~/weston.ini

 Any suggests?

0 Kudos