-
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.
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_BLACK 1TB P40 Game Drive SSD, External Solid State Drive - WDBAWY0010BBK-WESN
$119.99
EMC (HUSMR3216ASS204) 1.6TB SSD SAS 12Gbps WISolid State Drive - 118000315-02
$134.99
SanDisk 2TB Ultra 3D NAND SSD, Internal Solid State Drive - SDSSDH3-2T00-G26
$117.99
WD_BLACK 1TB SN850X NVMe SSD, Internal Gaming Solid State Drive - WDS100T2X0E
$99.99
Patriot P210 128GB 256GB 512GB 1TB 2TB 2.5" SATA 3 6GB/s Internal SSD PC/MAC Lot
$19.99
Micron 5100 MAX 120GB SATA 6Gb/s 2.5" Internal SSD MTFDDAK120TCC Solid State
$9.99
Netac 1TB 2TB 512GB Internal SSD 2.5'' SATA III 6Gb/s Solid State Drive lot
$13.99
Intel DC S3510 Series 120GB SSD 2.5" 6Gb/s SATA Solid State Drive SSDSC2BB120G6K
$9.99
Fanxiang SSD 512GB 1TB 2TB 4TB 2.5'' SSD SATA III Internal Solid State Drive lot
$198.99
Fanxiang 4TB 2TB 1TB SSD 550MB/s 2.5'' SATA III Internal Solid State Drive lot
$209.99