c# – Will a game made with .Net Desktop Development, be able to run on Windows’ desktops?

I am new to making games (I have experience only with pygame), and I want to start creating with C#. I’ve found out that Monogame is a very good engine. On my way of setting up, in the part where I install Visual Studio, Monogame’s site says:

Before installing Monogame, you’ll need to install Visual Studio 2019 or later (any edition, including Community) with the following components, depending on your target platform:

  • .NET Core cross-platform development – For Desktop OpenGL and DirectX platforms
  • Mobile Development with .NET – For Android and iOS platforms
  • Universal Windows Platform development – For Windows 10 and Xbox UWP platforms
  • .Net Desktop Development – For Desktop OpenGL and DirectX platforms to target normal .NET Framework

I want to create a game to be played on desktops (most preferably, on Windows), and as it writes, Universal Windows seems the most suitable. Is there any difference, if I use .NET Desktop Development? I see that for other type of applications, this is very common.

big sur – Big Sur menu bar changes color from black to white when switching virtual desktops – possible to pin it to a single color?

So my menu bar changes its color when I switch virtual desktops. On desktop 1, I have black text on a white menu bar. On Desktop 2, it is white text on white menu bar. On desktop 3 and beyond, it is white text on a dark menu bar:

enter image description here

The menu bar on Desktop 2 is mostly unreadable. I think this is a bug, since changing the wallpaper temporarily solves the problem (all virtual desktops appear using a menu bar style consistent with virtual desktop 1) but the problem returns after a short time. I also tried switching “Allow wallpaper tinting in windows” off, however, this didn’t fix the problem. Is that a known bug? Does Apple have some sort of issue tracker?

mission control – Shortcut to switch between Spaces – and not Desktops

In Big Sur, using Mission Control we have the Control+1, Control+2 keyboard shortcuts to switch between desktops.

Is there a way (built-in is preferred of course) to switch to a specific space (including full-screen apps and not only desktops) by its number?

Possible to have different taskbars on different windows 10 desktops?

When creating different desktops in Windows 10 (WIN+tab) it seems you can only have one taskbar across all desktops.

Ideally I want to have a personal desktop and a work one which have different items pinned to taskbar.

Is it possible to configure the virtual desktops in Windows 10 to have different taskbars?

Autohotkey: Find and focus windows by name accross virtual desktops

I’d like an ahk script to find and focus running windows across virtual desktops on Windows 10.

I found one earlier but alas forgot where it’s from, maybe someone here knows. I think it was to help with special keys shortcuts not working in VNC sessions (Win key, alt-tab for example). Sadly, because it’s quite good but lacks a keyboard search feature, rather it works with keyboard or mouse selection and sorts by most recently used. So if I could find an updated version, or its source (to contact its dev) which has this search feature, perfect! Here’s the code I have:

#NoEnv  ; Recommended for performance and compatibility with future AutoHotkey releases.
; #Warn  ; Enable warnings to assist with detecting common errors.
SendMode Input  ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir%  ; Ensures a consistent starting directory.


$F1:: AltTab()
$F2:: AltTabMenu()
$F4:: LWin
!`::WinClose, A  ; Alt-` = close window

; AltTab-replacement for Windows 8:
AltTab(){
    list := ""
    WinGet, id, list
    Loop, %id%
    {
        this_ID := id%A_Index%
        IfWinActive, ahk_id %this_ID%
            continue    
        WinGetTitle, title, ahk_id %this_ID%
        If (title = "")
            continue
        If (!IsWindow(WinExist("ahk_id" . this_ID))) 
            continue
        WinActivate, ahk_id %this_ID%, ,2
            break
    }
}

; AltTabMenu-replacement for Windows 8:
AltTabMenu(){
    list := ""
    Menu, windows, Add
    Menu, windows, deleteAll
    WinGet, id, list
    Loop, %id%
    {
        this_ID := id%A_Index%
        WinGetTitle, title, ahk_id %this_ID%
        If (title = "")
            continue            
        If (!IsWindow(WinExist("ahk_id" . this_ID))) 
            continue
        Menu, windows, Add, %title%, ActivateTitle      
        WinGet, Path, ProcessPath, ahk_id %this_ID%
        Try 
            Menu, windows, Icon, %title%, %Path%,, 0
        Catch 
            Menu, windows, Icon, %title%, %A_WinDir%System32SHELL32.dll, 3, 0 
    }
    CoordMode, Mouse, Screen
    MouseMove, (0.4*A_ScreenWidth), (0.35*A_ScreenHeight)
    CoordMode, Menu, Screen
    Xm := (0.25*A_ScreenWidth)
    Ym := (0.25*A_ScreenHeight)
    Menu, windows, Show, %Xm%, %Ym%
}

ActivateTitle:
    SetTitleMatchMode 3
    WinActivate, %A_ThisMenuItem%
return

;-----------------------------------------------------------------
; Check whether the target window is activation target
;-----------------------------------------------------------------
IsWindow(hWnd){
    WinGet, dwStyle, Style, ahk_id %hWnd%
    if ((dwStyle&0x08000000) || !(dwStyle&0x10000000)) {
        return false
    }
    WinGet, dwExStyle, ExStyle, ahk_id %hWnd%
    if (dwExStyle & 0x00000080) {
        return false
    }
    WinGetClass, szClass, ahk_id %hWnd%
    if (szClass = "TApplication") {
        return false
    }
    return true
}

for a script named vnc special keys.ahk, but this might be a name I gave it. Sorry not much more details on this, I’ve looked around (Google, Github) but haven’t found it. And kids, remember to put a comment in your code with at least the author and source website 😛

Also found this old 2010 script

macos – Is there a keyboard shortcut for switching between different desktops of the same application?

How can I easily switch between these desktops using only my keyboard?

Here is a screen shot of System Preferences > Keyboard > Shortcuts > Mission Control for two Desktops.

As you can see, by default, you can use control-left-arrow or control-right-arrow

You can also check the checkboxes for additional options, e.g.:

  • Switch to Desktop 1
  • Switch to Desktop 2

Then you can use, e.g., ⌘1 or and the Desktop number for whichever you want to move to.

enter image description here

Terminal also assigns a keyboard shortcut for up to nine windows, e.g. ⌥⌘1 etc. up to ⌥⌘9

macbook pro – Quick Look pops up when switching desktops

When switching between desktops, sometimes Quick Look pops up all by himself. Even when switching for a desktop containing a terminal, Quick Look pops up for a path that might be in the terminal’s output. It is very annoying.

Someone knows how to solve this?

I’m currently using Catalina v10.15.5 on a 2016 MacBook Pro 13” Touch Bar.

macos – What could cause windows to “swap” desktops?

I recently migrated to a new 2019 MacBookPro, 16″ … running 10.15.6 … now I notice something I have never seen with my old Mac with the 3 desktops I am using:

  • Desktop 1 takes terminals, IDE, …
  • Desktop 2 takes browsers
  • Desktop 3 takes my mail client, slack, …

Meaning: when I startup my mac, and start my applications, I place the windows like that.

What I have seen now repeatedly: desktop 2 and 3 seem to fully “swap” at some point. Not sure, but I just come back and find: mail client, slack, … are now showing up on desktop 2, and my browser windows are all on desktop 3.

Any idea what could be causing this, or how to prevent it?

(I am not running any fancy additional “desktop related” apps, the only “special thing” I am using is the contexts window switcher).

What is the difference between SEO for desktops and mobile devices?

What is the difference between SEO for desktops and mobile devices?

mojave – Is it a MacOS normal behavior to switch between desktops slower while in Mission Control mode?

This is more of a performance issue than anything else.

Bringing up Mission Control is already a pretty complex split-second animation for your Mac to handle, especially if you have several windows open in your current desktop.

And if you have multiple desktops with several windows open, it has to render all the windows, grouped by application per desktop, and give them a different effect than usual (drop shadows are applied on the window group rather than individual windows in Mission Control) and so on.

Basically, it’s a more complex task for your Mac to do, and since you’re on Mojave, system UI is largely Metal, so if you have an nVidia chip or older intel graphics with no Metal 2 support, unfortunately it will feel like molasses.

The only solution would be to upgrade your hardware, or turn off the special effects by going to System Preferences -> Accessibility -> Display then checking reduce motion, reduce transparency, either one or both, depending on what you are willing to give up and how much of an improvement checking the options yield.