Reply to topic

Solved: System Settings inserts /home/user_name in login

User avatar blue_bullet
Registered Member
Posts
27
Karma
0
OS
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:
Code: Select all
System:    Host: lectra Kernel: 4.15.0-45-generic x86_64 bits: 64 Desktop: KDE Plasma 5.14.5
           Distro: KDE neon User Edition 5.14
Machine:   Device: laptop System: ASUSTeK product: GL552VW v: 1.0 serial: N/A
           Mobo: ASUSTeK model: GL552VW v: 1.0 serial: N/A
           UEFI: American Megatrends v: GL552VW.300 date: 09/06/2016
Battery    BAT0: charge: 42.2 Wh 98.6% condition: 42.8/48.2 Wh (89%)
           hidpp__0: charge: N/A condition: NA/NA Wh
CPU:       Quad core Intel Core i7-6700HQ (-MT-MCP-) cache: 6144 KB
           clock speeds: max: 3500 MHz 1: 800 MHz 2: 800 MHz 3: 802 MHz 4: 801 MHz 5: 800 MHz 6: 806 MHz
           7: 800 MHz 8: 828 MHz
Graphics:  Card-1: Intel HD Graphics 530
           Card-2: NVIDIA GM107M [GeForce GTX 960M]
           Display Server: x11 (X.Org 1.19.6 ) drivers: modesetting,nvidia (unloaded: fbdev,vesa,nouveau)
           Resolution: 1920x1080@60.01hz
           OpenGL: renderer: GeForce GTX 960M/PCIe/SSE2 version: 4.6.0 NVIDIA 390.77
Audio:     Card Intel Sunrise Point-H HD Audio driver: snd_hda_intel Sound: ALSA v: k4.15.0-45-generic
Network:   Card-1: Intel Wireless 7265 driver: iwlwifi
           IF: wlp2s0 state: up mac: 7c:b0:c2:fa:56:36
           Card-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller driver: r8169
           IF: enp3s0f1 state: down mac: 70:4d:7b:37:e9:de
Drives:    HDD Total Size: 1256.3GB (9.7% used)
           ID-1: /dev/nvme0n1 model: SAMSUNG_MZVPV256HDGL size: 256.1GB
           ID-2: /dev/sda model: HGST_HTS721010A9 size: 1000.2GB
Partition: ID-1: / size: 55G used: 8.6G (17%) fs: ext4 dev: /dev/nvme0n1p6
           ID-2: /home size: 128G used: 51G (42%) fs: ext4 dev: /dev/sda4
           ID-3: swap-1 size: 16.00GB used: 0.00GB (0%) fs: swap dev: /dev/sda2
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: 56.5C mobo: N/A gpu: 49C
           Fan Speeds (in rpm): cpu: 1400
Info:      Processes: 365 Uptime: 2:44 Memory: 8523.0/32066.5MB Client: Shell (bash) inxi: 2.3.56


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 5.15
User avatar blue_bullet
Registered Member
Posts
27
Karma
0
OS
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 5.15

 
Reply to topic

Bookmarks



Who is online

Registered users: availakis, Baidu [Spider], Bing [Bot], cosaldivar, Exabot [Bot], Google [Bot], jvapr27, Penguinclaw, thunder422, Yahoo [Bot]