[Welcome Center] [Bug 466282] RFE: Add a live environment mode so Plasma Welcome is useful on live media

2023-02-23 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=466282

--- Comment #8 from Nate Graham  ---
Yeah, sounds like we'll need to do that.

Now onto the question of what it should display in live user mode. I guess we
should have a custom page with a brief welcome to the distro as well as plasma,
with a button to launch the installer, alongside a button to see the normal
pages for a tour of Plasma. The app that the button launches would be
controlled by a desktop file, which could also be specified in the config file
(or that could be a CMake option, and then it would be unused outside of the
live environment mode).

-- 
You are receiving this mail because:
You are watching all bug changes.

[Welcome Center] [Bug 466282] RFE: Add a live environment mode so Plasma Welcome is useful on live media

2023-02-23 Thread Bug Janitor Service
https://bugs.kde.org/show_bug.cgi?id=466282

Bug Janitor Service  changed:

   What|Removed |Added

 Status|REPORTED|ASSIGNED
 Ever confirmed|0   |1

--- Comment #7 from Bug Janitor Service  ---
A possibly relevant merge request was started @
https://invent.kde.org/plasma/plasma-welcome/-/merge_requests/65

-- 
You are receiving this mail because:
You are watching all bug changes.

[Welcome Center] [Bug 466282] RFE: Add a live environment mode so Plasma Welcome is useful on live media

2023-02-23 Thread Oliver Beard
https://bugs.kde.org/show_bug.cgi?id=466282

--- Comment #6 from Oliver Beard  ---
(In reply to Adam Williamson from comment #5)
> No, that can't work. It has to be something that can be poked by a script
> during startup, basically - some kind of config file entry, magic file,
> something like that.

Config would work! It could be a simple key in plasma-welcomerc, like
LiveUser=true that causes the autostart helper to use a different mode.

-- 
You are receiving this mail because:
You are watching all bug changes.

[Welcome Center] [Bug 466282] RFE: Add a live environment mode so Plasma Welcome is useful on live media

2023-02-23 Thread Adam Williamson
https://bugs.kde.org/show_bug.cgi?id=466282

--- Comment #5 from Adam Williamson  ---
No, that can't work. It has to be something that can be poked by a script
during startup, basically - some kind of config file entry, magic file,
something like that.

-- 
You are receiving this mail because:
You are watching all bug changes.

[Welcome Center] [Bug 466282] RFE: Add a live environment mode so Plasma Welcome is useful on live media

2023-02-23 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=466282

--- Comment #4 from Nate Graham  ---
If compiling the app differently in the live environment is okay, we could add
a CMake flag you can compile it with that will cause the autostart helper to
launch the app in live user mode, rather than welcome mode.

-- 
You are receiving this mail because:
You are watching all bug changes.

[Welcome Center] [Bug 466282] RFE: Add a live environment mode so Plasma Welcome is useful on live media

2023-02-23 Thread Oliver Beard
https://bugs.kde.org/show_bug.cgi?id=466282

--- Comment #3 from Oliver Beard  ---
(In reply to Adam Williamson from comment #2)
> It may be the case that we need to do something similar for Plasma -
> upstream just needs to allow some sort of mechanism here (give the welcome
> tour a "live mode" or whatever), and we do the actual customization to make
> it kick in downstream.

It's possible for the live user that you could disable the autostart KDED
service (added in 6.0 or git master), and launch the welcome app with a custom
argument. We could also add a different welcome page for live environments. To
show the installer, a distro page could be added in the live environment. Some
thought to more customising the order of these pages could help.

-- 
You are receiving this mail because:
You are watching all bug changes.

[Welcome Center] [Bug 466282] RFE: Add a live environment mode so Plasma Welcome is useful on live media

2023-02-23 Thread Adam Williamson
https://bugs.kde.org/show_bug.cgi?id=466282

--- Comment #2 from Adam Williamson  ---
well, there may not be a good cross-distro way to do it :/ AFAIK, live boot is
implemented differently on different distros, so there isn't just one reliable
indicator. Fedora's live environment user is called 'liveuser', but I doubt
it's the same on other distros.

for GNOME, we do this customization
[downstream](https://pagure.io/livesys-scripts/blob/main/f/libexec/livesys/sessions.d/livesys-gnome)
- specifically, lines 58-61 disable the upstream GNOME welcome tour, and lines
51-56 enable the custom welcome screen we show on live boots instead.

It may be the case that we need to do something similar for Plasma - upstream
just needs to allow some sort of mechanism here (give the welcome tour a "live
mode" or whatever), and we do the actual customization to make it kick in
downstream.

-- 
You are receiving this mail because:
You are watching all bug changes.

[Welcome Center] [Bug 466282] RFE: Add a live environment mode so Plasma Welcome is useful on live media

2023-02-23 Thread Oliver Beard
https://bugs.kde.org/show_bug.cgi?id=466282

Oliver Beard  changed:

   What|Removed |Added

 CC||olib...@outlook.com

--- Comment #1 from Oliver Beard  ---
We can adjust the pages that appear on a live environment. I'm wondering how it
would be best to detect, in the autostart helper, that the application is
inside of a live environment. Perhaps username?

-- 
You are receiving this mail because:
You are watching all bug changes.

[Welcome Center] [Bug 466282] RFE: Add a live environment mode so Plasma Welcome is useful on live media

2023-02-22 Thread Neal Gompa
https://bugs.kde.org/show_bug.cgi?id=466282

Neal Gompa  changed:

   What|Removed |Added

 CC||ad...@happyassassin.net,
   ||kpa...@redhat.com

-- 
You are receiving this mail because:
You are watching all bug changes.