Posts

Showing posts with the label linux

Do not use anydesk application

Image
 I have recently installed anydesk on my Linux Mint Cinnamon Dell laptop. Two bad things happened: It installs itself as an autostart application which starts immediately when a session starts. That's considered bad behavior. I don't need it to autostart just to connect to other computers every few months. I couldn't find inside the application itself how to disable it had to get into my Cinnamon settings startup apps and disable it. Even worse than that:           2. I started getting weird behavior of Cinnamon. It happened that a new gnome-session was starting in the background causing me to lose the Cinnamon session while working. After running "apt purge anydesk" all problems were solved. That's looks like a bug or some other disturbing behavior. I recommend other software like teamviewer which does not include the malicious behavior above. I am not affiliated with any o...

Using locate, updatedb, mlocate and plocate on Linux with encrypted home directory

I love using " locate " command on Linux. Finding files in a blink of an eye. Combining with " updatedb " it works amazingly fast. I discovered that if your home directory is encrypted (or other directories are encrypted), by default locate command will not find anything in those directories. The better solution is to build a local indexed database of your files: updatedb -l 0 -o ~/.my_locate.db -U $HOME And then using this database to search for files: locate -d ~/.my_locate.db "part file name"    You may also want to edit: cat /etc/updatedb.conf And look at disregarded directories and filesystems: PRUNEPATHS, PRUNEFS  

Creating and adding to Linux file manager a right-click action using nemo_action

When using the file manager I like files to be sorted by date descending. Hence seeing the newest files and directories first on top and the ones I recently updated. The problem is when you have nested directories and you update a file in a sub directory. For example, consider this directory structure: - flights    +- Athens 2026-01          +- Hotels If I add or update something in the "Hotels" directory, the "Athens 2026-01" directory does not pop up because I updated a sub-dir. For this, I like the command " touch " in Linux. Touch allows me to change the timestamp of a file or a directory (and also creates new files and more). I wanted to add the option inside the GUI of Linux file manager to right-click and "touch" a directory or a file. I used nemo_actions (nemo actions) option to do so. Step 1: Open the Actions Directory Nemo looks for custom actions in a specific hidden folder.  Open your file manager (Nemo). Press Ctrl + H to show hidden...

Building an emulator machine for AAOS from a given images

Recently the company I am working with have started working on AAOS (Android Automotive Operating System) version of Google Android and the need to develop, test and deploy the our Android App to the SDV (Software Defined Vehicle) version of the OEM bare OS implantation of Android Automotive (please notice, not Android Auto which is something else). Here are a few installation procedures we followed since we needed to do in order to be able to run the AAOS machine in emulator on a Linux Ubuntu machine. You will need around extra 60GB on your HD Topics: 1. Download the machine image 2. Download and install Android-Studio 3. Create an empty project of Android Automotive and download the relevant SDKs 4. Open the downloaded machine to your Android/Sdk directory of system-images 5. Create a device from the new image 6. Run the machine (some problems with graphics / NVIDIA / Vulkan and GPU)   1. Download the machine image - Receive the machine from you OEM contact   2. Download and...