Results 1 to 2 of 2

Thread: How do I use my own custom startup file that will run when X Window starts?

  1. #1

    How do I use my own custom startup file that will run when X Window starts?

    Summary

    I have Knoppix installed on my hard disc (distro 7.0.2, kernel release 3.3.7).

    How do I use my own custom startup file that will run when X Window starts?

    I've put an executable shell script in the directory /etc/X11/Xsession.d/ but
    the command inside it doesn't run.

    Please could you tell me what's wrong, and what I need to do? Thanks.

    Full Desccription

    When X Window starts, I'd like to use an X11 startup file to run the Kate
    editor so that a Kate window appears, containing the file I want to view. I've
    put a startup file in the directory /etc/X11/Xsession.d/ called "a90-custom"
    (named so that it runs last). It's a bash script (made executable) containing

    Code:
    #! /bin/bash
    kate --new /home/knoppix/text-file.txt &
    But after bootup, and after X Window starts, the Desktop appears but with
    no Kate window showing.

  2. #2
    Member registered user
    Join Date
    Dec 2006
    Posts
    44
    Try using you desktop's autostart feature to run the program after Knoppix logs in

Posting Permissions

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


Intel Xeon E5-2667 v2 8 Core 3.30GHz 8GT/s SR19W LGA 2011 B Grade CPU Processor picture

Intel Xeon E5-2667 v2 8 Core 3.30GHz 8GT/s SR19W LGA 2011 B Grade CPU Processor

$38.95



Intel Xeon CPU X5680 3.33GHz 12MB Cache Hexa Core Socket LGA1366 Processor SLBV5 picture

Intel Xeon CPU X5680 3.33GHz 12MB Cache Hexa Core Socket LGA1366 Processor SLBV5

$25.99



Dell Precision T3600 | Xeon E5-1650 3.2GHz | 16GB | GPU | 128GB SSD | Win 10 Pro picture

Dell Precision T3600 | Xeon E5-1650 3.2GHz | 16GB | GPU | 128GB SSD | Win 10 Pro

$179.99



Intel Xeon E5-2667 V2 SR19W 3.30GHz 8Cores 130W IvyBridge EP  25MB 130W LGA2011  picture

Intel Xeon E5-2667 V2 SR19W 3.30GHz 8Cores 130W IvyBridge EP 25MB 130W LGA2011

$39.00



Intel Xeon X5675 SLBYL 3.06GHz 6 Core LGA 1366 CPU Processor *km picture

Intel Xeon X5675 SLBYL 3.06GHz 6 Core LGA 1366 CPU Processor *km

$10.99



Intel Xeon X5690 Six Core 3.46GHz LGA1366 SLBVX Grade B CPU Processor picture

Intel Xeon X5690 Six Core 3.46GHz LGA1366 SLBVX Grade B CPU Processor

$37.95



Intel Xeon E5-2699 v3 18 Core 2.3 GHz 45MB SR1XD LGA 2011-3 B Grade CPU picture

Intel Xeon E5-2699 v3 18 Core 2.3 GHz 45MB SR1XD LGA 2011-3 B Grade CPU

$128.95



Intel Xeon X5690 3.46GHz Six Core 12M Processor Socket 1366  CPU SLBVX picture

Intel Xeon X5690 3.46GHz Six Core 12M Processor Socket 1366 CPU SLBVX

$45.00



Intel Xeon E5-2470 V2 2.4GHz 25MB 8GT/s SR19S LGA1356 CPU Processor picture

Intel Xeon E5-2470 V2 2.4GHz 25MB 8GT/s SR19S LGA1356 CPU Processor

$38.99



Matched Pair Intel Xeon X5690 3.46GHZ SLBVX 6Core 12MB LGA 1366 CPU Processors picture

Matched Pair Intel Xeon X5690 3.46GHZ SLBVX 6Core 12MB LGA 1366 CPU Processors

$97.78