Page 2 of 3

Re: Permission on terminal from Launcher

Posted: Thu Apr 14, 2022 2:58 pm
by bobbee
Huckleberry Finn wrote: Thu Apr 14, 2022 2:51 pm Any difference bw. commands in Terminal? Say, one with sudo, one without ..

You can also put that command in "Session and Startup" - "App. Autostart tab" and see what happens if it starts automatically ..
I can run it in a normal terminal. Not with sudo, just with my regular access. and it all works good.
I hesitate to try it with sudo, because that could cause allot more problems if when applications start and write config files as root.

So currently, the access permissions are good to run everything as a normal non-root user.

I haven't fiddled with session start ups so I''m unfamiliar with it, but I could try.

Re: Permission on terminal from Launcher

Posted: Thu Apr 14, 2022 3:04 pm
by Huckleberry Finn
Yes, what you do is correct, go on with normal user.. I just wondered if there were any differences when using the command within the terminal...

Don't worry for the Autostart, it's almost the same: just click the + icon (on bottom-left corner) to add new , the rest is the same, as you already know.. You can try 1 boot then remove (just out of curiosity)..

Re: Permission on terminal from Launcher

Posted: Thu Apr 14, 2022 3:10 pm
by bobbee
So I opened the launcher and I opened a regular terminal with ctrl alt t and checked the terminal versions and they look identical xfce4-terminal and same version.

It's very strange that they would not work the same.

Re: Permission on terminal from Launcher

Posted: Thu Apr 14, 2022 3:20 pm
by Huckleberry Finn
What if you un-check "run in terminal" ? (Right-click - Properties - "Launcher" tab)

You can also (just to test) create a new user with "MX User Manager" , then login with that and try there.. (this is just for you said it was working via launcher previously.. so , there must be something else.. other than commands etc..)

Re: Permission on terminal from Launcher

Posted: Thu Apr 14, 2022 3:45 pm
by dolphin_oracle
I would like to see the actual error message when apps don't launch. I find it hard to believe there is a permission issue.

Re: Permission on terminal from Launcher

Posted: Thu Apr 14, 2022 3:54 pm
by bobbee
Huckleberry Finn wrote: Thu Apr 14, 2022 3:20 pm What if you un-check "run in terminal" ? (Right-click - Properties - "Launcher" tab)

You can also (just to test) create a new user with "MX User Manager" , then login with that and try there.. (this is just for you said it was working via launcher previously.. so , there must be something else.. other than commands etc..)
I knew before i tried it, that not launching in terminal would not run at all as it is a terminal ap. But I tried it anyway with the expected results.

That with trying creating a new user.. that I did too.
Anyway, after configuring,

Running it in terminal in the new acount gave the same results as running it from a launcher, but this time the terminal window dd not close.

Re: Permission on terminal from Launcher

Posted: Thu Apr 14, 2022 3:57 pm
by bobbee
dolphin_oracle wrote: Thu Apr 14, 2022 3:45 pm I would like to see the actual error message when apps don't launch. I find it hard to believe there is a permission issue.
I couldn't copy them before because the launcher would close the term automatically upon exit, but since I got the same results elsewhere, maybe I can past them here.

One minute will switch users and open a browser.

Re: Permission on terminal from Launcher

Posted: Thu Apr 14, 2022 4:04 pm
by bobbee
dolphin_oracle wrote: Thu Apr 14, 2022 3:45 pm I would like to see the actual error message when apps don't launch. I find it hard to believe there is a permission issue.

Code: Select all

oading URLs from /home/test/.newsboat/urls...done.
Loading articles from cache...done.
[ytdl_hook] /usr/bin/env: ‘python’: No such file or directory 
[ytdl_hook] youtube-dl failed: not found or not enough permissions 
Failed to recognize file format.


Exiting... (Errors when loading file)
[ytdl_hook] /usr/bin/env: ‘python’: No such file or directory 
[ytdl_hook] youtube-dl failed: not found or not enough permissions 
Failed to recognize file format.
I has these and some other errors with mpv and stuff.
In order to see them before, I did a screen recording that I could pause. It was still hard to read.
Maybe I'll do a screen cap of that and post that too.

Re: Permission on terminal from Launcher

Posted: Thu Apr 14, 2022 4:14 pm
by bobbee
dolphin_oracle wrote: Thu Apr 14, 2022 3:45 pm I would like to see the actual error message when apps don't launch. I find it hard to believe there is a permission issue.
Screen cap of the video capture
Image

Re: Permission on terminal from Launcher

Posted: Thu Apr 14, 2022 4:17 pm
by dolphin_oracle
do the mpv videos play?

it looks like the format of the strings being passed to start mpv are not valid.