-
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
Dell PowerEdge R640 Server 2x Gold 6150 2.70Ghz 36-Core 256GB 2x 960GB SSD H730P
$1737.25
Dell R740XD 24SFF+4SFF 2.8Ghz 56-C 256GB H740P 10G SFP+ NIC 2x1100W 12x Trays
$4704.08
Dell R740XD 24SFF 12 NVMe 2.8Ghz 56-C 192GB H730P 2x10G+2x1G NIC 2x1100W Rails
$5040.07
Dell R740XD 24SFF+4SFF 2.2Ghz 20-C 768GB H740P 10G SFP+ NIC 2x1100W 12x Trays
$2730.08
INTEL XEON GOLD 6148 20 Core SR3B6 2.4GHZ 27.5MB Processor @24
$99.99
Intel Xeon Gold 6138 2.0GHz 27.5MB 20-Core 125W LGA3647 SR3B5
$46.00
Dell Precision 7820 x2 Xeon Silver 4110 32GB RAM 1TB SSD BTO Desktop *NO OS*
$269.00
Intel Xeon E5-2690V2 3.00GHz 10-Core (SR1A5) Processor CPU READ DESCRIPTION
$12.00
HP Workstation Z640 2x Xeon E5-2623V4 32GB Ram 512 SSD Quadro K420 Linux GA
$243.59
HP Z800 Workstation 2x Xeon X5675 3.06Ghz 12-Cores 96gb 256gb SSD 2Tb Win10
$269.99