Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.os.linux.misc > #26656
| Path | csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail |
|---|---|
| From | John-Paul Stewart <jpstewart@sympatico.ca> |
| Newsgroups | comp.os.linux.misc |
| Subject | Re: open text file on startup |
| Date | Mon, 15 Apr 2019 15:24:16 -0400 |
| Lines | 28 |
| Message-ID | <ghk430F9upsU2@mid.individual.net> (permalink) |
| References | <q92irm$dnu$1@reader2.panix.com> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=utf-8 |
| Content-Transfer-Encoding | 7bit |
| X-Trace | individual.net nz/8/8Zef7aZorV8P+aJmgxKohYbK58Oi8kvZTUmmMK/QfyxSv |
| Cancel-Lock | sha1:3mtlZBDZEdvX2VyHBRjnURQ/Mw4= |
| User-Agent | Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 |
| In-Reply-To | <q92irm$dnu$1@reader2.panix.com> |
| Content-Language | en-CA |
| Xref | csiph.com comp.os.linux.misc:26656 |
Show key headers only | View raw
On 2019-04-15 2:34 p.m., vjp2.at@at.BioStrategist.dot.dot.com wrote: > I want to put kedit todo.txt in the Debian/Quantian starup > > I tried putting it in /etc/bashrc but it didn't work Since kedit is a (KDE) GUI editor, and bashrc is only read when launching (bash) shells, that can't work. > I found somethings about rc.d and init.d??? Again, no, not for a GUI text editor. Those directories are for system-wide start-up scripts that run during the boot process and are for things such as background daemons and the login manager itself. What you need to do is look into how your desktop of choice handles start-up and session management and use those hooks to start kedit when you log in to the GUI. You certainly can't start kedit until the GUI is up, and you really don't want it running outside of a user account, so after GUI log in is the logical time to do it. Since you're using kedit, I'm guessing you're using KDE (which I don't use, so I can't offer any more specific instructions), so you might want to start by reading: https://docs.kde.org/stable5/en/kde-workspace/kcontrol/autostart/index.html Or other docs on KDE's autostart mechanism.
Back to comp.os.linux.misc | Previous | Next — Previous in thread | Find similar | Unroll thread
open text file on startup vjp2.at@at.BioStrategist.dot.dot.com - 2019-04-15 18:34 +0000 Re: open text file on startup John-Paul Stewart <jpstewart@sympatico.ca> - 2019-04-15 15:24 -0400
csiph-web