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
  •  


MITS ALTAIR 8800  Original Vintage Microcomputer picture

MITS ALTAIR 8800 Original Vintage Microcomputer

$6000.00



MITS Altair 8800 Computer Bamboo  Reproduction Arduino Tested Working Assembled  picture

MITS Altair 8800 Computer Bamboo Reproduction Arduino Tested Working Assembled

$649.99



MITS ALTAIR 8800 88-2SIO Reproduction Board picture

MITS ALTAIR 8800 88-2SIO Reproduction Board

$35.00



MITS ALTAIR 8800  Original Vintage Microcomputer  S-100   Buy It Now $5999 picture

MITS ALTAIR 8800 Original Vintage Microcomputer S-100 Buy It Now $5999

$5999.00



MITS ALTAIR 8800  Original Vintage Microcomputer with 14 boards - Buy It Now picture

MITS ALTAIR 8800 Original Vintage Microcomputer with 14 boards - Buy It Now

$9500.00



S-100 backplane motherboard bare PCB 9 slot (for Altair/IMSAI) picture

S-100 backplane motherboard bare PCB 9 slot (for Altair/IMSAI)

$30.00



Vintage 8085 Altair Board  picture

Vintage 8085 Altair Board

$85.95



Altair Model 202 picture

Altair Model 202

$22.50



Vintage Altair 8088 CPU Wire Wrapped S100 Card w Mon EPROM circuit board #T71 picture

Vintage Altair 8088 CPU Wire Wrapped S100 Card w Mon EPROM circuit board #T71

$99.00



HyperWorks 2020 Suite for PC (Tool For Engineering Design, Simulation) 50Gb picture

HyperWorks 2020 Suite for PC (Tool For Engineering Design, Simulation) 50Gb

$72.87