
{"id":2271,"date":"2023-03-09T20:52:22","date_gmt":"2023-03-09T20:52:22","guid":{"rendered":"https:\/\/opendna.com\/blog\/?p=2271"},"modified":"2024-10-13T18:18:44","modified_gmt":"2024-10-13T18:18:44","slug":"how-to-touchscreen-toggle-a-virtual-keyboard-in-linux-mint","status":"publish","type":"post","link":"https:\/\/opendna.com\/blog\/2023\/03\/09\/how-to-touchscreen-toggle-a-virtual-keyboard-in-linux-mint\/","title":{"rendered":"How To touchscreen-toggle a virtual keyboard in Linux Mint"},"content":{"rendered":"\n<p><strong>Objective<\/strong> Enable toggling of Linux Mint virtual keyboards from touch screens.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Background<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">ASUS TP200SA and Mint Linux<\/h3>\n\n\n\n<p>I recently came into possession of a lightly-used ASUS TP200SA. Because this flipbook shipped with an un-expandable 32GB eMMC on-board hard drive, it&#8217;s a poor fit for a modern Windows installation (users trying to keep Win10 updated will be hampered by insufficient disk space). <a rel=\"noreferrer noopener\" href=\"https:\/\/linuxmint.com\/rel_vera_cinnamon_whatsnew.php\" data-type=\"URL\" data-id=\"https:\/\/linuxmint.com\/rel_vera_cinnamon_whatsnew.php\" target=\"_blank\">Linux Mint 21.1 Cinnamon<\/a> installs easily in the usual way, comes in under 9.5GB of drive space, and provides a snappy experience.<\/p>\n\n\n\n<p>The ASUS TP200SA is a flipbook which folds over into a tablet, so of course I want an on-screen virtual keyboard I can toggle from the touch-screen.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Enabling Virtual Keyboard<\/h3>\n\n\n\n<p>There are plenty of tutorials about enabling Mint Linux&#8217;s virtual keyboard: <\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>System Settings &gt; Preferences &gt; Accessibility &gt; Keyboard &gt; Virtual Keyboard<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/opendna.com\/blog\/wp-content\/uploads\/2023\/03\/Screenshot-from-2023-03-09-17-55-01-1024x576.png\" alt=\"\" class=\"wp-image-2264\"\/><figcaption class=\"wp-element-caption\">Access the &#8220;Accessibility&#8221; menu of the System Settings.<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/opendna.com\/blog\/wp-content\/uploads\/2023\/03\/Screenshot-from-2023-03-09-17-55-29.png\" alt=\"\" class=\"wp-image-2265\"\/><figcaption class=\"wp-element-caption\">Select the &#8220;Keyboard&#8221; tab of the Accessibility settings and enable the Virtual Keyboard. Setting the Activation mode to &#8220;Show keyboard only when the user activates it&#8221; allows the keyboard to be hidden when not in use and avoids activation by applications.<\/figcaption><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">How to enable touch-screen toggling of virtual keyboard<\/h2>\n\n\n\n<p>There are two methods of making virtual keyboard togglable with a touch screen: either from an icon, or by using the Hot Corners setting. I&#8217;ll cover both.<\/p>\n\n\n\n<p>Find &#8220;Virtual keyboard&#8221; in &#8220;All applications&#8221; (use search to make your life easy) and right-click to expand shortcut options. Add the shortcut to the desktop.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" src=\"https:\/\/opendna.com\/blog\/wp-content\/uploads\/2023\/03\/Screenshot-from-2023-03-09-17-59-21-1024x576.png\" alt=\"\" class=\"wp-image-2266\"\/><figcaption class=\"wp-element-caption\">Right-click on the Virtual Keyboard setting and &#8220;Add to desktop&#8221;<\/figcaption><\/figure>\n<\/div>\n\n\n<p>If you&#8217;re happy taping an icon to toggle the on-screen keyboard, you&#8217;re done. If you&#8217;d prefer to use a touch-screen hotzone, continue below.<\/p>\n\n\n\n<p>Right-click on the &#8220;Virtual keyboard&#8221; icon and open its Properties. Copy the Command string, which is something like this:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>dbus-send ---print-reply --dest=org.Cinnamon \/org\/Cinnamon org.Cinnamon.ToggleKeyboard<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/opendna.com\/blog\/wp-content\/uploads\/2023\/03\/Screenshot-from-2023-03-09-18-00-35-1024x576.png\" alt=\"\" class=\"wp-image-2268\"\/><figcaption class=\"wp-element-caption\">Right-click on the &#8220;Virtual keyboard&#8221; icon and open Properties. Copy the Command string. (Yes, it works in the CLI too.)<\/figcaption><\/figure>\n\n\n\n<p>Return to System Settings and open the Hot Corners setting, which allows you to bind app-launchers and command strings to each of the four corners of a touch-screen.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/opendna.com\/blog\/wp-content\/uploads\/2023\/03\/Screenshot-from-2023-03-09-18-01-55-1024x576.png\" alt=\"\" class=\"wp-image-2269\"\/><figcaption class=\"wp-element-caption\">Return to System Settings and open the &#8220;Hot Corners&#8221; setting.<\/figcaption><\/figure>\n\n\n\n<p>Enable a corner with the &#8220;Run a command&#8221; option and paste the command string for the virtual keyboard. Close and test.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/opendna.com\/blog\/wp-content\/uploads\/2023\/03\/Screenshot-from-2023-03-09-18-02-26-1024x576.png\" alt=\"\" class=\"wp-image-2270\"\/><figcaption class=\"wp-element-caption\">Enable one of the corners to &#8220;Run a command&#8221; and paste the string.<\/figcaption><\/figure>\n\n\n\n<p class=\"has-text-align-left\">Once you have the command string to toggle the virtual keyboard, there are any number of ways you could call it. If you come up with a cool or fun use for this command, please let me know.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A brief tutorial to enable touch-screen toggling of the virtual keyboard in Linux Mint.<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"webmentions_disabled_pings":false,"webmentions_disabled":false,"activitypub_content_warning":"","activitypub_content_visibility":"","activitypub_max_image_attachments":3,"activitypub_interaction_policy_quote":"anyone","activitypub_status":"federate","footnotes":""},"categories":[190],"tags":[644,138,199,641,646,642,643],"class_list":["post-2271","post","type-post","status-publish","format-standard","hentry","category-builds","tag-asus-tp200sa","tag-howto","tag-linux","tag-linux-desktop","tag-linux-mint","tag-touch-screen","tag-tutorial"],"_links":{"self":[{"href":"https:\/\/opendna.com\/blog\/wp-json\/wp\/v2\/posts\/2271","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/opendna.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/opendna.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/opendna.com\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/opendna.com\/blog\/wp-json\/wp\/v2\/comments?post=2271"}],"version-history":[{"count":4,"href":"https:\/\/opendna.com\/blog\/wp-json\/wp\/v2\/posts\/2271\/revisions"}],"predecessor-version":[{"id":2278,"href":"https:\/\/opendna.com\/blog\/wp-json\/wp\/v2\/posts\/2271\/revisions\/2278"}],"wp:attachment":[{"href":"https:\/\/opendna.com\/blog\/wp-json\/wp\/v2\/media?parent=2271"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/opendna.com\/blog\/wp-json\/wp\/v2\/categories?post=2271"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/opendna.com\/blog\/wp-json\/wp\/v2\/tags?post=2271"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}