LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Tags used in this thread
Popular LQ Tags , , , ,

Reply
 
Thread Tools
Old 07-12-2009, 07:47 AM   #1
catkin
Senior Member
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Slackware 13.0
Posts: 1,853
Blog Entries: 6
Thanked: 226
Faster gnome session startup by delayed programs start


[Log in to get rid of this advertisement]
Hello

[Was posted in the Desktop forum but no replies after 6 days]

For faster Gnome session startup, I'm trying to start non-essential applications after allowing interaction with the Desktop.

Some success by System→Preferences→Sessions→"Startup Programs" and deselecting them all except for GnomeStartupProgramsDelayed.sh:
Code:
#! /bin/bash
# Quick and dirty proof of concept to start programs at Gnome session startup with a delay
sleep 60; /usr/bin/wallpaper-tray &
sleep 10; /usr/bin/gkrellm &
Issues arising from this are:
  1. After Gnome session startup displays an empty desktop, there is what seems like an excessive delay before it draws the background and populates it with icons. How can I find out what is happening during this time? I've enabled debug in /etc/gdm/gdm.conf but AFAIK this only logs up to "DEBUG: Running /etc/gdm/Xsession default for c on :0" so stops at just the point I want!
  2. When gkrellm starts it grabs focus. Possible to stop this? I guess that's a GKrellM issue, not gdm.
  3. In System→Preferences→Sessions→"Current Session", listed programs include GnomeStartupProgramsDelayed.sh but ps does not list it so it has exited. WallpaperTray is also listed but when it is made to exit it disappears from the list. How to tell gdm to drop a program from the list when it exits or before?
The most relevant information found so far is at:
I'm stumped for now and suspect many people would use the technique if it could be made tidy and robust, so all suggestions welcomed.

Best

Charles
catkin is offline  
Tag This Post , , , ,
Reply With Quote

Reply

Bookmarks


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Faster gnome session startup by delayed programs start catkin Linux - Desktop 0 07-07-2009 09:44 PM
Session Startup for KDE & Gnome Problem (fixed!) linuxStudent11 Fedora 0 06-15-2007 11:38 AM
Remove programs from Gnome session properties FraQture Linux - Newbie 1 10-18-2005 02:43 AM
Start programs at startup and get rid of current saved session Shwiing Linux - Software 2 08-04-2005 02:14 AM
Gnome session startup config cam2004 Linux - General 0 04-16-2005 01:27 PM


All times are GMT -5. The time now is 03:09 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration