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

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

内容简介: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》,希望对大家有所帮助,如果大家有任何疑问请给我留言,小编会及时回复大家的。在此也非常感谢大家对 码农网 的支持!

查看所有标签

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

修改代码的艺术

修改代码的艺术

Michael Feathers / 刘未鹏 / 人民邮电出版社 / 2007-09-25 / 59.00元

我们都知道,即使是最训练有素的开发团队,也不能保证始终编写出清晰高效的代码。如果不积极地修改、挽救,随着时间流逝,所有软件都会不可避免地渐渐变得复杂、难以理解,最终腐化、变质。因此,理解并修改已经编写好的代码,是每一位程序员每天都要面对的工作,也是开发程序新特性的基础。然而,与开发新代码相比,修改代码更加令人生畏,而且长期以来缺乏文献和资料可供参考。 本书是继《重构》和《重构与模式》之后探讨......一起来看看 《修改代码的艺术》 这本书的介绍吧!

XML、JSON 在线转换
XML、JSON 在线转换

在线XML、JSON转换工具

html转js在线工具
html转js在线工具

html转js在线工具

正则表达式在线测试
正则表达式在线测试

正则表达式在线测试