#Error on Auto-Start (KDE Plasma/Pop_OS)

12 messages · Page 1 of 1 (latest)

vapid sandal
#

Hello everyone, I get this error when I log in after adding deej-release to autostart in KDE Plasma. Anyone know how would go about resolving it? I have tried adding the config file the same way, and also just placing it in the directory folder the autostart uses. Any help would be greatly appreciated.

rich dust
vapid sandal
#

Hey, I believe so. Is this not correct?

rich dust
#

Yeah it looks right. Can you show the deej directory with the files as well as the config file's contents?

vapid sandal
rich dust
#

It all looks ok. What about permissions? Did you run the build script with sudo or another user?

vapid sandal
#

Looks like it is root

rich dust
#

Ah, delete the deej directory and install it again without sudo or root, that should fix it.
Take a look at my guide if you need.

vapid sandal
#

Okay, deleted the directory and installed using the below commands from your guide. It still won't autostart but it does work if I start it manually. Ownership and group are now my profile as expected.

1 - Go to your home directory
cd ~

3 - Download the Deej files from github. DO NOT USE SUDO HERE
git clone https://github.com/omriharel/deej.git

7 - Go to the deej directory (Should be in your home directory. example /home/chonky/deej)
cd ~/deej

10 - Open the config.yaml file
Edited with Kate to add COM Port

13 - Run the build script from the deej root directory
./pkg/deej/scripts/linux/build-release.sh

14 - Run Deej and enjoy!
./deej-release

Are there other parts that would be needed to install again? Most others seemed like dependencies and had sudo.

rich dust
#

You shouldn't need anything else for auto start to work.
I'm not familiar with pop os but I'd assume if it KDE it should work the same regardless of distro.
If you've setup auto start again and it's still not working you could launch it at startup with a cron job if you're familiar with that process.

vapid sandal
#

So I was able to get it to work by making a shell script and running that through the KDE autostart. I think it was an active directory issue when running the deej-release so I made this and it works:

cd ~/deej/
./deej-release > /dev/null 2>&1 &```
If you see any potential issues or improvements I'm open to try them as I'm fairly new to linux in general.