On Sun, Jun 30, 2024 at 5:10 PM Patrick O'Callaghan <pocallaghan@xxxxxxxxx> wrote:
On Sun, 2024-06-30 at 14:50 -0400, Neal Becker wrote:
> Let's ask chatgpt:
> In KDE, the `shutdownType` parameter in the `~/.config/ksmserverrc`
> file
> determines the action to be taken when the session ends. The possible
> values and their meanings are as follows:
>
> - `0`: Logout - This will log out the current user session.
> - `1`: Reboot - This will restart the computer.
> - `2`: Halt (or Shutdown) - This will shut down the computer.
>
> So, in your case, `shutdownType=2` means that the system is set to
> shut
> down when the session ends.
I'd love to know where ChatGPT found this information, given that it
appears to be wrong:
$ cat .config/ksmserverrc
[$Version]
update_info=ksmserver_update_loginMode_value.upd:ksmserver_update_loginMode_value_default_enum
[General]
confirmLogout=true
loginMode=restorePreviousLogout
offerShutdown=true
screenCount=1
shutdownType=0 <--------------********************
[LegacySession: saved at previous logout]
count=0
[LegacySession: saved by user]
count=0
[Session: saved at previous logout]
clientId1=1042726565000171948042800000051870003
count=1
program1=firefox
restartCommand1=/usr/bin/firefox,--sm-client-id,1042726565000171948042800000051870003
restartStyleHint1=0
userId1=poc
[Session: saved by user]
clientId1=1042726565000169805847800000024850011
count=1
program1=firefox
restartCommand1=/usr/bin/firefox,--sm-client-id,1042726565000169805847800000024850011
restartStyleHint1=0
userId1=poc
[SubSession: c3d198ad-6e44-4b9f-9ded-91191c9c6424]
count=0
Again, the preselected option in my case is Shutdown, not Logout.
poc
I asked perplexity.ai, which gives references to it's information. Here is the response:
It claims it was found on Manjaro forum (ref 4)
-- _______________________________________________ kde mailing list -- kde@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to kde-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/kde@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue