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
  •  


ALLEN BRADLEY 281G-F12S-10B-RRG-CBG /C  AMORSTART MODULE 280G-FS-10-RG STK 2910 picture

ALLEN BRADLEY 281G-F12S-10B-RRG-CBG /C AMORSTART MODULE 280G-FS-10-RG STK 2910

$332.50



AMD Ryzen 9 5950X 16-core 32-thread Desktop Processor picture

AMD Ryzen 9 5950X 16-core 32-thread Desktop Processor

$319.99



Intel Core i9-12900KF - 12th Gen Alder Lake 16-Core (8P+8E) 3.2GHz LGA CPU picture

Intel Core i9-12900KF - 12th Gen Alder Lake 16-Core (8P+8E) 3.2GHz LGA CPU

$262.99



Intel Core i5-7600 3.8GHz Quad-Core Processor SR334 LGA1151 picture

Intel Core i5-7600 3.8GHz Quad-Core Processor SR334 LGA1151

$34.99



Intel Core i7-4790 3.60GHz Quad Core CPU Processor SR1QF LGA 1150 Socket picture

Intel Core i7-4790 3.60GHz Quad Core CPU Processor SR1QF LGA 1150 Socket

$32.99



Intel Xeon E5-2697A V4 2.6GHz CPU Processor 16-Core Socket LGA2011 SR2K1 picture

Intel Xeon E5-2697A V4 2.6GHz CPU Processor 16-Core Socket LGA2011 SR2K1

$39.99



Intel Core i5-7500 SR335 3.40GHz Socket 1151 Quad Core Desktop CPU Processor picture

Intel Core i5-7500 SR335 3.40GHz Socket 1151 Quad Core Desktop CPU Processor

$36.95



AMD Ryzen 5 5500 6-Core 3.6GHz Socket AM4 65W CPU Desktop Processor picture

AMD Ryzen 5 5500 6-Core 3.6GHz Socket AM4 65W CPU Desktop Processor

$93.98



Intel Core i7-7700 3.60GHz Quad-Core CPU picture

Intel Core i7-7700 3.60GHz Quad-Core CPU

$41.57



AMD RYZENTHPR5995WX Ryzen ThreadRipper - Pro 5975WX , Silver - 64-Core Processor picture

AMD RYZENTHPR5995WX Ryzen ThreadRipper - Pro 5975WX , Silver - 64-Core Processor

$311.00