Author Topic: [SOLVED] KDE 4.6.5 always starts up with desktop 4 - which is not what I want  (Read 1038 times)

Offline peter_pclos

  • Full Member
  • ***
  • Posts: 156
Can anyone explain how to ensure that with multiple desktops set up in KDE 4.6.5 the desktop selected at start-up is Desktop 1 ?  My recent and fully updated install of PCLinuxOS with KDE 4.6.5  always starts up with Desktop 4, and I haven't been able to discover any viable way of overcoming this.  I've found one thread on the forum where it was suggested that desktops 2 - 4 should be deleted, and re-instated after a re-boot, but that didn't change anything. Nor did it help to set up 'resume session' as the start-up option in
System Administration>Startup and Shutdown>Session Management

I know this 'problem' is not the end of the world, but it can be very irritating!
« Last Edit: March 29, 2012, 11:27:14 AM by peter_pclos »

Offline pinoc

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2847
    • other projects...
Re: KDE 4.6.5 always starts up with desktop 4 - which is not what I want
« Reply #1 on: March 29, 2012, 04:11:04 AM »
1) search in Synaptic for the program wmctrl and install it.
2) as user create a new empty document called vdtstart.
3) copy the following into this new document, then save and exit.
Code: [Select]
#!/bin/sh
wmctrl -s 0
4) as user open a terminal and enter:
Code: [Select]
chmod a+x vdtstart; cp vdtstart ~/.kde4/Autostart/5) logout/login

should work,
-p.

Offline Just17

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 10667
  • MLUs Forever!
Re: KDE 4.6.5 always starts up with desktop 4 - which is not what I want
« Reply #2 on: March 29, 2012, 04:52:10 AM »
Thanks pinoc .....  the package was installed here.

I haven't had the problem lately, which makes me wonder if something else is using this or something similar by default?

MLUs rule the roost!

Linux XPS 3.4.38-pclos1.bfs  64 bit
Intel Core2 Quad CPU Q9450 @ 2.66GHz
4 GB RAM
MCP51 High Def Audio
GeForce GTX 550 Ti
PHILIPS  ‎DVD+-RW DVD8701
‎Logitech ‎BT Mini-Receiver
Afatech DTT

Offline tschommer

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1890
  • MLU and BLU (Bacon lovin' user)
Re: KDE 4.6.5 always starts up with desktop 4 - which is not what I want
« Reply #3 on: March 29, 2012, 05:33:03 AM »
I have this issue when I select "Different activity for each virtual desktop". As soon as I deactivate this option it starts with desktop 1 again.

No problem, just noticed this.

In any case - thanks for the tip, pinoc. Always good to know that a solution is available  ;)
Our defense is in the preservation of the spirit which prizes liberty as the heritage of all men, in all lands, everywhere."
Abraham Lincoln --September 11, 1858 Speech at Edwardsville, Illinois

Offline pinoc

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2847
    • other projects...
Re: KDE 4.6.5 always starts up with desktop 4 - which is not what I want
« Reply #4 on: March 29, 2012, 05:45:14 AM »
I have this issue when I select "Different activity for each virtual desktop". As soon as I deactivate this option it starts with desktop 1 again.

No problem, just noticed this.

In any case - thanks for the tip, pinoc. Always good to know that a solution is available  ;)

this solution is from the FullMonty. Took me some time to figure that out, then once you know it it is so easy... :P

Offline peter_pclos

  • Full Member
  • ***
  • Posts: 156
Re: KDE 4.6.5 always starts up with desktop 4 - which is not what I want
« Reply #5 on: March 29, 2012, 11:26:30 AM »
Thanks, Pinoc.  Your suggestion worked perfectly.  wmctrl was in fact already installed, but there was no copy of vdtstart.  Once that had been created following your syntax, and a log out/log in sequence followed, desktop 1 appeared as required.  So, irritation levels are reduced back to normal.

Offline pinoc

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2847
    • other projects...
Re: KDE 4.6.5 always starts up with desktop 4 - which is not what I want
« Reply #6 on: March 29, 2012, 11:30:00 AM »
Thanks, Pinoc.  Your suggestion worked perfectly.  wmctrl was in fact already installed, but there was no copy of vdtstart.  Once that had been created following your syntax, and a log out/log in sequence followed, desktop 1 appeared as required.  So, irritation levels are reduced back to normal.

vdtstart is my invention for FullMonty and is only available on FullMonty. Good to hear it works now.
regards,
-p.