(source: https://ubuntuforums.org/showthread.php?t=2382108, solution provided by clapac) 1. Create a new udev rule file: cd /etc/udev/rules.d/ sudo vim 100-iphone-usbmuxd.rules ( * the file name is formed by PRIORITY-whatever.rules, you can use 99-mynewrules.rules, for example) 2. Insert the following lines into the created rules file: ENV{DEVTYPE}==”usb_device”, ACTION==”add”, SUBSYSTEM==”usb”, ATTR{idVendor}==”05ac”, ATTR{idProduct}==”129[0-9abcef]”, RUN+=”/usr/sbin/usbmuxd -u -U usbmux”ENV{DEVTYPE}==”usb_device”, ACTION==”add”, SUBSYSTEM==”usb”, ATTR{idVendor}==”05ac”, […]
linux
Firefox ignores Thunar as default File Manager
Symptom: – Your default File Manager is e.g. Thunar but Firefox uses Nautilus when saving files which is driving you bananas. Solution (for XFCE): 1. Firstly make sure that your default Applilcation for that particular mime type (in this case it is the ‘inode/directory’ mime type) is actually setup properly. Open the “Preferred Applications” applet […]
No wireless (wlan0) on new Linux install
This issue looks very much like a bug to me: You start a brand new Linux installation You select wired Internet connection during install Your brand new Linux has no wireless connectivity (not even the drivers!) upon first boot. This is what I did to fix it (on my Toshiba satellite with Fedora 24 and […]
XWindow: How to find my window PID… (command line arguments/working directory)?
Summary: To find the PID of a running UNIX/XWindow process: $ xprop _NET_WM_PID If that fails: $ ps -ww -fp <PID> $ pwdx <PID> Detailed explanation: So How can you find the PID (not Window ID!) of a running UNIX/XWindow process? Method 1 (simple): $ xprop _NET_WM_PID … and then click on window of interest […]
Java on Linux: How to install and enable Oracle’s Java instead of OpenJDK
Many of the major Linux distributions come bundled with OpenJDK Java instead of the “standard” Sun Java or — since Sun Microsystems acquisition by Oracle in 2010 — Oracle Java. One such distro is Fedora, for example. Open JDK is ok in most cases but there are situations where you need to install the “real” […]
VLC visualisations can not be disabled
Some versions of VLC have this problem: once you enable visualisations it can not be disabled. Yes, there is a radion button in the menu in Audio –> Visualisations which can be set to “Disable” but to no effect – on next start of VLC it displays the visualizations plug-in screen again. Even if you’re […]
How to kill a stuck linux mount
How can you remove a mounted USB stick or USB HDD from the list of mounted devices? PROBLEM We have all done it – in a hurry you unplug a USB drive which was mounted in your Linux system without properly unmounting it and then it sits there in your list of mounts and you […]
How to resize multiple images in Linux
Use imagemagick – this is exactly what it was designed for! 🙂 For example: – to resize all .jpeg files in the current directory to be 320 pixels wide, preserving the aspect ration, do this:  $ convert ‘*.jpeg[320x]’ resized%03d.jpeg – to shrink all .jpg files in the current directory to be 200 pixels wide, at […]
Linux makefile assignment operators
This info copied from: https://vuanhduy.wordpress.com/2014/05/02/the-variants-of-gnu-makefile-assignment-operation/ The differences in =, :=, ?= and += when assigning a macro in Makefile. = operation If the variable does not have a value, the operation assign the value to it If the variable already had a value, it is replaced. This value will be expanded when the variable is […]
Setting up a ‘LAMP’ server (Linux-Apache-mySQL-PHP)
… copied as-is from : http://fedorasolved.org/server-solutions/lamp-stack Very useful info, everything works like a charm (I tried on FC15) so I am replicating this here in case that page ever gets archived, goes offline, etc. I will see if I can add some more info about setting phpMyAdmin here as well. Doing the work The best […]