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
  •  


Lenovo 500w Gen 3 Laptop, 11.6

Lenovo 500w Gen 3 Laptop, 11.6" IPS Glass, N6000, 8GB, 128GB SSD, Win 11 Home

$199.00



Lenovo ThinkPad E15, i5, 8GB RAM, 256GB SSD, No OS, 20RD005HUS picture

Lenovo ThinkPad E15, i5, 8GB RAM, 256GB SSD, No OS, 20RD005HUS

$180.00



Lenovo Notebook ThinkPad L13 Yoga Gen 3 Laptop, 13.3

Lenovo Notebook ThinkPad L13 Yoga Gen 3 Laptop, 13.3" IPS 60Hz, i7-1255U, 16GB

$607.99



Lenovo ThinkPad L15 Gen 1 15

Lenovo ThinkPad L15 Gen 1 15" Black 2020 FHD 1.6GHz i5-10210U 16GB 256GB Laptop

$169.95



Lenovo - Ideapad 3i 15.6

Lenovo - Ideapad 3i 15.6" FHD Touch Laptop - Core i5-1155G7 with 8GB Memory -...

$349.99



Lenovo Ideapad 1 15Amn7 15.6

Lenovo Ideapad 1 15Amn7 15.6" Laptop Ryzen 3 7320U 8GB 256GB SSD W11H-64

$199.99



Lenovo Ideapad 3 15IIL05 15.6

Lenovo Ideapad 3 15IIL05 15.6" Core I3-1005G1 1.2GHz 8GB 256GB SSD Win11

$99.95



~OVERSTOCK~ 15.6

~OVERSTOCK~ 15.6" Lenovo ThinkPad Laptop PC: 16GB of RAM 512GB SSD Win 11

$229.99



Lenovo Notebook ThinkPad L14 Gen 1 Laptop, 14

Lenovo Notebook ThinkPad L14 Gen 1 Laptop, 14" FHD IPS, Ryzen 5 PRO 4650U, 16GB

$332.00



Lenovo IdeaPad 5 16

Lenovo IdeaPad 5 16" (256GB SSD, Intel Core i5-1235U, 3.30GHz, 8GB RAM) Laptop -

$309.99