How can I create a keyboard shortcut for highlighting text in LO Writer? – Ask LibreOffice

Highlighting text is not an “action” on text. It is an additional attribute on a character.

To achieve your goal, you must first define a character style with the specific colour selected as Background. Give a name to this style. You can now give it a keyboard shortcut.

This shortcut is not auto-toggling like Ctrl+B or I. I suggest you also associate a keyboard shortcut to character style Default Style so that you can cancel the effect of highlighting from the keyboard.

To show the community your question has been answered, click the ✓ next to the correct answer, and “upvote” by clicking on the ^ arrow of any helpful answers. These are the mechanisms for communicating the quality of the Q&A on this site. Thanks!

Source: How can I create a keyboard shortcut for highlighting text in LO Writer? – Ask LibreOffice

How can I create a keyboard shortcut for highlighting text in LO Writer? – Ask LibreOffice was last modified: February 23rd, 2021 by Jovan Stosic

dm-crypt

dm-crypt is a transparent disk encryption subsystem in Linux kernel versions 2.6 and later and in DragonFly BSD. It is part of the device mapper infrastructure, and uses cryptographic routines from the kernel’s Crypto API. Unlike its predecessor cryptoloop, dm-crypt was designed to support advanced modes of operation, such as XTSLRW and ESSIV (see disk encryption theory for further information), in order to avoid watermarking attacks. In addition to that, dm-crypt also addresses some reliability problems of cryptoloop.

dm-crypt is implemented as a device mapper target and may be stacked on top of other device mapper transformations. It can thus encrypt whole disks (including removable media), partitionssoftware RAID volumes, logical volumes, as well as files. It appears as a block device, which can be used to back file systemsswap or as an LVM physical volume.

Some Linux distributions support the use of dm-crypt on the root file system. These distributions use initrd to prompt the user to enter a passphrase at the console, or insert a smart card prior to the normal boot process.

Source: dm-crypt – Wikipedia

dm-crypt was last modified: February 23rd, 2021 by Jovan Stosic

Francis Poulenc

rancis Jean Marcel Poulenc (French: [fʁɑ̃sis ʒɑ̃ maʁsɛl pulɛ̃k]; 7 January 1899 – 30 January 1963) was a French composer and pianist. His compositions include songs, solo piano works, chamber music, choral pieces, operas, ballets, and orchestral concert music. Among the best-known are the piano suite Trois mouvements perpétuels (1919), the ballet Les biches (1923), the Concert champêtre (1928) for harpsichord and orchestra, the Organ Concerto (1938), the opera Dialogues des Carmélites (1957), and the Gloria (1959) for soprano, choir and orchestra.

As the only son of a prosperous manufacturer, Poulenc was expected to follow his father into the family firm, and he was not allowed to enrol at a music college. Largely self-educated musically, he studied with the pianist Ricardo Viñes, who became his mentor after the composer’s parents died. Poulenc also made the acquaintance of Erik Satie, under whose tutelage he became one of a group of young composers known collectively as Les Six. In his early works Poulenc became known for his high spirits and irreverence. During the 1930s a much more serious side to his nature emerged, particularly in the religious music he composed from 1936 onwards, which he alternated with his more light-hearted works.

In addition to his work as a composer, Poulenc was an accomplished pianist. He was particularly celebrated for his performing partnerships with the baritone Pierre Bernac (who also advised him in vocal writing) and the soprano Denise Duval. He toured in Europe and America with both of them, and made a number of recordings as a pianist. He was among the first composers to see the importance of the gramophone, and he recorded extensively from 1928 onwards.

In his later years, and for decades after his death, Poulenc had a reputation, particularly in his native country, as a humorous, lightweight composer, and his religious music was often overlooked. In the 21st century, more attention has been given to his serious works, with many new productions of Dialogues des Carmélites and La voix humaine worldwide, and numerous live and recorded performances of his songs and choral music.

Source: Francis Poulenc – Wikipedia

Francis Poulenc was last modified: February 21st, 2021 by Jovan Stosic

apt – Failed to add /run/systemd/ask-password to directory watch: No space left on device? – Ask Ubuntu

–  The long-term fix is to edit the file /etc/sysctl.conf to include the line:

fs.inotify.max_user_watches=1048576

- reload sysctl.conf with:
#sysctp -p

Source: apt – Failed to add /run/systemd/ask-password to directory watch: No space left on device? – Ask Ubuntu

apt – Failed to add /run/systemd/ask-password to directory watch: No space left on device? – Ask Ubuntu was last modified: February 21st, 2021 by Jovan Stosic

idempotent

element that does not change when multiplied by itself, element that satisfies the equation n x n = n (Mathematics)

 

idempotent was last modified: February 20th, 2021 by Jovan Stosic

FAI – Fully Automatic Installation

FAI is a tool for unattended mass deployment of Linux. It’s a system to install and configure Linux systems and software packages on computers as well as virtual machines, from small labs to large-scale infrastructures like clusters and virtual environments. You can take one or more virgin PC’s, turn on the power, and after a few minutes, the systems are installed, and completely configured to your exact needs, without any interaction necessary.

Source: FAI – Fully Automatic Installation

FAI – Fully Automatic Installation was last modified: February 20th, 2021 by Jovan Stosic

How To Use Apache as a Reverse Proxy with mod_proxy on Ubuntu 16.04

Modifying the Default Configuration to Enable Reverse Proxy

In this section, we will set up the default Apache virtual host to serve as a reverse proxy for single backend server or an array of load balanced backend servers.

Note: In this tutorial, we’re applying the configuration at the virtual host level. On a default installation of Apache, there is only a single, default virtual host enabled. However, you can use all those configuration fragments in other virtual hosts as well. To learn more about virtual hosts in Apache, you can read this How To Set Up Apache Virtual Hosts on Ubuntu 16.04 tutorial.

If your Apache server acts as both HTTP and HTTPS server, your reverse proxy configuration must be placed in both the HTTP and HTTPS virtual hosts. To learn more about SSL with Apache, you can read this How To Create a Self-Signed SSL Certificate for Apache in Ubuntu 16.04 tutorial.

Open the default Apache configuration file using nano or your favorite text editor.

  • sudo nano /etc/apache2/sites-available/000-default.conf

Inside that file, you will find the <VirtualHost *:80> block starting on the first line. The first example below explains how to configure this block to reverse proxy for a single backend server, and the second sets up a load balanced reverse proxy for multiple backend servers.

Example 1 — Reverse Proxying a Single Backend Server

Replace all the contents within VirtualHost block with the following, so your configuration file looks like this:

/etc/apache2/sites-available/000-default.conf
<VirtualHost *:80>
    ProxyPreserveHost On

    ProxyPass / http://127.0.0.1:8080/
    ProxyPassReverse / http://127.0.0.1:8080/
</VirtualHost>

If you followed along with the example servers in Step 2, use 127.0.0.1:8080 as written in the block above. If you have your own application servers, use their addresses instead.

There are three directives here:

  • ProxyPreserveHost makes Apache pass the original Host header to the backend server. This is useful, as it makes the backend server aware of the address used to access the application.
  • ProxyPass is the main proxy configuration directive. In this case, it specifies that everything under the root URL (/) should be mapped to the backend server at the given address. For example, if Apache gets a request for /example, it will connect to http://your_backend_server/example and return the response to the original client.
  • ProxyPassReverse should have the same configuration as ProxyPass. It tells Apache to modify the response headers from backend server. This makes sure that if the backend server returns a location redirect header, the client’s browser will be redirected to the proxy address and not the backend server address, which would not work as intended.

To put these changes into effect, restart Apache.

  • sudo systemctl restart apache2

Now, if you access http://your_server_ip in a web browser, you will see your backend server response instead of standard Apache welcome page. If you followed Step 2, this means you’ll see Hellow world!.

Example 2 — Load Balancing Across Multiple Backend Servers

If you have multiple backend servers, a good way to distribute the traffic across them when proxying is to use load balancing features of mod_proxy.

Replace all the contents within the VirtualHost block with the following, so your configuration file looks like this:

/etc/apache2/sites-available/000-default.conf
<VirtualHost *:80>
<Proxy balancer://mycluster>
    BalancerMember http://127.0.0.1:8080
    BalancerMember http://127.0.0.1:8081
</Proxy>

    ProxyPreserveHost On

    ProxyPass / balancer://mycluster/
    ProxyPassReverse / balancer://mycluster/
</VirtualHost>

The configuration is similar to the previous one, but instead of specifying a single backend server directly, we’ve used an additional Proxy block to define multiple servers. The block is named balancer://mycluster (the name can be freely altered) and consists of one or more BalancerMembers, which specify the underlying backend server addresses. The ProxyPass and ProxyPassReverse directives use the load balancer pool named mycluster instead of a specific server.

If you followed along with the example servers in Step 2, use 127.0.0.1:8080 and 127.0.0.1:8081 for the BalancerMember directives, as written in the block above. If you have your own application servers, use their addresses instead.

To put these changes into effect, restart Apache.

  • sudo systemctl restart apache2

If you access http://your_server_ip in a web browser, you will see your backend servers’ responses instead of the standard Apache page. If you followed Step 2, refreshing the page multiple times should show Hello world! and Howdy world!, meaning the reverse proxy worked and is load balancing between both servers.

Source: How To Use Apache as a Reverse Proxy with mod_proxy on Ubuntu 16.04 | DigitalOcean

How To Use Apache as a Reverse Proxy with mod_proxy on Ubuntu 16.04 was last modified: February 20th, 2021 by Jovan Stosic