Script allowed to launch without sudo password works in console, but not in .desktop file

I have set in /etc/sudoers.d a script to be launched without sudo password. It works from bash, but it does not work if invoked from a .desktop file. Why?

Furthermore, this works with sudo, not with pkexec. It seems pkexec does not honor the sudoers rules. Is this a know bug or is intentional?

error: process launch failed: Security

When i run ionic cordova run ios --device -- I get the following error..

verbose(lldb) command script add -s asynchronous -f fruitstrap_828bb79436e53a8fe3e9d624710bf67bf3033f89.safequit_command safequit (lldb) connect (lldb) run error: process launch failed: Security (lldb) safequit

Application has not been launched

Command finished with error code 1: ios-deploy –justlaunch,–no-wifi,-d,-b,/Users/sysadmin/new/platforms/ios/build/device/MyApp.app ios-deploy: Command failed with exit code 1 Error: ios-deploy: Command failed with exit code 1 at ChildProcess.whenDone (/Users/sysadmin/new/node_modules/cordova-common/src/superspawn.js:135:23) at ChildProcess.emit (events.js:197:13) at maybeClose (internal/child_process.js:978:16) at Process.ChildProcess._handle.onexit (internal/child_process.js:265:5) [ERROR] An error occurred while running subprocess cordova.

    cordova run ios --device --verbose exited with exit code 1.      Re-running this command with the --verbose flag may provide more      information. 

ionic:utils-process onBeforeExit handler: process.exit received +0ms ionic:utils-process onBeforeExit handler: running 2 functions +0ms ionic:utils-process onBeforeExit handler: exiting (exit code 1) +43ms

How does Logitech Options software automatically launch from a mouse dongle?

I recently purchased a Logitech MX Master 2S mouse. I had no intention of installing the “options software” that came with the mouse. I simply desired a wireless mouse that wasn’t cheap and flimsy.

However, after immediately plugging in the wireless USB dongle, some manner of custom software was able to run without my consent, displaying the following window above all other windows:

Logitech Options software

There is no USB volume listed in File Explorer, and to my knowledge autorun from USB is disabled. I was also unable to find an obvious process listed in the Task Manager.

How did this process start? Additionally this seems like an ideal attack vector for Windows machines. Can anyone provide some insight as to how the USB dongle (with no volume) can do this?

Cannot launch Karabiner Elements

When I attempt to launch Karabiner Elements, it says the application cannot be launched.

In the past I was able to resolve it by downloading the installer again, and running it. I tried doing that but didn’t that this time, but it didn’t work.

When I attempt to delete the app in the Applications folder in finder, it says that the item is locked and can’t be deleted.

I can no longer see the UI of Karabiner elements, nor use my keyboard mappings.

How to query contact details for linked messaging apps profiles (Specially Telegram) and launch them with tasker?

Since the TouchlessChat app was deleted from the PlayStore I am trying to create a task that simulates the behavior of it.

Right now I am able to capture my message using voice and get the contact ID with AutoContacts. Now I need to do something like:

If Telegram Send Telgram Message Else If WhatsApp Send WhatsApp Message Else Send SMS 

But I am not able to get the Telegram info for it (AutoContacts has a WhatsApp Uri). My closest friends and family use Telegram so it is almost my first option.

Is there a way to query the contact details to get the correct Telegram URI or similar so I can launch the app with it?

What is the cause of cloud-init difference after ‘lxc launch …’ and lxc-create from the same image server?

A container created which lxd, by lxc launch … command is different from the one created by the ‘lxc-create -n u1’ command. The difference is that the former is cloud-init enabled (and has the package cloud-init installed), whereas the latter does not have cloud-init installed.

The difference is e.g. visible in the existence of /etc/netplan/50… yaml, versus /etc/netplan/10-lxc…yaml.

What is the cause of cloud-init difference after ‘lxc launch …’ and lxc-create from the same image server?

A container created which lxd, by lxc launch … command is different from the one created by the ‘lxc-create -n u1’ command. The difference is that the former is cloud-init enabled (and has the package cloud-init installed), whereas the latter does not have cloud-init installed.

The difference is e.g. visible in the existence of /etc/netplan/50… yaml, versus /etc/netplan/10-lxc…yaml.