When I single click on a bookmark in Nautilus 3.26.4, it adheres to the pointer and gets dragged along. How can I fix this? This has happened to me on Ubuntu 16, 17, and 18.
Miladiouss's questions
I have installed a package using snap
and I need to modify one of the files but when I try to change its ownership or permissions, I always get the following message:
sudo chmod +x ./my_file.js
chmod: changing permissions of '/snap/my_app/my_file.js': Read-only file system
How can I modify files that are installed via snap
?
I would like to mute my laptop everytime its lid closes by running the following command:
amixer set Master mute
I found a similar question here asked more than 2 years ago which didn't work for me on Ubuntu 17.10. I also found this documentation called LaptopLidAndDockScripts for running general scripts when certain events happen,but it is a little cumbersome. Is there a quick way to add this feature?
I want to include the following PIN feature which can be used for authentication in Ubuntu 17.10 (both in a terminal session and during the login screen). Once an authentication string is entered, Ubuntu will check to see if it is "equal" to the encrypted password or to the encrypted PIN. It will authenticate. If not, the system will suspend the PIN feature until a successful authentication event has happened.
- Can I write a script that has access to entered authentication strings, at least during the login screen?
- Can I modify the existing Ubuntu scripts? If so, which ones?
- Can I use the underlying password encryption mechanism for my PIN? If not, how can I get started on writing an encryption algorithm to store and recover PINs and passwords?
My computer has two hard drives. Ubuntu is installed on the first drive and the second drive (i.e. /dev/sda1) will be used by many users to store data. What is a proper way to mount this drive? That is, how can I mount this drive so it would satisfy all the following criteria?
- The drive must be named "Drive2"
- It would appear under the main drive as indicated in the figure below (and if possible, not as a mounted drive on a folder in the root directory, e.g. /Drive2).
- All users would have access to it.
- Each user would get a folder with their username (there are more than 30 users, so I hope this can be done automatically).
The following is not a requirement and I don't know if it is possible. If it is, I am very curious to know how would one set up this drive for the following two separate cases:
- non-sudo and sudo users can only view their own content.
- sudo users can view everyone's content but non-sudo users can only view their own content.
To clarify, I am not just asking how to mount a drive, but I am also looking for insights for systematic and secure file management system for secondary or external hard drives.
Startup Disk Creator does not display multiple partitions on my flash drive. It only shows it as /dev/sdg. I had to use UNetbootin which shows both /dev/sdg1 and /dev/sdg2 as desired. Why is that so? Is it possible to fix this on Startup Disk Creator?