|
Registered Member
|
I have a rexx routine I like to run at login. A lady's voice tells me the date and time of login. I set up the command in
System Settings > Notifications > Event Source pull down > Plasma Workspace > login Under login I enter the command: rexx /home/rob/Dropbox/shared_rcss_complex/create_sound_file.rexx datetime loginndatetime ogg play press Apply when I check back again the system has changed my command to: /home/rob/rexx rexx /home/rob/Dropbox/shared_rcss_complex/create_sound_file.rexx datetime loginndatetime ogg play which cannot be executed as there is no rexx subdirectory under user rob. The first rexx command works fine in Konsole. Can someone suggest a way to get System Settings to leave my command alone? I am running KDE Neon 5.14 and am a refugee from Linux Mint 17.3/18.3 KDE where System Settings works just fine. In KDE Neon it wants to insert a path in front of my command. inxi -F:
Here's my screen in System Settings: [img]file:///home/rob/Pictures/Screenshot_20190203_150724.png[/img] Guess I don't know how to post a screen shot. I cannot find where the system settings are stored. Can anyone suggest a work around?
Last edited by blue_bullet on Sun Feb 03, 2019 11:22 pm, edited 1 time in total.
Migrated from Linux Mint 17.3/18.3 KDE to KDE neon User Edition.
|
|
Registered Member
|
Solved my own problem. I simply created a .sh file that calls the rexx routine to get the rexx command out of the picture.
/home/rob/Dropbox/shared_rcss_complex/create_sound_file.sh datetime loginndatetime ogg play $ cat /home/rob/Dropbox/shared_rcss_complex/create_sound_file.sh yields #!/bin/sh #echo "Creating login sound file..." #sleep 4s rexx $HOME/Dropbox/shared_rcss_complex/create_sound_file.rexx $1 $2 $3 $4 $5 $6 $7 $8 # link to code below is http://stackoverflow.com/questions/1853 ... ell-script # Getting the last argument passed to a shell script: #for last; do true; done #echo $last rob@lectra:~$
Migrated from Linux Mint 17.3/18.3 KDE to KDE neon User Edition.
|
Registered users: Bing [Bot], Google [Bot], Yahoo [Bot]