(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”, ATTR{idProduct}==”12a[0-9ab]”, […]
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 […]
1. Edit file /etc/my.cnf.d/mariadb-server.cnf and add these 3 lines to the [mysqld] section:
innodb_large_prefix=true
innodb_file_format=barracuda
innodb_file_per_table=true
This will enable usage of Multi-byte (in particular – 4-byte) UTF-8 support in Drupal 7.
2. mysqli: If you have problems with mysqli/mysql change the mysqli to mysql (or vice versa – whatever […]
Old way:
Examine list of DNS servers in /etc/resolv.conf:
$ cat /etc/resolv.conf
– – –
New way:
May not work on newer Linuxes since resolving may be setup via (not only DNS, but also) various other services: DDNS, LDAP, Avahi, Bonjour, ZeroConf and God knows what else.
So…
To check up […]
Scenario
——————————————————————
You are maintaining several web-sites (site1.com, site2.org, etc…). Having just one web-site at localhost with all files (DocumentRoot) at /var/www/html is not an option for you. You need to be able to test all of them and to access them in a convenient way.
Solution
Setup apache with Virtual Hosts, […]
DON’T:
yum install python-somePackage
.. or
apt-get install python-somePackage
DO:
pip-python install somePackage
You will need the following installed and started:
libccid opensc pcsc-tools – can do without this but it has nice troubleshooting tools in case you get stuck pcscd – this is a daemon, make sure your distro enables it after installation. It must be running in order for the libccid to be able to communicate […]
1. Examine /boot/grub/grub.cfg to find out the boot order of your multiboot system or just remember the order of your boot options as they appear during boot.l Count which one is windows (counting is 0-based, i.e. the default boot option is 0, next one is 1, etc).
2. Edit /etc/default/grub. You need to be logged […]
Recovering your phpMyAdmin/mysql lost root login password
How do you reset your mysqld and phpAdminPassword?
First we need to change the mysql root password (or set to empty if we want to allow a passwordless login). After that we will setup phpMyAdmin to use this mysql login.
1. On newer Linuxes, e.g. Ubuntu 16.04 LTS […]
An excellent page describing good linux software for burning CDs/DVDs, creating images, etc:
http://www.techdrivein.com/2011/03/9-good-cd-and-dvd-burning-tools-for.html
Xfburn – XFCE for Linux
K3B – KDE Burning Tool
GnomeBaker – GNOME Burning Tool
…
-
Categories
- Android Development
- Bash
- C programming
- dpkg/apt-get
- drupal
- Emacs
- Git
- Java
- Linux administration
- Linux device drivers
- Linux Gaming
- Linux kernel
- Linux Networking
- Linux on Windows
- Linux printing
- Linux sound and ALSA
- Package Managers
- Programming
- RPM
- Shell and environment
- Tips and tricks
- Uncategorized
- VirtualBox
- Virtualization
- web development
- wine
- WMaker
- Wordpress Tips
- X Window System
- XFCE
-
Articles
- August 2020
- August 2019
- May 2019
- July 2017
- February 2017
- January 2017
- November 2016
- October 2016
- September 2016
- August 2016
- July 2016
- June 2016
- April 2016
- March 2016
- December 2015
- November 2015
- September 2015
- June 2015
- May 2015
- April 2015
- March 2015
- February 2015
- January 2015
- December 2014
- October 2014
- February 2014
- January 2014
- November 2013
- October 2013
- June 2013
- April 2013
- March 2013
- February 2013
- January 2013
- December 2012
- October 2012
- August 2012
- July 2012
- June 2012
- May 2012
- April 2012
- March 2012
- February 2012
- September 2011
- August 2011
- June 2011
- May 2011
- April 2011
- March 2011
- February 2011
-
Calendar
June 2023 M T W T F S S « Aug 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 -
Meta
Cloud
audio bash boot compile C programming cups drupal emacs etc Fedora git grep how to httpd init kernel libc linux linux partition localtime login make mount mp3 mysql networking oracle package managers password phpMyAdmin programming rpm shell sql vbox version control system virtual box vm web server wordpress www xargs xfce xwin yum