I don’t want to be patronized and much less by a software vendor

栏目: IT技术 · 发布时间: 4年前

内容简介:So it happened again: I feel being patronized by a large SW vendor who forces me to automatically run his software on my system after each login. As an open source developer and advocate I hate if I don’t have control over these kind of things and no optio

So it happened again: I feel being patronized by a large SW vendor who forces me to automatically run his software on my system after each login. As an open source developer and advocate I hate if I don’t have control over these kind of things and no option to turn them off. Unix know-how to the rescue, though. Read on.

The members of a project I am currently working on to make a living are now widespread over the country due to the coronavirus pandemic. Project management has decided that the communication should happen over a product called skype. It’s not free and open, but hey, come on, I have to make some money somehow so that I can manage it with KMyMoney . Fortunately, I found out that there is a version for Linux and it even works quite well.

Nevertheless, I wondered why it starts after login without me doing anything. OK, this could be the default setting and I started the KDE system settings to turn it off. Not thinking about it further, I started and stopped skype for a few days until there was a kernel update and I had to reboot my system.

After login, I was surprised that skype started automatically. I thought, I had turned it off. Well, unmark that checkbox again in system settings and guess what: it returned without me doing anything except starting and using the application. That ~/.config/autostart/skypeforlinux.desktop file, which is responsible for the autostart, just re-appeared every time one starts skype manually.

Using the search engine of choice, I learned that this is a known problem and cannot be turned off with an option. This is the time, when patronization starts and I get angry.

Visiting a few web pages I learned that people have developed different methods to solve the issue:

  • auto start a shell script that immediately kills skypeforlinux
  • create a directory with the name of the desktop file to avoid creation of the file itself

and maybe some more I don’t remember. All in all, they are not really what I like on my system.

Next, I thought they will recreate the file only in case it does not exist. I changed X-GNOME-Autostart-enabled=true to X-GNOME-Autostart-enabled=false which should do the trick. Guess what: start skype, quit and the setting is back to true . Changing Exec=/usr/bin/skypeforlinux to Exec=/usr/bin/true had the same effect: none.

This is the moment in time when I really get angry and p….: I set options and someone else discards them. OK Microsoft, how about the next ace in my sleeve:

cd ~/.config/autostart
sed -i -e 's/^Exec=.*/Exec=\/usr\/bin\/true/' skypeforlinux.desktop
chmod 444 skypeforlinux.desktop

and that does it. And if you think you can override that in a future version, I will make root the owner of that file.

Oh, and the Microsoft Teams client for Linux does the same crap but the solution works the same way.

Enjoy login without Microsoft autostarts on Linux!

I don’t want to be patronized and much less by a software vendor


以上所述就是小编给大家介绍的《I don’t want to be patronized and much less by a software vendor》,希望对大家有所帮助,如果大家有任何疑问请给我留言,小编会及时回复大家的。在此也非常感谢大家对 码农网 的支持!

查看所有标签

猜你喜欢:

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

Oricle8i Web开发指南

Oricle8i Web开发指南

(美)Bradley D.Brown / 机械工业出版社 / 2001-6 / 78.00元

本书用实际通用的策略,阐明了怎样一起来看看 《Oricle8i Web开发指南》 这本书的介绍吧!

HTML 压缩/解压工具
HTML 压缩/解压工具

在线压缩/解压 HTML 代码

HTML 编码/解码
HTML 编码/解码

HTML 编码/解码

HEX HSV 转换工具
HEX HSV 转换工具

HEX HSV 互换工具