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 H81M-C Intel LGA1150 DDR3 Desktop Motherboard MicroATX Socket H3  picture

Asus H81M-C Intel LGA1150 DDR3 Desktop Motherboard MicroATX Socket H3

$30.99



ASRock Z87M Extreme4 Micro ATX Intel LGA1150 DDR3 eSATA HDMI Motherboard  picture

ASRock Z87M Extreme4 Micro ATX Intel LGA1150 DDR3 eSATA HDMI Motherboard

$69.95



ASRock LGA 1151 Wifi Intel B360 Intel Gen Micro ATX Motherboard p/n: B360M-OEM picture

ASRock LGA 1151 Wifi Intel B360 Intel Gen Micro ATX Motherboard p/n: B360M-OEM

$70.00



Machinist Motherboard LGA 2011 CPU Support DDR3 REG ECC RAM Intel Xeon M-ATX picture

Machinist Motherboard LGA 2011 CPU Support DDR3 REG ECC RAM Intel Xeon M-ATX

$86.58



B75 Desktop Motherboard LGA1155 DDR3 Memory (Intel 2nd and 3rd gen support) picture

B75 Desktop Motherboard LGA1155 DDR3 Memory (Intel 2nd and 3rd gen support)

$25.99



Foxconn H61MXE Intel H61 LGA1155 HDMI mATX DDR3 Motherboard + I/O Plate Tested picture

Foxconn H61MXE Intel H61 LGA1155 HDMI mATX DDR3 Motherboard + I/O Plate Tested

$34.95



Gigabyte Z77M-D3H-MVP Micro ATX Intel LGA1155 DDR3 HDMI Z77 Motherboard  picture

Gigabyte Z77M-D3H-MVP Micro ATX Intel LGA1155 DDR3 HDMI Z77 Motherboard

$61.95



ASRock Z370 PRO4/OEM LGA 1151 (300 Series) Intel Z370 SATA 6Gb/s ATX Intel Mothe picture

ASRock Z370 PRO4/OEM LGA 1151 (300 Series) Intel Z370 SATA 6Gb/s ATX Intel Mothe

$64.99



HP Z210 Workstation Desktop Motherboard LGA1155 DDR3 ATX 615943-001 614491-002 picture

HP Z210 Workstation Desktop Motherboard LGA1155 DDR3 ATX 615943-001 614491-002

$19.49



MSI - MAG Z690 TOMAHAWK WIFI DDR4 Socket 1700 USB 3.2 Intel Motherboard DAMAGED picture

MSI - MAG Z690 TOMAHAWK WIFI DDR4 Socket 1700 USB 3.2 Intel Motherboard DAMAGED

$69.99