Multiple monitors: the wallpaper is updated to a secondary image of lower quality

Just after logging in from a reboot, the wallpaper is of good quality. A few seconds later, the screen is updated and the quality on the main monitor is reduced. Ubuntu is clearly capable of having a good background, so How can I preserve the initial high quality background image?.

I am using a 3-monitor configuration: my laptop screen, a vertically converted standard desktop monitor and a very large main monitor. Your settings are shown in the images below, and the portrait is the & # 39; main monitor & # 39; (based on the comments of a previous question I asked). Due to the design of my desk, it is not possible to reorganize the design of the monitors.

enter the description of the image here

enter the description of the image here

This is the closest I have found. The monitor settings and the desktop background were lost upon restart, but it really seems a different problem.

instagram – How are google search / image results updated?

I have noticed that some websites like Instagram Y ask.fm, Google does not update your search results.

For example, if I have an instagram username like "Qwerty", then I type Qwerty on google (and since google crawls through instagram for usernames) I should get:

Qwerty (@Qwerty) • Instagram photos and videos.

And when you change your username to "Asdfgh", Google should update the results after a few days. So when you type Asdfgh on Google, you should get this in the search results:

Asdfgh (@Asdfgh) • Instagram photos and videos

But somehow, they are not updated. Even after half a year.

apache2 – apache does not show the updated version

I have ubuntu 14.04.5 and apache version 2.4.29. I updated it using the following commands and it was updated.

sudo add-apt-repository ppa:ondrej/apache2
sudo apt update
sudo apt upgrade

when I tried to verify the new version using / usr / sbin / apache2 -v, it shows the previous version which is 2.4.29

Any suggestions?

instagram – How are google search / image results updated?

I have noticed that some websites like Instagram Y ask.fm, Google does not update your search results.

For example, if I have an instagram username like "Qwerty", then I type Qwerty on google (and since google crawls through instagram for usernames) I should get:

Qwerty (@Qwerty) • Instagram photos and videos.

And when you change your username to "Asdfgh", Google should update the results after a few days. So when you type Asdfgh on Google, you should get this in the search results:

Asdfgh (@Asdfgh) • Instagram photos and videos

But somehow, they are not updated. Even after half a year.

gnome: the WiFi icon in the menu bar is not updated to show the current status

Take a look at this image that demonstrates my problem: https://imgur.com/a/kWz2Jum

You can see that the Wi-Fi icon in the menu shows a question mark, but the Wi-Fi icon once it clicks and expands shows that there is a medium-strong connection. The last is correct and the first is not.

This problem has been exhibiting for me for more than a year. I am now at 19.10, but this problem existed on 19.04 before updating. Now I'm in Gnome 3.34.2 but it was in an earlier version, obviously, when it started. Obviously there have been many reboots, connections to several Wi-Fi networks, etc.

Any ideas? Thank you.

Create a "self-healing" list that is updated when a different list is updated

I have a list that uses the People / Group field. I can use the "Create an item on another site" function with a workflow to "copy" that field to another list, but I cannot update the field later.

Is there a way to link two lists so that if a field changes in a list, the field is automatically updated in the connected list?

Would it be better to use the InfoPath forms?

Rest API: Gutenberg block is not updated as expected

tl; dr:
When I update the table in my CPT entry, it used to update automatically when I used the shortcode (included in functions.php) but now it obviously won't because it is not recovering the data unless I am manually updating the page on which I added the custom opening block.
So what is the best way to keep the block looking for updates again? And I'm open to any other advice, I'm quite new to the WP API.

I have the following problem. I created a CPT for our office hours (multiple facilities) and created a short code to include it in the interface that worked like this:

(opening facilities="London, Berlin")

which basically only executed a wp_query and generated the opening times of these two installations.

Since shortcodes are not really that user-friendly & # 39 ;, I wanted to reconstruct this in a Gutenberg Block that basically shows all CPT location entries as selectable items and generates the same.

So I created it as an add-on (for custom blocks)

plugin.php:

opening-block.js (as information only):


wp.blocks.registerBlockType('mw/opening-block', {
    title: 'Opening Hours',
    icon: 'clock',
    category: 'common',
    attributes: {
        openings: {
            type: 'array',
            default: ()
        }
    },

    edit: function (props) {

        wp.element.useEffect(() => {
            fetchEntries();
            console.log(props)
        }, ())

        const fetchEntries = async () => {
            const res = await wp.apiFetch({ path: '/wp/v2/opening' });
            props.setAttributes({ openings: res })
        }

        return wp.element.createElement(
            "div",
            null,
            wp.element.createElement(
                "select",
                { multiple: true },
                (props.attributes.openings).map((opening) =>
                    wp.element.createElement(
                        "option",
                        { value: opening.id },
                        `${opening.title.rendered}`,
                    )
                )
            ),
        );
    },

    save: function (props) {

        return (

            wp.element.createElement(
                React.Fragment,
                null,

                wp.element.createElement(
                    "a",
                    { className: 'btn btn-expand' },
                    'Opening Hours'
                ),

                wp.element.createElement(
                    "div",
                    { className: 'content' },

                    wp.element.createElement(
                        "div",
                        { className: 'table-wrapper' },

                        props.attributes.openings.map((opening) =>
                            wp.element.createElement(
                                React.Fragment,
                                null,

                                wp.element.createElement(
                                    "h4",
                                    null,
                                    `${opening.title.rendered}`,
                                ),
                                wp.element.RawHTML({
                                    children: `${opening.content.rendered}`
                                })
                            )
                        )
                    )
                )
            )
        );
    }
})

In my CPT, basically I just store wp-block-tables as content. So, if someone needs to update the time, simply change the contents of the table. Therefore, opening.content.rendered is only a copy of the wp block table of the original CPT entry.

I still haven't finished it because I ran into the following problem:

When I update the table in my CPT entry, it used to update automatically when I used the shortcode (included in functions.php) but now obviously it won't because it is not recovering the data unless I am manually updating the page on which I added the custom opening block.

So what is the best way to keep the block looking for updates again? And I'm open to any other advice, I'm quite new to the WP API.

Thanks in advance

java: error com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: a secondary row cannot be added or updated: an external key restriction fails

Good people, I have this error and I can't see the solution. I am working on my first post-university project and I need guidance.

I have the tables: Customer, Service Department, Budget, Service and Budget Request.

The Customer, Service Order, Budget and Service tables perform all damage operations as scheduled. The error occurs when I try to insert services in the OrcamentoTemServico table.

Below I will give an example of the test I did and the error that occurs:

public OrcamentoTemServicoDaoTest() {
}

@Test
public void insetir() {
    Cliente c = new Cliente();
    c.setCPF("79167357504");
    OrdemDeServico ods = new OrdemDeServico();
    ods.setNumeroOS(874);
    Orcamento o = new Orcamento();
    o.setID(1);
    Servico s = new Servico();
    s.setID(1);
    s.setServico("teste");
    s.setPrecoVenda(100);
    OrcamentoTemServico ots = new OrcamentoTemServico();
    ots.setOrcamentoID(o);
    ots.setOrdemDeServicoNumeroOS(ods);
    ots.setOrdemDeServicoClienteCPF(c);
    ots.setQuantidade(1);
    ots.setServicoID(s);
    ots.setValor(100);
    ots.setValorTotal(100);
    OrcamentoTemServicoDao otsdao = new OrcamentoTemServicoDao();
    otsdao.insert(ots);
}

It says that the test was approved but it shows the error and no information is saved in my OrcamentoTemServico table:

Error com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: a secondary row cannot be added or updated: a foreign key restriction fails (gtsassist.ORCAMENTO_has_SERVICO, RESTRICTION fk_ORCAMENTO_has_SERVICO_ORCAMENTO1 FOREIGN KEYORCAMENTO_ID, ORCAMENTO_ORDEM_DE_SERVICO_NUMERO_OS, `ORCAMENTO_ORDEM_DE_SERVICO_CLIENTE_C)

Thank you very much for returning the solution.

Mandrill does not use the updated Mailchimp template?

I am a Python / Vue.js developer who has been asked to access an existing website and make some changes.

One of the changes that I have been asked to make is to update the address that appears at the bottom of the emails that come out on behalf of the website. Emails are sent with Mandrill using Mailchimp.

I updated the email templates in Mailchimp that the website seems to use, but when I tried to create a new user account, they sent me an email that had the previous address at the bottom.

Why did that happen? Do the changes take time to spread? Didn't I update it in the right place?

Server-side representation of updated third-party html components

Let's say I want to include a third-party HTML component in my site …

I know that I can simply include a