All Questions
9 questions
0
votes
1
answer
83
views
Why file content is not remain after unmount a drive in linux?
I wrote a script on bashrc.cmd from my windows 10 to activate my virtual environment automatically. I pointed the path of bashrc.cmd into AutoRun according to this post.
bashrc.cmd
@echo off
CD dev-...
1
vote
2
answers
1k
views
Reboot into USB stick on insert
I would like to be able to insert a USB drive that, on insert, would reboot the computer into an operating system housed on the USB drive. The OS would be Linux-based. I would also like this to be ...
2
votes
0
answers
934
views
udev rule to auto-execute script
I want to create a udev rule to execute when my headset gets plugged in. Therefore I followed this Tutorial, but my rule doesn't seem to work.
The output of
udevadm monitor --environment | fgrep ...
1
vote
2
answers
87
views
Need help trying to get a script to start on boot
Luke here! Although I've been using Linux as my main OS for quite a while, I'm still pretty much a noob when it comes to using it. Sorry.
I have a Raspberry Pi that I'm trying to set up with the ...
1
vote
1
answer
450
views
Setting keyboard shortcuts to launch program on startup/login in linux across WMs
What I want to achieve is having access to a couple of keyboard shortcuts (for an instance to launch the terminal), bound to my user.
Background
This is because we have a setup with a lot of ...
133
votes
9
answers
12k
views
What is the danger of inserting and browsing an untrusted USB drive?
Suppose someone wants me to copy some files to their USB stick. I'm running fully-patched Windows 7 x64 with AutoRun disabled (via Group Policy). I insert the USB drive, open it in Windows Explorer ...
3
votes
2
answers
4k
views
Udev rules failing to pass parameters
Linux newbie on Gentoo here. I am trying to write a udev rule that would run a Python script and pass some information whenever a usb device (specifically a usb modem) is inserted. I have:
...
20
votes
6
answers
44k
views
Using udev rules to run a script on USB insertion
I'm trying to set up a script to run every time I plug in a USB device. I created the file /etc/udev/rules.d/90-local.rules and added the following rule:
ACTION=="add", SUBSYSTEM=="usb", KERNEL=="sd*...
3
votes
2
answers
12k
views
Where is autorun in Linux(Ubuntu)?
I have the machine with Ubuntu desktop 7.something ... I want some server-like behavior without my participation. For example I have Azureus torrent-client there and I want it to start with the ...