-
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
ASUS H110M-R Motherboard Intel 6th/7th Gen LGA1151 DDR4 Micro-ATX i/o shield
$42.00
***NEW*** BCM RX67Q Gaming Motherboard | Intel Q67 2nd/3rd Gen. | LGA1155 | DDR3
$29.77
Micro ATX Desktop Motherboard ASUS H110M-C LGA 1151
$31.95
Gigabyte AMD B550 UD AC Gaming Motherboard - AMD B550 Chipset - AM4 Socket - AMD
$89.99
ASUS Prime Z390-A LGA 1151 Intel Z390 SATA USB 3.1 ATX Motherboard NO I/O
$99.00
MSI B450M PRO-VDH MAX AM4 AMD B450 USB3.2 Micro-ATX Motherboard
$67.99
Asrock Z390 Phantom Gaming 4S/AC Wifi 8th/9th Gen Intel 1151 Motherboard Bulk
$47.55
Gigabyte Ultra Durable B550 GAMING X V2 Desktop Motherboard
$94.99
***NEW*** BCM RX67Q mATX Gaming Motherboard Combo | Intel i5-3470 | 16GB DDR3
$49.77
GIGABYTE MB10-Datto Motherboard Xeon D-1521- SR2DF 2.40 GHz- Open Box
$121.50