Results 1 to 3 of 3

Thread: Running a script at the start of session

  1. #1
    Join Date
    Dec 2009
    Beans
    2

    Running a script at the start of session

    Hello!
    I would like to know how to run a script after I start the session (Log-in).

    Why?
    I have a homework assignment where I need to customize LiveCD. One of customizations is that I need to create a folder on a Desktop named enoyhs. But from what I read, only way to do this is to run a script at the start of session which then creates a folder on a desktop.
    I imagine script would look like this:
    Code:
    mkdir ~/Desktop/enoyhs
    The sad part is I can't get it to work. I have tried many methods I found on this forum, but none of them seem to work.

    Thanks for your help in advance.

  2. #2
    Join Date
    Nov 2009
    Beans
    Hidden!
    Distro
    Kubuntu 10.10 Maverick Meerkat

    Re: Running a script at the start of session

    Hmm. Homework eh. Here's a hint: /etc/X11/Xsession.d

  3. #3
    Join Date
    Dec 2009
    Beans
    2

    Re: Running a script at the start of session

    Thanks!

    It worked

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •