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
  •  

Asus 1U 4 Bay LFF Server Intel Xeon 12 core 2.6Ghz 16GB Ram 4x 1GB NIC 500GB picture

Asus 1U 4 Bay LFF Server Intel Xeon 12 core 2.6Ghz 16GB Ram 4x 1GB NIC 500GB

$189.00



HPE ProLiant EC200a Mini Server, Xeon D1518 2.2GHz CPU picture

HPE ProLiant EC200a Mini Server, Xeon D1518 2.2GHz CPU

$199.00



Dell PowerEdge R720XD Server | 2x 2.6GHz 16 Cores | 64GB | H710 | 12TB Storage picture

Dell PowerEdge R720XD Server | 2x 2.6GHz 16 Cores | 64GB | H710 | 12TB Storage

$638.95



Dell PowerEdge R720 Server | 2x E5-2650 16 Cores | 64GB | H710 | 2x 3TB SAS picture

Dell PowerEdge R720 Server | 2x E5-2650 16 Cores | 64GB | H710 | 2x 3TB SAS

$486.95



Dell PowerEdge R820 Server|8SFF 8x2.5

Dell PowerEdge R820 Server|8SFF 8x2.5"|NO CPU|2x1+2x10 Gbps NIC|2x 1100W

$235.99



Dell PowerEdge R720xd 24bay,2 heatsinks, no proc, no ram, perc h710,1x1100w psu picture

Dell PowerEdge R720xd 24bay,2 heatsinks, no proc, no ram, perc h710,1x1100w psu

$175.00



HP ProLiant DL360p Gen8 12-Core 2x Intel E5-2630 32GB DDR3 8-Bay 2.5

HP ProLiant DL360p Gen8 12-Core 2x Intel E5-2630 32GB DDR3 8-Bay 2.5" No HDD

$149.99



HP Proliant DL380p G8 Server Xeon E5-2665 0 8 Core 2.4ghz 96GB 2x 300GB SAS picture

HP Proliant DL380p G8 Server Xeon E5-2665 0 8 Core 2.4ghz 96GB 2x 300GB SAS

$374.95



Dell PowerEdge R420 1U 2x Intel E5-2470 32GB DDR3 H310 8-Bay 2.5

Dell PowerEdge R420 1U 2x Intel E5-2470 32GB DDR3 H310 8-Bay 2.5" No Caddy HDD

$128.24



Dell PowerEdge T110 Intel Xeon Workstation Server 8GB RAM 500GB HD Windows 10 PC picture

Dell PowerEdge T110 Intel Xeon Workstation Server 8GB RAM 500GB HD Windows 10 PC

$175.95