How do I reassign numbering of Displays when you have more than 2 monitors connected to mac mini

I have three displays connected to my mac mini. The leftmost is the primary with the dock. However, the middle display is call “Display 3” and the rigtmost is “Display 2”. Even if I swop the cables, it still stays the same, so OSX must remember the displayid. This is a problem because spaces desktops are out of sequence rigt to left across the displays. It is also confusion when you assign an app to a display, you have to remember that 3 is the middle display. I know I could just physically swop display 2 and 3. But this must be solve in the software. 🙂

Any suggestion on how one can reassign the numbering of the displays?


AMD Ryzen 5 2400G + RX 480 and two displays – how to set up?

I have a computer with an Ryzen 5 2400G APU on a B450M-Chipset and a separate AMD RX 480 Graphic Card. I’m using two displays.

I want to install Ubuntu, using the APU for the gnome desktop as default and the RX 480 for PCI passthrough into a virtual windows machine.

There are several problems, i didn’t found any hints (perhaps i’m just do dumb to use the correct words for a better search):

  • How do i have to connect the graphic adapters with the displays? Do i have to connect every adapter with one display or can i connect both on one display?
  • is ubuntu capable of running two display adapters at the same time? Where can i find information about configuring X11 correctly?
  • is there something i need to know to run applications with graphic output?
  • has somebody already experience in using two AMD graphic adapters at the same time? Could i get a conflict with the driver software?

Thx for reply 🙂

Is compressed air effective to clean a 2018 MacBook Pro keyboard which displays repeated keypresses?

My 2018 15″ retina MacBook Pro is starting to display the dreaded keyboard defects. Specifically, the “A” key started to register double keypresses. Initially this was very infrequent, but it appears to be getting worse. I would estimate that, in the last few minutes, about 5-10% of the time, a repeat keypress is happening.

Although I could take the computer to an authorized repair shop as it’s still under warranty (and I bought AppleCare for it), I know the turnaround time is fairly long, and this is the only computer I can realistically use without immensely disrupting my workflow. Also, there is no Apple Store within 500 km of my location. Therefore, I set out to look for DIY fixes.

I found this support document on Apple’s site recommending the use of compressed air as a possible fix to the issue. I have an oil-free air compressor that I could use to apply compressed air to the keyboard.

However, I’m somewhat afraid of doing this. Although this is an Apple recommended procedure, I can’t help but think this is aggressive procedure applied to a very delicate mechanism. In particular, I’m afraid my compressed air source may have a small rate of dust contamination which may actually worsen the problem. Has anyone actually used this procedure on a 2018 MacBook Pro keyboard, with the new silicone membrane, to see whether this recommendation is actually effective? I intend to postpone doing this until I see a success report.

Changed default cell in Sheets to today’s date – How do I default it so it displays this cell at startup?

I used this script to default the cell to today’s date – How to make Google Sheets jump to today's row when opened?

function onOpen() {  var ss = SpreadsheetApp.getActiveSpreadsheet();  var sheet = ss.getActiveSheet();  var range = sheet.getRange("A:A");  var values = range.getValues();    var day = 24*3600*1000;    var today = parseInt((new Date().setHours(0,0,0,0))/day);    var ssdate;   for (var i=0; i<values.length; i++) {    try {      ssdate = values[i][0].getTime()/day;    }    catch(e) {    }    if (ssdate && Math.floor(ssdate) == today) {      sheet.setActiveRange(range.offset(i,0,1,1));      break;    }      } } 

The formula works and it’s great. Unfortunately the view still defaults to the top of the sheet but with the selected cell being the today’s date way down the spreadsheet.

I have to press an arrow key and the view will change.

Can I somehow alter the default view to the selected cell? As I’m writing this it may be as easy as scripting the down key after running the initial code.

I’m no coder though so the help would be nice.


phpstorm ssh terminal displays local terminal at program start

The first time I created an ssh terminal connection in PhpStorm with ctrl+shift+A ‘start ssh session…’. This works fine, since I already configured an sftp connection to my remote server.
However, when I close and reopen PhpStorm those ssh terminals are still present (displaying the IP address in the title of the tab) but they are in fact local terminals (see this image), which is weird.
The sftp is working as expected (and the working setup can be viewed here).

Am I missing some appropriate settings or is this maybe a bug in PhpStorm?

Finder-like File manager that displays thumbnails arbitrarily large and allows free movement

I’m looking for a file manager that will make it easier to match up photos. I have two sets of photos with different names, and I need to rename like photos with similar names. I have been using PCManFM, but it has two problems:

  1. I can’t make the thumbnails any large. I need something like OS X where I can set the dimensions of the thumbnails, for instance to 128×128 or 256×256 as my needs change.

  2. I need to be able to drag files around and sit them arbitrarily on the desktop. To do this I need to disable any automatic sorting or positioning of icons (also similar to what OS X provides). In this way I can drag similar files next to each other before they get renamed.

PCManFM does not provide either functionality. I have tried Thunar but while it lets me “zoom in” increasing the thumbnail size it isn’t always enough. In addition, it doesn’t let me disable the automatic sorting and resizing.

I have seen Pantheon but I’m running LUbuntu and don’t want to mess with trying to install it unless I know it will work.

Are there any other file managers that will do this which will easily run on LUbuntu 18.04?

Did an auto-update and now I can’t access the displays control panel through cinnamon

WTH. I did an auto-update and my external monitor stopped being auto-detected. I went and installed lightDM (I really don’t know what lightdm is), and now it detects the monitor, but I still can’t access the GUI-based screen resolution app that ships with ubuntu. I could probably hack with xrandr but honestly I’ve had a couple of glasses of wine and this isn’t what I need right now.

I want to make my big external monitor the default monitor. I installed ARandR but look what it gives me:

enter image description here

The menu bars are wacky funhouse size. WTH. Plus when I log out and back in the settings aren’t persistent.

What’s going on here. Are the good people at canonical too busy with their kuberneets to keep this shit usable? Help! How can I make the display manager app available after the upgrade? Why doesn’t it show in cinnamon?

Here’s what xrandr says:

Screen 0: minimum 320 x 200, current 2560 x 1440, maximum 8192 x 8192 eDP-1 connected (normal left inverted right x axis y axis)    3200x1800     59.70 +    2880x1620     59.96    59.97      2560x1600     59.99    59.97      2560x1440     59.99    59.99    59.96    59.95      2048x1536     60.00      1920x1440     60.00      1856x1392     60.01      1792x1344     60.01      2048x1152     59.99    59.98    59.90    59.91      1920x1200     59.88    59.95      1920x1080     60.01    59.97    59.96    59.93      1600x1200     60.00      1680x1050     59.95    59.88      1600x1024     60.17      1400x1050     59.98      1600x900      59.99    59.94    59.95    59.82      1280x1024     60.02      1440x900      59.89      1400x900      59.96    59.88      1280x960      60.00      1440x810      60.00    59.97      1368x768      59.88    59.85      1360x768      59.80    59.96      1280x800      59.99    59.97    59.81    59.91      1152x864      60.00      1280x720      60.00    59.99    59.86    59.74      1024x768      60.04    60.00      960x720       60.00      928x696       60.05      896x672       60.01      1024x576      59.95    59.96    59.90    59.82      960x600       59.93    60.00      960x540       59.96    59.99    59.63    59.82      800x600       60.00    60.32    56.25      840x525       60.01    59.88      864x486       59.92    59.57      800x512       60.17      700x525       59.98      800x450       59.95    59.82      640x512       60.02      720x450       59.89      700x450       59.96    59.88      640x480       60.00    59.94      720x405       59.51    58.99      684x384       59.88    59.85      680x384       59.80    59.96      640x400       59.88    59.98      576x432       60.06      640x360       59.86    59.83    59.84    59.32      512x384       60.00      512x288       60.00    59.92      480x270       59.63    59.82      400x300       60.32    56.34      432x243       59.92    59.57      320x240       60.05      360x202       59.51    59.13      320x180       59.84    59.32   DP-1 disconnected (normal left inverted right x axis y axis) HDMI-1 disconnected (normal left inverted right x axis y axis) HDMI-2 connected primary 2560x1440+0+0 (normal left inverted right x axis y axis) 608mm x 345mm    3840x2160     30.00 +  25.00    24.00    29.97    23.98      2560x1440     59.95*     1920x1080     60.00    50.00    59.94    30.00    24.00    29.97    23.98      1680x1050     59.88      1600x900      60.00      1280x1024     75.02    60.02      1440x900      59.90      1280x800      59.91      1152x864      75.00      1280x720      60.00    50.00    59.94      1024x768      75.03    70.07    60.00      832x624       74.55      800x600       72.19    75.00    60.32    56.25      720x576       50.00      720x480       60.00    59.94      640x480       75.00    72.81    66.67    60.00    59.94      720x400       70.08   

Migrating body text from 7 to 8, markup displays until edited and saved

I’m migrating nodes and have run into a problem with the text formats when mapping our old site’s input formats to the new site’s input formats. (We’re simplifying!)

Relevant yaml:

  body:     plugin: sub_process     source: body     process:       value: value       format:         plugin: static_map         bypass: true         source: body_format         map:           'plain_text': basic_html           'basic_tags': basic_html           'minimal_formatting': basic_html           'filtered_html': basic_html           'extended_tags': full_html           'full_html': full_html 

When I run this, all the content and formats are imported correctly, but the nodes all display the markup on the page until each node is edited and saved.

What could be causing this and how might I go about fixing it?