How to change default delay for CtrlAltDelete-initiated auto-logout

When I hit CtrlAltDelete on OpenSuse 13.1, I see a dialog:

  • Logout
  • Turn off Computer
  • Restart Computer
    with a countdown starting from 30 seconds.

I want to customize this delay. Ideally, I’d like to disable it entirely so that CtrlAltDelete simply brings up the dialog, but nothing happens until I click one of the choices. I’m aware that I can disable the CtrlAltDelete binding entirely in “Global Keyboard Shortcuts,” but that’s not what I want. I still want it to raise the dialog.

Think you need to mention the desktop since that is were the dialog comes from

You cannot configure that, the 30s are hard-coded into the theme.

It’s only possible to set the default action and to disable the confirmation dialog altogether in “Configure Desktop”->“Startup and Shutdown”->“Session Management”.

It is possible to modify the default logout dialog theme though (it’s written in QML), this contains the timeout as well.
Change the following lines in /usr/share/kde4/apps/ksmserver/themes/default/main.qml accordingly:
line #52:

    property int automaticallyDoSeconds: 30

line #191:

                automaticallyDoSeconds = 30

To prevent your changes from being overwritten by updates, you could also copy the /usr/share/kde4/apps/ksmserver/themes folder to ~/.kde4/share/apps/ksmserver/ (create that if it doesn’t exist) and make your changes there.
At least I think that should work as well (it will only affect the particular user though of course), I haven’t tried it.

Of course you could also change that file to not show the countdown at all, but that would be more complicated.


Actually it’s not complicated at all. Just remove or comment out line #182:


The timer will still be shown then but it will not count down.
You could remove the text as well, but I think you can experiment with that yourself… :wink:

Thanks, got it working now.

Probebly, but I never changed it from the default.

As there is no default desktop, that does not provide much information.
How difficult is it to explain which desktop you use?

It seems that you have your solution now and that you are satisfied. But that solution is of not much value to others who want the same thing when it does not mention the desktop.

I direct your attention to this article from which I quote:

As for the release itself, openSUSE 13.1 features the KDE 4.11 Plasma Desktop as its default desktop. If you like, openSUSE also natively supports GNOME 3.10. It also comes with xfce, LXDE and Enlightenment as desktop choices. Personally, I prefer the elegant dark green look of openSUSE KDE.

Clearly, as opposed to your claim, OpenSUSE does indeed have a default desktop.

You realt think that when you have found an article somewhere on the internet that says so

  • we all have to know that that article exists;
  • that article will provide the truth without doubt.

You better cite an openSUSE article fom an openSUSE web site to support your idea about a default desktop.

Not really where did you get that quote and the current version is 13.2. KDE is the first in the list but it is not really a default. And it does make a difference which one is used. Many people use a Live DVD/USB to install and those only have one desktop. In that case it could be the gnome or some other entirely depending on what you used to install. So there is no way we can know which you use unless you tell us. There is NO “default” desktop

On 2015-08-10 22:06, CountBakula wrote:

> Clearly, as opposed to your claim, OpenSUSE does indeed have a default
> desktop.

No. Intentionally, openSUSE does not have a default desktop. This is a
thoroughly discussed official policy. You can find the discussion in the
mail list, and the resulting decision.

The article you posted is not an openSUSE source.

Cheers / Saludos,

Carlos E. R.
(from 13.1 x86_64 “Bottle” at Telcontar)

I posted my OpenSUSE version, which was 13.1. Therefore it wouldn’t make sense to make claims or refer to anything in 13.2. I’m well aware that 13.2 is the current version.

The source of the quote is in the link I provided right above the quote. I did search for official 13.1 links but they’re gone - the only official links I found referred to 13.2. If you’re going to criticize someone else, you may want to make sure you read the original article yourself.

Here’s a direct quote from the OpenSUSE website:

Plasma Desktop from KDE is the default workspace on openSUSE.
I can provide numerous other cites, but no doubt they’d be rejected because they aren’t “official”. I’m thinking that someone that doesn’t understand what “default” means is likely a troll.

Here’s another quote from The Register, specifically referring to OpenSUSE 13.1:

OpenSUSE gives every desktop equal footing. True, KDE is checked by default, but GNOME, Xfce, LXDE and even a plain text-based interface for server installations are all there, just a radio button away.

Well, let’s finish this useless discussion, please.

Yes you are right: if you install from the DVD, KDE is selected by default.
And that hasn’t changed at all meither in 13.2 nor Tumbleweed.

There was only a short period (I think in one or two 10.x releases) where no desktop was preselected at all in the installer (you had to explicitely choose one), that was because some GNOME people complained about KDE being the default back then.
A few releases later this was changed back to KDE being pre-selected again.

But it still would have been a good idea to mention your desktop.

Nobody can know whether you just accepted the default or clicked on another one. Or you also could have just installed another one later and use that now.
And as has been said, you could also have installed using the GNOME LiveCD, which does install GNOME obviously, without any possible selection by the user.