-
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
$27.77
Asus B85M-E/CSM, LGA 1150 Intel Socket Motherboard
$39.99
ASRock B660M PRO RS LGA 1700 Intel SATA 6Gb/s DDR4 Micro ATX Motherboard
$94.99
ASUS H110M-C LGA 1151 DDR4 SDRAM MSIP-REM-MSQ-H110M-C Desktop Motherboard
$43.95
ASUS Motherboard H81M-C | No CPU
$30.00
ASUS Q87M-E/CSM Intel Q87 Chipset DDR3 mATX LGA1150 Motherboard Tested
$48.95
MSI A520M-A PRO AM4 AMD A520 USB3.2 Gen1 Micro-ATX Motherboard
$69.99
GIGABYTE MB10-Datto Motherboard Xeon D-1521- SR2DF 2.40 GHz- Open Box
$115.00
BTC-S37 Mining Motherboard Kit /w SSD & Ram Preinstalled
$59.99