-
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
![Vintage Commodore Amiga A4000 - 4000/040 Read picture](/store/img/g/cxcAAOSwvnpmiDWu/s-l225/Vintage-Commodore-Amiga-A4000-4000-040-Read-.jpg)
Vintage Commodore Amiga A4000 - 4000/040 Read
$2900.00
![Amiga A1200 A600 Squirrel SCSI Interface Lot picture](/store/img/g/DtgAAOSwonJmiIKq/s-l225/Amiga-A1200-A600-Squirrel-SCSI-Interface-Lot.jpg)
Amiga A1200 A600 Squirrel SCSI Interface Lot
$350.00
![Mini External OLED AMIGA Gotek Floppy Drive Emulator For Amiga 500/500+/600/1200 picture](/store/img/g/n-IAAOSw4vBl~UU7/s-l225/Mini-External-OLED-AMIGA-Gotek-Floppy-Drive-Emulat.jpg)
Mini External OLED AMIGA Gotek Floppy Drive Emulator For Amiga 500/500+/600/1200
$35.83
![Master 3A-1 Commodore Amiga compatible 3.5](/store/img/g/e9IAAOSwpphmhfC~/s-l225/Master-3A-1-Commodore-Amiga-compatible-3-5-Floppy-.jpg)
Master 3A-1 Commodore Amiga compatible 3.5" Floppy Drive -SCSI external Untested
$68.00
![Amitrix SCSI-TV Adapter for Commodore CDTV w/Disk Drives picture](/store/img/g/xa0AAOSwO-VmiHk1/s-l225/Amitrix-SCSI-TV-Adapter-for-Commodore-CDTV-w-Disk-.jpg)
Amitrix SCSI-TV Adapter for Commodore CDTV w/Disk Drives
$275.00
![BlueSCSI V2 WiFi (Desktop) Modern Storage for Vintage Computers Latest Model picture](/store/img/g/GXUAAOSwWZRmPnHK/s-l225/BlueSCSI-V2-WiFi-Desktop-Modern-Storage-for-Vintag.jpg)
BlueSCSI V2 WiFi (Desktop) Modern Storage for Vintage Computers Latest Model
$53.50
![Amiga A3000 Computer *Untested* picture](/store/img/g/4D8AAOSwVcZmfVuZ/s-l225/Amiga-A3000-Computer-Untested-.jpg)
Amiga A3000 Computer *Untested*
$2000.00
![Amiga 1000 Kickstart v1.3, Workbench + Extras on DD 3.5](/store/img/g/RlMAAOSwz~Vjs502/s-l225/Amiga-1000-Kickstart-v1-3-Workbench-Extras-on-DD-3.jpg)
Amiga 1000 Kickstart v1.3, Workbench + Extras on DD 3.5" Floppy Disk Boot A1000
$18.99
![pi1541 Disk Emulator for Commodore - picture](/store/img/g/oBUAAOSwVpRe~PRt/s-l225/pi1541-Disk-Emulator-for-Commodore-Free-shipping.jpg)
pi1541 Disk Emulator for Commodore -
$38.95
![Bluster CPLD Amiga Buster replacement picture](/store/img/g/MkEAAOSwumNmfku2/s-l225/Bluster-CPLD-Amiga-Buster-replacement.jpg)
Bluster CPLD Amiga Buster replacement
$55.99