<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Lock – Yeri Tiete</title>
    <link>https://yeri.be/tag/lock/</link>
    <description>Yeri Tiete&#39;s blog</description>
    <language>en</language>
    <copyright>© Yeri Tiete</copyright>
    <lastBuildDate>Mon, 04 Oct 2010 15:52:53 +0200</lastBuildDate>
    <atom:link href="https://yeri.be/tag/lock/index.xml" rel="self" type="application/rss+xml" />
    
    <item>
      <title>Mac OS X lock screen</title>
      <link>https://yeri.be/mac-os-x-lock-screen/</link>
      <pubDate>Mon, 04 Oct 2010 15:52:53 +0200</pubDate>
      <author>Yeri Tiete</author>
      <guid isPermaLink="true">https://yeri.be/mac-os-x-lock-screen/</guid>
      <description>&lt;p&gt;I&amp;rsquo;m now working at a company with somewhat sensitive data and I&amp;rsquo;m still using my Macbook Pro.&lt;/p&gt;&#xA;&lt;p&gt;However, as there is no handy way to lock a screen (like Windows+L on Wintendo machines)&amp;hellip; And when I&amp;rsquo;m at home, I don&amp;rsquo;t want to fill in my password each time the screensaver jumps on. So I created this AppleScript after some Googling.&lt;/p&gt;&#xA;&lt;p&gt;Sure, you can use Keychain Access, but that adds yet another icon to my menu bar.&lt;/p&gt;</description>
      <content:encoded><![CDATA[<p>I&rsquo;m now working at a company with somewhat sensitive data and I&rsquo;m still using my Macbook Pro.</p>
<p>However, as there is no handy way to lock a screen (like Windows+L on Wintendo machines)&hellip; And when I&rsquo;m at home, I don&rsquo;t want to fill in my password each time the screensaver jumps on. So I created this AppleScript after some Googling.</p>
<p>Sure, you can use Keychain Access, but that adds yet another icon to my menu bar.</p>
<p>Anyway, here is the simple AppleScript line (<span style="text-decoration: underline;">remove</span> the new line):</p>
<pre style="padding-left: 30px;">do shell script "/System/Library/CoreServices/Menu\\
Extras/User.menu/Contents/Resources/CGSession -suspend"</pre>
<p>And compiled as application <a href="https://static.yeri.be/2010/10/Lock-Screen.zip" target="_blank" rel="noopener noreferrer">downloadable here</a>.</p>
<p>Be sure to uncheck &ldquo;Disconnect when logging out&rdquo; from your Network properties in System Preferences.</p>
]]></content:encoded>
      <category>apple</category><category>software</category>
      <category>lock</category>
    </item>
    
  </channel>
</rss>
