Bug 202588 - Make it possible to directly add a command, not just a script file
Summary: Make it possible to directly add a command, not just a script file
Status: ASSIGNED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_autostart (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR wishlist
Target Milestone: ---
Assignee: Laurent Montel
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-05 09:54 UTC by Diederik van der Boor
Modified: 2023-07-27 11:36 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Diederik van der Boor 2009-08-05 09:54:24 UTC
Version:           1.0 (using 4.2.98 (KDE 4.2.98 (KDE 4.3 RC3)) "release 150", KDE:KDE4:Factory:Desktop / openSUSE_11.0)
Compiler:          gcc
OS:                Linux (i686) release 2.6.25.20-0.4-default

When I was following the NVidia guide <http://techbase.kde.org/User:Lemma/KDE4-NVIDIA> it mentioned:

you have to put this command

nvidia-settings -a InitialPixmapPlacement=2 -a GlyphCache=1 &

in your autostart.

So I go to:
- system settings -> autostart
-> add command. oops.
-> add shell script..  oops.

So how to add it..? ;-)

- make a shell script:
#!/bin/sh
<command here>
- make it executable
- locate the shell script
- uncheck "make a symlink"
- remove the shell script.

While I got my command to work, I think this can be done easier. How about making it possible for users to directly a simple command to run at startup? 

Internally, this could become a shell script off course, with all specified commands concatented in a single script. Love to know what you guys think of this :)
Comment 1 Diederik van der Boor 2009-08-05 09:56:00 UTC
Corrections:
- directly a  ->  directly add a
- locate the shell script  -> locate the shell script in the autostart panel.
Comment 2 Philippe Cloutier 2014-09-29 01:36:05 UTC
Task Scheduler already offers that flexibility for scheduled tasks.
Comment 3 fire f. 2018-11-19 10:58:13 UTC
Would be nice to have in an improved custom-shortcut KCM.

enter a bash line to execute upon hotkey.
Comment 4 Bug Janitor Service 2023-07-27 11:36:49 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/3118