xdg-desktop-menu: No writable system menu directory found

Así es señoras y señores: ¡Y todo por instalar Spotify en Debian con una clave pública para Ubuntu!

Configurando spotify-client (1:0.9.17.1.g9b85d43.7-1) ...
xdg-desktop-menu: No writable system menu directory found.
Procesando disparadores para menu (2.1.47) ...

En general, todos los sitios de stack Exchange (Ask Ubuntu, Server Fault, Stack Overflow, Super User, unix and linux, Webmasters stack Exchange) son extraordinarios: bien documentados y muy bien administrados. Sus curadores parecen estar en todo. Y algunos usuarios también son listillos. Probé lo que dice ahí mirams y me funcionó:

$ sudo mkdir /usr/share/desktop-directories/

 

xdg-menu-desktop

Encontré un spotify-client Debian para 64-bits en este repositorio.

installing Apache2 Mysql PHP PHPMyAdmin and WordPress locally

Well, It’s done! The key statement was: “The [Wordpress] installation places the files in the usr/share/wordpress folder. So that Apache2 knows where to find the installation folder, make a symbolic link to the Apache2 www folder:”

sudo ln -s /usr/share/wordpress /var/www/html/wordpress

(Local LAMP installation)

So, here you are my steps to install a web server localhost on Debian 8 (“Jessie”):

sudo apt-get install apache2
sudo apt-get install php5 php5-cli php5-curl php5-mysql php5-gd
sudo apt-get install mysql-server mysql-client

Something was wrong? You need uninstall that package completely:
apt-get --purge remove PACKAGE_NAME.

For example, Apache2:
sudo service apache2 stop
sudo apt-get --purge remove apache2 apache2-utils apache2.2-bin apache2-common

Alternatively, the short form is:

sudo apt-get remove apache2*

sudo apt-get autoremove
sudo apt-get autoclean

And restart Apache service with
sudo /etc/init.d/apache restart

Before to install WordPress, maybe you need to create a database called ‘WordPress’. Phpmyadmin is useful for that purpose (webserver Debian con PHP Mysql y Apache para usar WordPress localhost):
sudo apt-get install phpmyadmin

By last, following Robert Pogson, install WordPress:
sudo apt-get install wordpress
dpkg -L wordpress
sudo cp /usr/share/doc/wordpress/examples/apache.conf /etc/apache2/conf.d/wp.conf
(if you need, you can create conf.d directory first)
sudo gzip -d cp /usr/share/doc/wordpress/examples/setup-mysql.gz
sudo cp cp /usr/share/doc/wordpress/examples/setup-mysql /root/
cd /etc/apache2/conf.d
ls
gksudo gedit wp.config:

## Without using Virtual host, hosted off /blog

Alias /blog/wp-content /var/lib/wordpress/wp-content
Alias /blog /usr/share/wordpress

Options FollowSymLinks
AllowOverride Limit Options FileInfo
DirectoryIndex index.php
Order allow,deny
Allow from all

Options FollowSymLinks
Order allow,deny
Allow from all

# Tips

#If permalinks or rewrite is not working you might need:

#
# Options FollowSymLinks
# AllowOverride All
#

sudo -i /etc/init.d/apache2 restartsudo -i cd
ls -l
chmod u+x setup-mysql
./setup-mysql -n wordpress localhost
sudo ln -s /usr/share/wordpress /var/www/html/wordpress

(default web server directory is /var/www/html)

If you use Opera web browser, you can taste Apache2 installation since a terminal with this command:
opera http://localhost.

Checking PHP installation:
opera http://localhost/prueba.php

PHPMyAdmin:
opera http://localhost/phpmyadmin

By last but not least: WordPress
opera http://localhost/wordpress