Tag Info

New answers tagged

1

The "How can I listen for 'usb device inserted' events in Linux, in Python?" question has a very short sample Python script using pyudev. That script can easily detect when a device is connected or disconnected, by monitoring the device-event from the usb subsystem. What's more, pyudev is pure-python implementation and is available on both Python 2 and ...


0

Can you do this to change the permissions of the drive to root only sudo chmod 700 /media/path/to/your/DVDRom Your mount point is in /media/DVDdrivenamehere This will make it requier root password and sudo chmod 777 /media/path/to/your/DVDRom Will allow full accsess againg To disable DVD auto-play open system settings and go to details On the left ...


-1

I've got stuck on the very same problem. I can't upgrade, remove etc. my system. Also no solution found on internet. So any help would be very appreciated. I've managed to unstuck from this situation using the method described here. It's not real solution for udev problem, but half-solution for your system (apt) to get working again.


0

If I had read correctly, I would have noticed the differences between the attributes of the device (KERNEL, SUBSYSTEM) and that of the parent device (KERNEL**S**, SUBSYSTEM**S**). Adding the 'S's in the rule worked! On the way, I also noticed that udev created a persistent symlink in /dev/serial/by-id/usb-*, through its rules in ...


1

SO, WHAT HELPED ME TO MAKE TRACKPOINT MORE SENSITIVE. the easies way is to do in terminal: $ xinput --list --short Then you will see something like this: omicron@omicron:~$ xinput --list --short ⎡ Virtual core pointer id=2 [master pointer (3)] ⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)] ⎜ ↳ ...


0

Solution is use multipress input method. In app is need to set multipress input method manually. If you want have multipress as default you need to create file /.xinputrc with content: GTK_IM_MODULE=multipress QT_IM_MODULE=multipress


0

In order to make the keyboard backlight function keys work on a Samsung Series 9 model NP900X4B with Ubuntu 14.04 (Trusty Tahr), run the following commands from a shell prompt: sudo setkeycodes e017 229 sudo setkeycodes e016 230 If these commands work for you, then you might want to put them in a init script. I have a file set-kbdillum-keycodes.conf in ...


1

IF=`cat /etc/udev/rules.d/70-persistent-net.rules | grep $var | sed 's/^.*NAME=//' | tr -d '"'` Short explanation This line of script is going to either save the text eth0 or eth1 into the variable IF. It all depends on what is inside the variable var. cat will display the contents of the file, grep will search and output the line that contains the text ...


1

First, there is a variable $var already defined in the script. We don't know what it is, but it is probably a MAC address. The script line outputs the contents of /etc/udev/rules.d/70-persistent-net.rules through the "pipe" mechanism to the grep command. The output of this is: just the lines that contain the value of $var. This is assumed to be one line ...



Top 50 recent answers are included