blue-systems / neon-pinebook-remix

Todos for Neon Pinebook Remix
3 stars 0 forks source link

FF: preload app window comes up upon start #11

Closed llelectronics closed 6 years ago

llelectronics commented 6 years ago

Firefox preloading as seen in here: https://github.com/netrunner-pinebook/netrunner-pinebook-firefox-preload

The sleep in the script needs checking. It is not very elegant and maybe needs raising in the short term (for the starbuck demo image) until a proper other fix is available.

jriddell commented 6 years ago

added to package-list, will be in next image https://github.com/blue-systems/pangea-tooling/commit/b6109fa8a473aea730b6d7652ff5850ea3ab6f8f

shadeslayer commented 6 years ago

This won't work for you unless you've setup the correct env var for XDG_CONFIG_DIRS

jriddell commented 6 years ago

added to neon-settings-pinebook

jriddell commented 6 years ago

it's all in place but I don't think it's loading, I think XDG_CONFIG_DIRS is set to the wrong place

star-buck commented 6 years ago

@llelectronics : can you have a look?

llelectronics commented 6 years ago

You need to set XDG_CONFIG_DIRS to track the folder we use default-settings according to this here: https://github.com/ds9-common/default-settings-xsession/blob/master/etc/X11/Xsession.d/10-default-settings-xdg if you want to use our packaging directly. or ship the autostart desktop file in whatever default folder you use for your plasma 5 profile. The autostart desktop file maybe needs adjusting aswell to find the firefox-preload.sh file.

Of course you can also put the autostart desktop file it in /etc/xdg/autostart for global autostarting on every desktop no matter which. Though it needs adapting the reference to executing the firefox-preload.sh aswell then.

star-buck commented 6 years ago

@jriddell : can you fix this for next img?

jriddell commented 6 years ago

adding ksystraycmd5 now

llelectronics commented 6 years ago

Note also the updates by James from here: https://github.com/blue-systems/netrunner-pinebook/issues/18#issuecomment-355756166

So for the autostart the old kstart seems to work better. Maybe even without kstart at all. Though this needs testing.

jriddell commented 6 years ago

nci's job-updater broken on adding ksystraycmd5 job, sigh

star-buck commented 6 years ago

any chance to fix for next img? It is one of the key differentiators on slow machines like the pinebook.

jriddell commented 6 years ago

committed using kstart from kde-runtime due to same problems as netrunner dealing with https://packaging.neon.kde.org/neon/settings.git/commit/?id=aad56d90f76bf167c6999dd33598dbaccf44775b https://github.com/blue-systems/netrunner-pinebook/issues/18#issuecomment-355756166

star-buck commented 6 years ago

FF now preloads, but window comes up instead of staying in the background.

sebasje commented 6 years ago

Seems fixed with an increased timeout. Please confirm!

star-buck commented 6 years ago

seems fixed!