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
  •  


HP 3000 Series 957 Mainframe picture

HP 3000 Series 957 Mainframe

$950.00



10pcs Vintage Mainframe Computer Punch Cards -  IBM 80-column card  picture

10pcs Vintage Mainframe Computer Punch Cards - IBM 80-column card

$3.95



IBM System 370 Model 138 Mainframe CPU Operator Control Panel System Rare picture

IBM System 370 Model 138 Mainframe CPU Operator Control Panel System Rare

$7400.00



Vintage Industrial Mainframe Computer  picture

Vintage Industrial Mainframe Computer

$3865.00



NEW ? Laser Magnetic Storage International Mainframe Tape Drive Machine picture

NEW ? Laser Magnetic Storage International Mainframe Tape Drive Machine

$2000.00



Commodore 64 C64C PAL Refurbished 1 Months Warranty  picture

Commodore 64 C64C PAL Refurbished 1 Months Warranty

$84.82



Vintage IBM MAIN FRAME COMPUTER IBM ES 9000 picture

Vintage IBM MAIN FRAME COMPUTER IBM ES 9000

$25000.00



Digital TGE16-AE DEC Computer Mainframe Server Data Reel to Reel Tape Drive DEC picture

Digital TGE16-AE DEC Computer Mainframe Server Data Reel to Reel Tape Drive DEC

$594.99



5x RARE LOGIC CIRCUIT BOARD MIR M2M Soviet Computer Mainframe PCB Assembly 1960s picture

5x RARE LOGIC CIRCUIT BOARD MIR M2M Soviet Computer Mainframe PCB Assembly 1960s

$31.34



Vintage Soviet Control Panel for Magnetic Tape Reel Russian EVM Mainframe USSR picture

Vintage Soviet Control Panel for Magnetic Tape Reel Russian EVM Mainframe USSR

$379.99