Bluetooth en Desktop Environment lxde

Hace tiempo que uso lxde en mi ubuntu debido a que es un entorno de escritorio muy ligero que me permite ahorrar memoria que termino usando para aplicaciones que realmente la necesitan y a las que debemos darle prioridad.

Pero me enfrenté que dicho ambiente de escritorio no tiene un modo gráfico inmediato para el acceso al bluetooth; quería escuchar el audio de mi laptop con mis audífonos true wireless y no se podía.

Investigando un poco encontré en una página web la solución que funciona de maravilla con mis audífonos. Dicha página contiene la solución para diferentes sistemas operativos, yo me enfocaré en los basados en debian.

The bluez bluetooth stack is compatible with all Linux distributions, even Chrome OS! It is because of this, users on lesser-known, alternative Linux distributions will have no issue getting these tools working. To install them, open your package manager, and search for “bluez”. Install everything with the word “bluez” in it, to be safe.

sudo apt-get install bluez*

Getting The Blueman Client

Installing Bluez allows your Linux desktop environment to directly use Bluetooth. This means if you use KDE Plasma, it’ll work directly with the KDE Bluetooth client. The same goes for the Gnome Shell built in client. So, no need to install Blueman.

If you’re using a Linux desktop environment, or window manager that does not have a built-in Bluetooth manager, consider installing Blueman. It’s a light-weight connection tool that makes interacting with devices much, much easier.

sudo apt-get install blueman


The Blueman connection tool is widely used on Linux. To find it on alternative Linux distributions, open your package manager (or software browser), search for “blueman” and install it.

Arch Linux, Fedora, SUSE and other systemd Linuxes

First, enable the BT service so that it will always start when Linux boots up. This is done with:

sudo systemctl enable bluetooth.service

Then, start the service right away with:

sudo systemctl start bluetooth.service

If at any point systemctl refuses to start or enable these services, consider using the force option:

sudo systemctl enable bluetooth.service -f

and

sudo systemctl start bluetooth.service -f

Se encuentra instalado en Menú -> Preferencias -> Gestor de Bluetooth

La manera en que se observa en lxde es la siguiente:

Fuente:

https://www.addictivetips.com/ubuntu-linux-tips/pair-and-use-bluetooth-devices-on-linux/

Imagemagick error: attempt to perform an operation not allowed by the security policy `PDF’ @ error/constitute.c/IsCoderAuthorized/408

Después de instalar imagemagick

background.sysfactory.online/index.php/2020/10/27/combinar-archivos-pdf-en-linux-utilizando-imagemagick/

Se presenta el siguiente problema, y por lo tanto no se pueden combinar los pdf:

convert-im6.q16: attempt to perform an operation not allowed by the security policy `PDF' @ error/constitute.c/IsCoderAuthorized/408.
convert-im6.q16: no images defined `salida' @ error/convert.c/ConvertImageCommand/3258.

Solución:

After updating ImageMagick to version 6.9.10.23+ from an earlier version, the following behavior occur :

  • Thumbnails generation from PDF, XPS, PS, and EPS does not work anymore

This is due to the addition of a policy in the newer version that disable ghostscript formats.

1. Edit the ImageMagick policy file :

/etc/ImageMagick-6/policy.xml

2. Locate the following lines (usually at the very bottom of the file, around lines 89 to 95) :

<!-- disable ghostscript format types -->
  <policy domain="coder" rights="none" pattern="PS" />
  <policy domain="coder" rights="none" pattern="PS2" />
  <policy domain="coder" rights="none" pattern="PS3" />
  <policy domain="coder" rights="none" pattern="EPS" />
  <policy domain="coder" rights="none" pattern="PDF" />
  <policy domain="coder" rights="none" pattern="XPS" />

3. Comment or remove those entries and restart the Web server service.

No fue necesario reiniciar para mi.

Fuente:

itechlounge.net/2020/09/web-imagickexception-attempt-to-perform-an-operation-not-allowed-by-the-security-policy-pdf/

Combinar archivos pdf en linux utilizando imagemagick

“Para usar el comando convert, primero lo tendremos que instalar Imagemagick, si es que no lo tenemos ya instalado, abriendo una terminal (Ctrl+Alt+T) y usando el siguiente comando:

1sudo apt install imagemagick

Usando nuestros archivos PDF de ejemplo, el comando que tendremos que utilizar para combinarlos será el siguiente:

convert entreunosyceros-1.pdf entreunosyceros-2.pdf archivos_combinados_convert.pdf

Para combinar páginas específicas de los archivo PDF en un solo archivo, tendremos que pasar al comando convert nuestros archivos con los números de página específicos entre corchetes. Por ejemplo, para combinar la 5ª página del primer documento con las páginas 7ª y 10ª del segundo documento, habrá que utilizar un comando como el siguiente. Que nadie se olvide del número cero. Por esto los números indicados son menores que los que nos interesan.

convert entreunosyceros-1.pdf[4] entreunosyceros-2.pdf[6,9] paginas_combinadas_convert.pdf

Con este comando también es posible unir rangos de páginas. Podríamos unir las primeras 5 páginas del primer archivo con las primeras 10 páginas del otro. Usando nuestros archivos de muestra, el comando a utilizar sería:

convert entreunosyceros-1.pdf[0-4] entreunosyceros-2.pdf[0-9] rango_paginas_combinadas_convert.pdf

Fuente:

https://ubunlog.com/combinar-archivos-pdf-ubuntu/