How do I enable *all* keys on the touchscreen keyboard?

Don’t get me wrong, I’m grateful that we have a touchscreen keyboard.

All the good keys are there for normal language…

Touchscreen keyboard in 19.04 alphabet keys

Keys are there to get into vim command mode….

Touchscreen keyboard in 19.04 symbol keys

And I can write my bash scripts in emoji!

Touchscreen keyboard in 19.04 emoji keys

But wait, now I’m stuck!

How do I:

  • ESC (escape command mode in vi??) Can’t get back my work!!
  • CTRL (I can’t CTRL+Z to jump back to the same shell)
  • ARROW KEYS (How am I ever going to play Kings Quest on DosBox???)



SELinux is set to permissive but it’s disabled, how to enable it?

I want to enable SELinux on my VPS but I can’t do it.

/etc/selinux/config :

# This file controls the state of SELinux on the system. # SELINUX= can take one of these three values: # enforcing - SELinux security policy is enforced. # permissive - SELinux prints warnings instead of enforcing. # disabled - No SELinux policy is loaded. SELINUX=permissive # SELINUXTYPE= can take one of these two values: # default - equivalent to the old strict and targeted policies # mls     - Multi-Level Security (for military and educational use) # src     - Custom policy built from source SELINUXTYPE=default  # SETLOCALDEFS= Check local definition changes SETLOCALDEFS=0 

As you can see, I did not set it to disabled in the config file. But it is disabled:

root@vpsxxxxx:/home/username# sestatus SELinux status:                 disabled 

I restarted the VPS from the provider’s website client interface, but it is still disabled.

How to enable logging for smbd on MacOS Mojave 10.14.5?

I would like to enable logging on my file sharing service. (It’s crashing intermittently and I can’t figure out why.)

When I inspect the plist for the file sharing service smbd on my Mac running Mojave, I see:

user@mac:~ $    plutil -p /Library/Preferences/SystemConfiguration/  {   "AclsEnabled" => 1   "DOSCodePage" => "437"   "LocalKerberosRealm" => "LKDC:SHA1..."   "LogLevel" => 0   "NetBIOSName" => "transom"   "ServerDescription" => "Transom"   "SigningRequired" => 0 } 

So, it looks like logging is configured with the parameter “LogLevel”. I’ve read the smbd man page, and it’s not much help, with this parameter.

  • What are the allowed log levels?
  • Which level is best for debugging smbd crashes?
  • What’s the preferred method for tweaking a value? (plutil can set, or…)

Trackpad’s accessibility setting Enable Dragging gets randomly tuned off

I enable System Preferences → Accessibility Mouse & Trackpad → Trackpad Options… Enable dragging. However, it gets unchecked (disabled) on its own. It happens after a few hours, as I face this issue at least once a day.

enter image description here

Does anyone know the cause or the solution? I’m using 13″ 2015 MacBook Pro running macOS Mojave 10.14.5. Nothing else is installed that can muddle the Trackpad settings.

Enable data and sms on CDMA network programmed number Galaxy S7 Edge

My Galaxy S7 edge (G935P) sim card slot is broken. It doesn’t recognize any sim card I put. I managed to program my phone number into the phone using CDMA Network. I can make calls, but I can’t send sms texts or enable data. When I try to enable data I get a message “Insert sim card to access network service”. The same thing when I try to send a text “sending failed”. Is there any way to trick the phone to think there’s a sim card when there isn’t.

Ubuntu Studio 19.04: How to enable hibernation with swapfile

So, I installed Ubuntu Studio on a laptop that has 16G of RAM. By default, Ubuntu Studio partitioned it with a single ext4 partition, no swap partition, but with a 2G /swapfile.

I noticed that hibernation isn’t enabled, so I tried to get it enabled. What I’ve done so far:

  • Resized /swapfile to 16G and used mkswap to reformat the swapfile, then activated it with swapon. Now, free -m shows 16G of swap space.

  • Installed pm-utils. Tried to use pm-hibernate, but that didn’t work.

  • Followed instructions from this link (Instructions for Debian, thought this might work for Ubuntu Studio too, since it’s based on Debian):

  • After installing uswsusp from above link, verified I was able to hibernate by manually running s2disk from command line as root.

  • But, now I’m not sure how to get Xfce Power Manager and the Xfce Shutdown menu to give me a hibernation option – Xfce Power Manager says that the hibernate option is not supported.

Enable posting by email

I am participating in a Google Group, and it is not possible to post by email:

Delivery to the following recipient failed permanently:  Technical details of permanent failure: The group does not allow posting through email. 

Is there some documentation online that explains how to enable posting by email, and that I can send to the Group’s owner?

How do I enable letterbox for my display

What I want:

I have a 21″ 16:9 Dell Monitor (as an external monitor for my laptop) that can support resolution upto 1920×1080. I want to use resolution 1680×1050 (aspect ratio 16:10) with letterbox on the sides. (In Windows this is an auto feature and changing stretched vs letterbox is provided in the Display settings.)

Image: 1680×1050 (16:10) resolution being stretched to fill 16:9 display

Added the Custom resolution

I have used the following command lines to add the new resolution (1680×1050) which was not there by default:

$   cvt 1680 1050 60 $   xrandr --newmode "1680x1050_60.00"  146.25  1680 1784 1960 2240  1050 1053 1059 1089 -hsync +vsync $   xrandr --addmode HDMI1 "1680x1050_60.00" 

My quest to a letterbox

Then to have the letterbox, I have tried:

$ xrandr --output HDMI1 --transform 1,0,-100,0,1,0,0,0,1 (moved screen to right)

$ xrandr --output HDMI1 --size 1680x1050 --fb 1680x1050 (did nothing)

$ xrandr --output HDMI1 --mode "1680x1050_60.00" --scale 1.6x1 (stretched display)

$ xrandr --output HDMI1 --set "scaling mode" "Full aspect" (error)

xrandr –prop

running the following command line to get information on my displays:

xrandr --prop 

Note: HDMI1 is the external monitor. LVDS1 is the laptop screen.


Screen 0: minimum 8 x 8, current 1680 x 1050, maximum 32767 x 32767 LVDS1 connected (normal left inverted right x axis y axis)     EDID:          00ffffffffffff004c83514500000000         00160104902213780a8da59d5b559c26         19505400000001010101010101010101         010101010101ce1d56f0500018304030         250058c210000019d81356f050001830         4030250058c210000019000000000000         00000000000000000000000000000002         000c4cff0a3c64151e32640000000023     BACKLIGHT: 3906          range: (0, 4882)     Backlight: 3906          range: (0, 4882)     scaling mode: Full aspect          supported: Full, Center, Full aspect     link-status: Good          supported: Good, Bad     non-desktop: 0          range: (0, 1)    1366x768      59.99 +  39.94      1360x768      59.96      1280x720      59.86    60.00    59.74      1024x768      60.00      1024x576      60.00    59.90    59.82      960x540       60.00    59.63    59.82      800x600       60.32    56.25      864x486       60.00    59.92    59.57      640x480       59.94      720x405       59.51    60.00    58.99      680x384       60.00      640x360       59.84    59.32    60.00   DP1 disconnected (normal left inverted right x axis y axis)     max bpc: 12          range: (6, 12)     Broadcast RGB: Automatic          supported: Automatic, Full, Limited 16:235     audio: auto          supported: force-dvi, off, auto, on     link-status: Good          supported: Good, Bad     non-desktop: 0          range: (0, 1) HDMI1 connected primary 1680x1050+0+0 (normal left inverted right x axis y axis) 480mm x 270mm     EDID:          00ffffffffffff0010acb8d054364530         101b010380301b78eac7b5a756539c27         105054a54b00714f8180a9c0d1c00101         010101010101023a801871382d40582c         4500dc0c1100001e000000ff00525946         3337373448304536540a000000fc0044         454c4c205332323138480a20000000fd         00384c1e5311000a20202020202001f4         02031ef14b90050403021101141f1213         230907078301000065030c001000023a         801871382d40582c4500dc0c1100001e         011d8018711c1620582c2500dc0c1100         009e011d007251d01e206e285500dc0c         1100001e8c0ad08a20e02d10103e9600         dc0c1100001800000000000000000000         000000000000000000000000000000c1     max bpc: 12          range: (8, 12)     content type: No Data          supported: No Data, Graphics, Photo, Cinema, Game     aspect ratio: Automatic          supported: Automatic, 4:3, 16:9     Broadcast RGB: Automatic          supported: Automatic, Full, Limited 16:235     audio: auto          supported: force-dvi, off, auto, on     link-status: Good          supported: Good, Bad     non-desktop: 0          range: (0, 1)    1920x1080     60.00 +  50.00    59.94      1920x1080i    60.00    50.00    59.94      1600x900      60.00      1280x1024     75.02    60.02      1152x864      75.00      1280x720      60.00    50.00    59.94      1024x768      75.03    60.00      800x600       75.00    60.32      720x576       50.00      720x480       60.00    59.94      640x480       75.00    60.00    59.94      720x400       70.08      1680x1050_60.00  59.95*  VGA1 disconnected (normal left inverted right x axis y axis)     link-status: Good          supported: Good, Bad     non-desktop: 0          range: (0, 1) VIRTUAL1 disconnected (normal left inverted right x axis y axis)     non-desktop: 0          supported: 0, 1 

As you can see, my HDMI1 display does not support scaling mode (that LVDS1 does). But I know that letterbox is possible for this monitor as I have done so in Windows 10.


I obviously must be overlooking something and this is just taking too damn long to figure out. Any help would be appreciated.