Author Topic: Startup desktop [Solved]  (Read 215 times)

Offline OleWilly

  • Hero Member
  • *****
  • Posts: 911
  • Nothing endures but change.
Startup desktop [Solved]
« on: February 09, 2013, 12:18:01 PM »
Hi

When I log in my computer always start with desktop 2. How to make that desktop 1 instead of desktop 2 ?
Using pcl kde distro from 2012 fully updated.

OW
« Last Edit: February 10, 2013, 11:40:36 AM by OleWilly »
Avoid the Gates of Hell. Use Linux.

Offline Just17

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 10613
  • MLUs Forever!
Re: Startup desktop
« Reply #1 on: February 09, 2013, 12:27:53 PM »
Create a file called  wmstart.sh   with the following contents

Code: [Select]
#!/bin/bash
# Start at first Desktop
wmctrl -s 0

Place the file in

~/.kde4/Autostart     

folder.

Make the file executable.  (EDIT)

That should do it.

« Last Edit: February 10, 2013, 09:51:02 AM by Just17 »
MLUs rule the roost!

Linux XPS 3.2.18-pclos2.pae.bfs  32 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 OleWilly

  • Hero Member
  • *****
  • Posts: 911
  • Nothing endures but change.
Re: Startup desktop
« Reply #2 on: February 10, 2013, 09:47:56 AM »
Hi Just17

Thank You for reply. - I made the file and placed it where it should be. I logged out and in but but still started in desktop 2.
Then I rebooted but the problem seemed to be worse. Because it took a very long time - several minutes - until the desktop
appeared. And still desktop2. What was very bad I could not start the programs at all - not even a terminal. Panic arose.
- I remembered that I have downloaded and burned the latest distro a couple of days ago. - So I installed the new distro
and I left my home partition untouched. Booted which also took several minutes until the desktop appeared - in desktop2.
Distress and panic! I still could not start programs. Then I remembered that I once made a live USB with pcl on it.
I booted the usb and could update it fully. Then I could remove wmctrl.sh. Furthermore I deleted some caches and other files.
Booted from the hd again, still on 2. I made the the wmctrl.sh again. Put it back. Booted still on2. - No good.
I have different wallpapers on 1 and 2. And still it takes a horrendously long time to boot. - I then introduced a test user and if I log in on this user boot time is normal and and everything ok. - So something must be wrong in my normal home I guess.

OW
Avoid the Gates of Hell. Use Linux.

Offline Just17

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 10613
  • MLUs Forever!
Re: Startup desktop
« Reply #3 on: February 10, 2013, 09:50:06 AM »
I forgot one thing ......  sorry ........  you need to make the file executable for the command to execute :(

That does not account for all the stuff you have written ....  only that the file did not execute.

MLUs rule the roost!

Linux XPS 3.2.18-pclos2.pae.bfs  32 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 OleWilly

  • Hero Member
  • *****
  • Posts: 911
  • Nothing endures but change.
Re: Startup desktop [Solved]
« Reply #4 on: February 10, 2013, 11:44:05 AM »
I forgot to make it executable ! Now it is ok. Thanks.

OW  :)
Avoid the Gates of Hell. Use Linux.