![]() Registered Member ![]()
|
I have 3 desktops and when I start the system the desktop no. 2 is always shown. I would like to have the desktop 1 to be the "default" one. How do I do this?
openSUSE 13.2, KDE 4.14.2
Arch Linux, KDE 4.14.7 |
![]() ![]()
|
You can't. The virtual desktop isn't stored in particular, but "only" the entire session.
You can either - restore the last session - restore a specific (previously saved) session - start w/ a blank session run "kcmshell4 smserver" for configuration. I assume you're restoring the last session and the last active window was on desktop #2 when you exited? Anyway, if you install "wmctrl" you can set up an autostart action that calls "sleep 5; wmctrl -s 0" snip -- ~/.kde/share/autostart/setvd1.desktop (maybe ~/.kde4/...)
|
![]() Registered Member ![]()
|
This also happens when I have nothing in desktop 2 :/
I tried your suggestion and logged off and logged back but still the second desktop is shown. Btw can you please explain in more detail what setvd1.desktop and "wmctrl -s 0" is about?
openSUSE 13.2, KDE 4.14.2
Arch Linux, KDE 4.14.7 |
![]() ![]()
|
That's pretty weird. Could be some application. DropBox and Firefox have a record in this regard.
wmctrl is a CLI tool that talks to the window manager. "wmctrl -s" sets the desktop, "0" being the first one. The idea is to have an autostarting service that waits a short time after login (5s) and the sets the virtual desktop to "0" |
![]() Registered Member ![]()
|
This issue remained even after setting to start with empty session at KDE start. I was able to fix this with the approach mentioned here: viewtopic.php?f=111&t=119987
openSUSE 13.2, KDE 4.14.2
Arch Linux, KDE 4.14.7 |
![]() Registered Member ![]()
|
You should be able to set this up by editing your
Any of those files is a possible session that my display manager can choose. Which one is controlled by the
That assumes that you have a
I Am Still Learning About KDE
|
![]() Registered Member ![]()
|
@hermantowawan thanks for the answer. But I was referring to the virtual desktops in KDE not to desktop session:)
openSUSE 13.2, KDE 4.14.2
Arch Linux, KDE 4.14.7 |
Registered users: Bing [Bot], Google [Bot], Sogou [Bot]