-
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.
-
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
-
Forum Rules
WD 500GB My Passport SSD, Portable External Solid State Drive WDBAGF5000ARD-WESN
$59.99
SanDisk 2TB Ultra 3D NAND SSD, Internal Solid State Drive - SDSSDH3-2T00-G26
$149.99
EMC (HUSMR3216ASS204) 1.6TB SSD SAS 12Gbps WISolid State Drive - 118000315-02
$149.99
SanDisk 2TB SSD PLUS M.2 NVMe PCIe Gen 3.0, Internal SSD - SDSSDA3N-2T00-G26
$119.99
Patriot P210 128GB 256GB 512GB 1TB 2TB 2.5" SATA 3 6GB/s Internal SSD PC/MAC Lot
$13.99
Netac 1TB 2TB 512GB Internal SSD 2.5'' SATA III 6Gb/s Solid State Drive lot
$12.59
Crucial - 500GB Internal SATA Solid State M2 Drives
$20.00
800GB SATA SSD SSDSC2BX800G4 Intel 2.5" Enterprise SSD Drive S3610 Series
$37.91
Fanxiang SSD 512GB 1TB 2TB 4TB 2.5'' SSD SATA III Internal Solid State Drive lot
$107.99
fanxiang 2TB 1TB 512GB SSD 2.5'' SATA III Internal Solid State Drive PC/MAC lot
$188.99