Users as your primary group?

|
bryanpedini 2022-08-16 23:37:50
pontaoski 2022-08-16 23:37:34
go get a flatpak

never in my entire life I want to hear that, or Snap ever more

il_muflone 2022-08-16 23:37:57
bryanpedini 2022-08-16 23:36:35
anyway you can find the entire repo here @il_muflone
https://github.com/acran/teams-in-docker

Exec=/home/muflone/bin/teams %U

and the teams file contains the first 3 lines from your script
and my teams.log file has text into it

pontaoski 2022-08-16 23:38:09
bryanpedini 2022-08-16 23:37:50
never in my entire life I want to hear that, or Snap ever more

literally the same technology as docker but built for for desktop apps

bryanpedini 2022-08-16 23:39:45
pontaoski 2022-08-16 23:38:09
literally the same technology as docker but built for for desktop apps

yeah, with the caveats that you can’t *easily* add volumes, other networks, connect to it, execute shell commands inside, have a neat CLI interface where I can search “teams” in the application launcher and select the “quit” action and it will send that command inside the running container, you can’t decide what privilege to give and what not, you can’t set reservations or limitations on cpu cycles, memory, etc

pontaoski 2022-08-16 23:40:38
… you can do all of that with flatpak easily
bryanpedini 2022-08-16 23:40:41
you can be of your opinion that flatpak/snaps are great, I will stand by my opinion that I once tried to install a server in a snap, it was a nightmare to even only back it up, I discovered docker, I transitioned everything, I’m happy ever since
pontaoski 2022-08-16 23:41:31
it may be much easier to use the right screwdriver is all I’m saying
il_muflone 2022-08-16 23:41:33
well, actually the issue is not related to container but to the launcher which is not apparently launched
bryanpedini 2022-08-16 23:41:45
il_muflone 2022-08-16 23:37:57
Exec=/home/muflone/bin/teams %U

and the teams file contains the first 3 lines from your script
and my teams.log file has text into it

$ ls -lsh bin/teams
4.0K -rwxr-xr-x 1 bryanpedini bryanpedini 1006 Aug 16 22:26 bin/teams
same for you?

il_muflone 2022-08-16 23:42:11
bryanpedini 2022-08-16 23:41:45
$ ls -lsh bin/teams
4.0K -rwxr-xr-x 1 bryanpedini bryanpedini 1006 Aug 16 22:26 bin/teams
same for you?

I don’t have bryanpedini twice

bryanpedini 2022-08-16 23:42:27
il_muflone 2022-08-16 23:42:11
I don’t have bryanpedini twice

you only get to deal with one of myselves 😂

il_muflone 2022-08-16 23:42:48
$ LANG=C ls -lsh ~/bin
total 4.0K
4.0K -rwxr-xr-x 1 muflone users 98 Aug 16 22:36 teams
bryanpedini 2022-08-16 23:43:10
il_muflone 2022-08-16 23:42:48
$ LANG=C ls -lsh ~/bin
total 4.0K
4.0K -rwxr-xr-x 1 muflone users 98 Aug 16 22:36 teams

users as your primary group?

bryanpedini 2022-08-16 23:43:21
never heard of it
il_muflone 2022-08-16 23:43:21
sure
pontaoski 2022-08-16 23:43:42
pontaoski 2022-08-16 23:41:31
it may be much easier to use the right screwdriver is all I’m saying

like don’t let your religiousness on what technologies you like and don’t like get in the way of you actually being able to get stuff done

bryanpedini 2022-08-16 23:47:00
okay… I’m getting crazy…

now my teams only contains
#!/bin/bash
echo “teams running” >> ~/teams.log

and my .desktop only contains
[Desktop Entry]
Version=1.0
Type=Application
Name=Microsoft Teams – Preview
Exec=~/bin/teams %U
Terminal=false

and it STILL DOESN’T WORK!!!

bryanpedini 2022-08-16 23:47:20
(I backed up both of them before nuking everything)

and it still doesn’t work

il_muflone 2022-08-16 23:47:40
and you ask me why I don’t plasma, LOL
bryanpedini 2022-08-16 23:47:47
tho one thing I noticed is that the application launcher still have the icon and still have the quit action
il_muflone 2022-08-16 23:48:05
check if you have multiple desktop files with the same name
il_muflone 2022-08-16 23:48:33
or if your launcher has a way to get the desktop file path
bryanpedini 2022-08-16 23:48:36
may it be that I started this endless journey with Exec=teams %U, for the terminal teams was a valid command but maybe .bashrc isn’t evaluated by .desktop files so ~/bin isn’t in my PATH, and even after changing the .desktop file it just didn’t get updated and was still stuck on the old invalid command !?!?
pontaoski 2022-08-16 23:49:06
bryanpedini 2022-08-16 23:47:00
okay… I’m getting crazy…

now my teams only contains
#!/bin/bash
echo “teams running” >> ~/teams.log

and my .desktop only contains
[Desktop Entry]
Version=1.0
Type=Application
Name=Microsoft Teams – Preview
Exec=~/bin/teams %U
Terminal=false

and it STILL DOESN’T WORK!!!

you need to poke the cache

pontaoski 2022-08-16 23:49:20
normally package installations/updates and flatpak would do this for you
pontaoski 2022-08-16 23:49:33
or other GUI stuff
il_muflone 2022-08-16 23:49:34
bryanpedini 2022-08-16 23:48:36
may it be that I started this endless journey with Exec=teams %U, for the terminal teams was a valid command but maybe .bashrc isn’t evaluated by .desktop files so ~/bin isn’t in my PATH, and even after changing the .desktop file it just didn’t get updated and was still stuck on the old invalid command !?!?

use the full path, not ~ which doesn’t mean anything

pontaoski 2022-08-16 23:49:45
but you’re doing stuff by hand so uh, let me find the command
pontaoski 2022-08-16 23:49:48
kbuild tab complete
bryanpedini 2022-08-16 23:49:57
archlinuxgroup-607357.jpg
straight out of rightclick->properties inside the application launcher
bryanpedini 2022-08-16 23:50:12
rightfully .local/share/application/teams.desktop
pontaoski 2022-08-16 23:50:43
if you have kmenueditor there should be an option to edit graphically which will update all the caches for you
bryanpedini 2022-08-16 23:51:11
pontaoski 2022-08-16 23:50:43
if you have kmenueditor there should be an option to edit graphically which will update all the caches for you

“Edit Application” brings up the properties

bryanpedini 2022-08-16 23:51:59
archlinuxgroup-607361.jpg
this is the “Application” tab, the editor is basically baked in the properties it seems
il_muflone 2022-08-16 23:52:44
maybe it’s cached somehow
|