-
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
New Precision DWDM SFP+ 10G 80km Tunable Transceiver 50GHz C-Temp DWDM-SFP10G-C
$90.00
SFP-10G-SR CISCO 10G SR SFP+ C-CLASS TRANSCEIVER 10 PACK
$99.00
Lot (10) Dell 0N8TDR 850nm SFP-10G-SR-85C 10Gbs sfp+ FTLX8574D3BNL-FC N8TDR NEW
$68.00
New Cisco w/ Green Hologram SFP-25G-SR-S 25G SFP28 SR 850nm 300m LC MMF Module
$64.39
ProLabs 10GBase-TX SFP+ RJ-45 Copper Transceiver Module P/N: SFP-10GBASE-T-C NEW
$34.99
Genuine Cisco SFP-10G-SR Transceiver Module (10-2415-03)
$5.85
CISCO SFP-10G-LR SFP TRANSCEIVER MODULE GBIC 10G 10GB SFP - 1 Year Warranty
$39.99
New Sealed Cisco GLC-LH-SMD 1000BASE-LX/LH SFP Transceiver Module *US Shipping*
$9.50
10 PCS Cisco GLC-LH-SMD 10-2625-01 1310nm SFP Transceiver Module
$85.00
CVR-QSFP-SFP10G Cisco 40G QSFP+ to 10G SFP+ Adapter Modules 74-9474-02 V01 V02
$74.99