ubuntu – How do I launch gnome-terminal directly from the Windows desktop?

I have WSL2 set up with vcxsrv to launch GUI apps and this works great. However, the default terminal that shows up with the Ubuntu app on Windows is terrible. I can launch gnome-terminal from it, sure, but I’d like to be able to directly launch gnome-terminal from Windows.

I tried setting this as a shortcut: “C:WindowsSystem32bash.exe -c “cd && DISPLAY=:0 gnome-terminal”

However, running bash like this somehow doesn’t allow it to find the X Server. “wsl –exec gnome-terminal” also gives the same result: cannot find X server.

How can I make this work?

and in case it’s relevant, this is how I was able to get GUI apps running in the first place: https://techcommunity.microsoft.com/t5/windows-dev-appconsult/running-wsl-gui-apps-on-windows-10/ba-p/1493242]

Nginx php-fpm on Docker desktop issue

I have nginx and php-fpm running in a single container on Docker desktop for Windows. I am IT and not a developer so please dumb it down for me.
I have been trying to get a configuration to work without success. I need to be able to allow multiple subdomains to pass through to php-fpm where the php app will determine which database to open by specific sub domain.
should all just pass through to php, and the app will know which DB to connect to.

I have searched and found solutions to redirect subdomains to separate sites, but I need to allow all subdomains to single site and process like localhost does.

This work fine using localhost or but when I try to use a dns url the site stops logging in and all ajax calls stop working. Seems like the session variables stop getting passed back.
The login page shows, and a failed password will show that error so I know the site is communicating with the proper DB but the log does not show any errors or ajax responses.

server {
    listen       80  default_server;
    server_name  _;  
    # I have tried server_name *.mydomain.com and server_name .mydomain.com, the latter yeilds the same results as this current config.
    root /usr/share/nginx/html;
    server_tokens off;

    index index.php index.html index.htm;

    charset utf-8;
    # Add stdout logging
    error_log /dev/stdout info;
    access_log /dev/stdout;

    location / {
        try_files $uri $uri/ /index.php?$args;

    location ~ .php$ {
        fastcgi_split_path_info ^(.+.php)(/.+)$;
        fastcgi_pass unix:/run/php/php7.4-fpm.sock;
        fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
        include fastcgi_params;

I had to remove a lot to submit the question.

Using localhost or 127.0.01 with this same config, login works, ajax is responding, and site loads main page as expected.

nginx stdout | - - (08/Sep/2021:13:23:00 +0000) "POST /login.php HTTP/1.1" 302
nginx stdout | - - (08/Sep/2021:13:23:00 +0000) "GET / HTTP/1.1" 200 
nginx stdout | - - (08/Sep/2021:13:23:00 +0000) "GET /framework.js?version=
nginx stdout | - - (08/Sep/2021:13:23:00 +0000) "GET /resources/all.css - - (08/Sep/2021:13:23:00 +0000) "GET /resources/js/pdfjs/pdf.js 
nginx stdout | - - (08/Sep/2021:13:23:00 +0000) "GET /app.js?version=2021
nginx stdout | - - (08/Sep/2021:13:23:00 +0000) "GET /resources/images/login_loader_logo.gif - - (08/Sep/2021:13:23:01 +0000) "GET /ajax.php?_dc=163110738 - - (08/Sep/2021:13:23:02 +0000) "POST /ajax.php HTTP/1.1" 200 - - (08/Sep/2021:13:23:02 +0000) "GET /ajax.php?_dc=1631107382410&

When using the url entry I created in my host file to test it seems like js and ajax are not working using URL. - - (08/Sep/2021:13:29:45 +0000) "GET /login.php HTTP/1.1" 200 - - (08/Sep/2021:13:29:45 +0000) "GET /showClientLogo.php HTTP/1.1" 200 - - (08/Sep/2021:13:29:46 +0000) "GET / HTTP/1.1" 302 - - (08/Sep/2021:13:29:46 +0000) "GET /login.php HTTP/1.1" 200 - - (08/Sep/2021:13:29:47 +0000) "GET /showClientLogo.php HTTP/1.1" 200 - - (08/Sep/2021:13:29:57 +0000) "POST /login.php HTTP/1.1" 302 - - (08/Sep/2021:13:29:57 +0000) "GET / HTTP/1.1" 302 - - (08/Sep/2021:13:29:57 +0000) "GET /login.php HTTP/1.1" 200 - - (08/Sep/2021:13:29:58 +0000) "GET /showClientLogo.php HTTP/1.1" 200

Thanks in advance.

How to sync specific folders in Google Drive for Desktop?

Please note:
I am not talking about Google’s deprecated “Backup and Sync” application nor “Google Drive File Stream”. This question pertains to Google’s new Drive for Desktop.

How do I only sync specific folders? On the settings page it only allows me to select between Streaming and Mirroring.
Drive for Desktop preferences screen

Google claims that syncing specific folders is possible in Drive for Desktop but the feature seems to be missing: https://support.google.com/drive/answer/7638428
Drive for Desktop features list

menu – Where should the “preferences” item go in a desktop application?

I find that the “preferences” menu item is always in a different place, and often under an arbitrary name which always makes it a pain to locate unless you’re already familiar with the software.

I have seen it under the file, edit, window, help, and options menu (probably more) and is either called “preferences,” “settings,” or “options.”

Has there been any studies or evidence to suggest where the application settings should go? And I am referring to the application settings, not file/project/whatever specific settings. I already know that putting it under “file” is wrong for application global settings, and under “edit” is probably wrong in all circumstances. But what about besides that? Is it better to just have an entire options menu to further break it down? Should it be under the “window” menu since it is, after all, its own window? What about window > options? Is it ever right to put it under the “help” menu?

I’m talking mostly in terms of usability (which place users look first), but also semantically (as in, the file menu doesn’t make sense). I personally never start with file, edit, or help — even though that’s often where the menu item is — but rather search high and low through other menus first. Is this a common behavior?

services – Site error on Drupal 9 on Acquia Dev Desktop

services – Site error on Drupal 9 on Acquia Dev Desktop – Drupal Answers

oauth2 – How to mitigate malicious 3rd party app from generating unauthorized OAuth Request in Desktop App

I have a REST API that a Desktop Application needs to access. I am using an OpenID Connect auth code flow to accomplish this.

  1. The desktop app establishes an unauthenticated session with the REST
    API server. The REST API server then generates a state and nonce for
    building an Auth Code request URI, it then sends the Auth Code
    request URI and sessionID in the response to the desktop app.

  2. The Desktop app then opens the the URI in a web browser, and the
    user authenticates with the IDP.

  3. The auth code is returned to the app which it passes back to the
    REST API server using the sessionID that only the desktop app knows,
    and then the API server exchanges the auth code for an id_token and
    verifies that the exchanged token nonce matches the nonce it
    originally passed in the initial request ensuring that it belongs to
    the session.

  4. After confirming it then passes some credentials to the client.

This process prevents the code from being misused if it’s intercepted and it ensures that the token is only granted to a person who has knowledge of the sessionID (which is reasonably only the desktop app.)

While these protections prevent token exchange snooping. I do not see how to mitigate the threat of a malicious 3rd party app generating an unauthorized Auth Code request and manipulating valid auth sessions with the IDP to trick the user into using the malicious Auth Code request.

A malicious app could generate a legitimate Auth Code URI request and then inject it during the browser redirect to the IDP and an unsuspecting user would be none the wiser that they are now authorizing a different application.

Is it even possible to prevent this from happening outside of ensuring a malicious app isn’t on a device?

How do I switch my Windows 10 desktop *out* of list view?

I’m running Windows 10 (Enterprise, 21H1), and, for unknown reasons earlier this morning, the desktop began displaying in list view. I understand that many people love this, and so the general advice being sought is how to enable it (apparently this feature was removed at some point in Windows 10?). I, however, am looking to disable it.

My desktop now has a bar running across the top (of all three monitors) with column headers (Name, Size, Item type, Date modified) that I can click on to sort the icons. Furthermore, the icons all have checkboxes (though this is not the case on any other Explorer window or folder), and folders do not show up on the desktop (though they do if I open the Desktop folder in an Explorer window).

screenshot of top-left corner of leftmost monitor

I can change the view to large icons, medium icons, small icons, etc, and this has no effect (other than to hide the icons unless I choose “tile” mode). The bar across the top and the checkboxes remain in all modes.

I have run the sfc tool, and while this found minor issues (mainly some ACL overlaps and a problem with a start menu link), it did not correct the problem.

How in the world do I get my desktop back to “normal” view?

desktop computer – Are there any waterblocks that would fit a Gigabyte GTX 1060 3GB Winidforce card?

I’m trying to look for a waterblock to fit onto a Gigabyte GTX 1060 3GB Windforce GPU but can’t seem to find any.

I don’t know much about how these things work and I’m geussing not many people would want to watercool an entry level or lower mid-range card. However, I want to try out a novel idea I have for watercooling a pc case and I don’t have the money to buy a better card. I just want to find something that works with what I already have.

Here’s a link to a 1060 waterblock, but it seems to only be for the 6GB variants of the card, or will this work with the PCB of the 1060 I have?

Any advice would be appreciated. Thank you, and God bless.

Kind regards,

Why do desktop apps not use pointer cursor

I was wondering if there is a reason why most desktop applications don’t user a pointer cursor to show that a button or element is clickable.

Is this just a convention or is there actually a good reason behind this bevahior?

user behavior – Is double-click the right approach for desktop versions?

You’re seeing the tail end of a transition period between two competing UI conventions.

Double-click to open a file or folder has been the standard for years (decades?) in virtually all major desktop operating systems.

But on the web, single-click is standard for all operations. I had to search to see if there even is an event handler for double-click events in javascript — it does exist, but requires a fair bit of hoop-jumping to use successfully without also firing the single-click handler, which may serve as an indication of how infrequently it gets used.

Both OneDrive and Google Drive are web-based implementations of tasks that traditionally have been desktop-only, which leaves their designers in a bit of a quandary: do you follow the UI convention of the system you’re replacing, to make it more familiar, or do you follow the UI convention of the system you’re replacing it with, to make it more up-to-date?

It’s a tough judgement call with no objectively ‘correct’ answer.

One could try to make the case that a product aimed at a generally younger, web-native audience should go with single-click; or conversely that one designed to closely mimic the traditional File Explorer / Finder UI should go with double-click; but it’s a fuzzy distinction and both of these products are casting a wide net as far as user base so it’s reasonable that Google and OneDrive would have come to opposite conclusions. (Notably, though, as far as I can tell Google stands alone here: other file-sharing apps, such as dropbox or box.com also seem to have gone with the single-click model for their web interfaces.)

DreamProxies - Cheapest USA Elite Private Proxies 100 Private Proxies 200 Private Proxies 400 Private Proxies 1000 Private Proxies 2000 Private Proxies 5000 Private Proxies ExtraProxies.com - Buy Cheap Private Proxies Buy 50 Private Proxies Buy 100 Private Proxies Buy 200 Private Proxies Buy 500 Private Proxies Buy 1000 Private Proxies Buy 2000 Private Proxies ProxiesLive.com Proxies-free.com New Proxy Lists Every Day Proxies123.com Buy Cheap Private Proxies; Best Quality USA Private Proxies