Skip to content

Commit

Permalink
Steam Deck reset sudo password
Browse files Browse the repository at this point in the history
  • Loading branch information
FrankNine committed Nov 11, 2024
1 parent d9ec289 commit 1a159b2
Show file tree
Hide file tree
Showing 71 changed files with 492 additions and 207 deletions.
6 changes: 3 additions & 3 deletions 404.html
Original file line number Diff line number Diff line change
Expand Up @@ -154,12 +154,12 @@ <h1 class="error-emoji"></h1>

<div class="copyright">
<span class="power-by">
%!(EXTRA string=<a class="hexo-link" href="https://gohugo.io">Hugo</a>)
Powered by <a class="hexo-link" href="https://gohugo.io/" rel="noopener noreferrer" target="_blank">Hugo</a>
</span>
<span class="division">|</span>
<span class="theme-info">
-
<a class="theme-link" href="https://github.com/olOwOlo/hugo-theme-even">Even</a>
Theme -
<a class="theme-link" href="https://github.com/olOwOlo/hugo-theme-even" rel="noopener noreferrer" target="_blank">Even</a>
</span>


Expand Down
8 changes: 4 additions & 4 deletions categories/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -146,17 +146,17 @@
<a href="aaefiikmnnnr" class="iconfont icon-itter" title="itter"></a>

<a href="/categories/index.xml" type="application/rss+xml" class="iconfont icon-rss" title="rss"></a>
</div>

<div class="copyright">
<span class="power-by">
%!(EXTRA string=<a class="hexo-link" href="https://gohugo.io">Hugo</a>)
Powered by <a class="hexo-link" href="https://gohugo.io/" rel="noopener noreferrer" target="_blank">Hugo</a>
</span>
<span class="division">|</span>
<span class="theme-info">
-
<a class="theme-link" href="https://github.com/olOwOlo/hugo-theme-even">Even</a>
Theme -
<a class="theme-link" href="https://github.com/olOwOlo/hugo-theme-even" rel="noopener noreferrer" target="_blank">Even</a>
</span>


Expand Down
4 changes: 2 additions & 2 deletions en/404.html
Original file line number Diff line number Diff line change
Expand Up @@ -154,12 +154,12 @@ <h1 class="error-emoji"></h1>

<div class="copyright">
<span class="power-by">
Powered by <a class="hexo-link" href="https://gohugo.io">Hugo</a>
Powered by <a class="hexo-link" href="https://gohugo.io/" rel="noopener noreferrer" target="_blank">Hugo</a>
</span>
<span class="division">|</span>
<span class="theme-info">
Theme -
<a class="theme-link" href="https://github.com/olOwOlo/hugo-theme-even">Even</a>
<a class="theme-link" href="https://github.com/olOwOlo/hugo-theme-even" rel="noopener noreferrer" target="_blank">Even</a>
</span>


Expand Down
4 changes: 2 additions & 2 deletions en/categories/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -149,12 +149,12 @@

<div class="copyright">
<span class="power-by">
Powered by <a class="hexo-link" href="https://gohugo.io">Hugo</a>
Powered by <a class="hexo-link" href="https://gohugo.io/" rel="noopener noreferrer" target="_blank">Hugo</a>
</span>
<span class="division">|</span>
<span class="theme-info">
Theme -
<a class="theme-link" href="https://github.com/olOwOlo/hugo-theme-even">Even</a>
<a class="theme-link" href="https://github.com/olOwOlo/hugo-theme-even" rel="noopener noreferrer" target="_blank">Even</a>
</span>


Expand Down
4 changes: 2 additions & 2 deletions en/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -150,12 +150,12 @@

<div class="copyright">
<span class="power-by">
Powered by <a class="hexo-link" href="https://gohugo.io">Hugo</a>
Powered by <a class="hexo-link" href="https://gohugo.io/" rel="noopener noreferrer" target="_blank">Hugo</a>
</span>
<span class="division">|</span>
<span class="theme-info">
Theme -
<a class="theme-link" href="https://github.com/olOwOlo/hugo-theme-even">Even</a>
<a class="theme-link" href="https://github.com/olOwOlo/hugo-theme-even" rel="noopener noreferrer" target="_blank">Even</a>
</span>


Expand Down
4 changes: 2 additions & 2 deletions en/tags/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -148,12 +148,12 @@

<div class="copyright">
<span class="power-by">
Powered by <a class="hexo-link" href="https://gohugo.io">Hugo</a>
Powered by <a class="hexo-link" href="https://gohugo.io/" rel="noopener noreferrer" target="_blank">Hugo</a>
</span>
<span class="division">|</span>
<span class="theme-info">
Theme -
<a class="theme-link" href="https://github.com/olOwOlo/hugo-theme-even">Even</a>
<a class="theme-link" href="https://github.com/olOwOlo/hugo-theme-even" rel="noopener noreferrer" target="_blank">Even</a>
</span>


Expand Down
23 changes: 17 additions & 6 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@

<meta itemprop="name" content="Northern Wind">
<meta itemprop="description" content="Maybe you will get some, maybe you won&#39;t">
<meta itemprop="datePublished" content="2024-02-27T17:00:00+08:00">
<meta itemprop="dateModified" content="2024-02-27T17:00:00+08:00">
<meta itemprop="datePublished" content="2024-11-11T21:00:00+08:00">
<meta itemprop="dateModified" content="2024-11-11T21:00:00+08:00">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="Northern Wind">
<meta name="twitter:description" content="Maybe you will get some, maybe you won&#39;t">
Expand Down Expand Up @@ -135,6 +135,17 @@
<h2 class="archive-year">2024</h2>
</div>

<div class="archive-post">
<span class="archive-post-time">
2024-11-11
</span>
<span class="archive-post-title">
<a href="https://www.chunfuchao.com/posts/steam-deck-reset-sudo-password/" class="archive-post-link">
Steam Deck 重置 sudo 密碼
</a>
</span>
</div>

<div class="archive-post">
<span class="archive-post-time">
2024-02-27
Expand Down Expand Up @@ -812,17 +823,17 @@ <h2 class="archive-year">2010</h2>
<a href="aaefiikmnnnr" class="iconfont icon-itter" title="itter"></a>

<a href="/index.xml" type="application/rss+xml" class="iconfont icon-rss" title="rss"></a>
</div>

<div class="copyright">
<span class="power-by">
%!(EXTRA string=<a class="hexo-link" href="https://gohugo.io">Hugo</a>)
Powered by <a class="hexo-link" href="https://gohugo.io/" rel="noopener noreferrer" target="_blank">Hugo</a>
</span>
<span class="division">|</span>
<span class="theme-info">
-
<a class="theme-link" href="https://github.com/olOwOlo/hugo-theme-even">Even</a>
Theme -
<a class="theme-link" href="https://github.com/olOwOlo/hugo-theme-even" rel="noopener noreferrer" target="_blank">Even</a>
</span>


Expand Down
26 changes: 25 additions & 1 deletion index.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,31 @@
<description>Recent content on Northern Wind</description>
<generator>Hugo -- gohugo.io</generator>
<language>zh-TW</language>
<lastBuildDate>Tue, 27 Feb 2024 17:00:00 +0800</lastBuildDate><atom:link href="https://www.chunfuchao.com/index.xml" rel="self" type="application/rss+xml" />
<lastBuildDate>Mon, 11 Nov 2024 21:00:00 +0800</lastBuildDate><atom:link href="https://www.chunfuchao.com/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>Steam Deck 重置 sudo 密碼</title>
<link>https://www.chunfuchao.com/posts/steam-deck-reset-sudo-password/</link>
<pubDate>Mon, 11 Nov 2024 21:00:00 +0800</pubDate>

<guid>https://www.chunfuchao.com/posts/steam-deck-reset-sudo-password/</guid>
<description>&lt;p&gt;之前裝 &lt;a href=&#34;https://decky.xyz/&#34;&gt;Decky Loader&lt;/a&gt; 設定了 &lt;code&gt;deck&lt;/code&gt; 使用者的密碼,結果現在要用 sudo 的時候發現忘記了。參考 &lt;a href=&#34;https://www.reddit.com/r/SteamDeck/comments/16akwrf/steam_deck_tutorial_updated_reset_forgotten_sudo/&#34;&gt;Reddit&lt;/a&gt; 的步驟成功重置了。步驟如下:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;將 Steam Deck 關機&lt;/li&gt;
&lt;li&gt;接上鍵盤&lt;/li&gt;
&lt;li&gt;按住主機右下三個點的按鈕後,按一下電源鍵&lt;/li&gt;
&lt;li&gt;成功的話應該會進入 Recovery Menu&lt;/li&gt;
&lt;li&gt;選擇 &lt;code&gt;Current SteamOS + Boot Menu&lt;/code&gt;(應該是第三選項)&lt;/li&gt;
&lt;li&gt;接者會出現 GRUB Menu,停在 SteamOS 選項上(應該是第一選項)按下 E 執行 &lt;code&gt;[E] Edit Selection&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;會出現許多命令,用方向鍵往下捲,直到停在 &lt;code&gt;steamenv_boot&lt;/code&gt; 開頭的一行上&lt;/li&gt;
&lt;li&gt;按下 End 鍵到 &lt;code&gt;steamenv_boot&lt;/code&gt; 命令的最後,加上 &lt;code&gt; - systemd.debug_shell&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;按下 Ctrl+X 重開機&lt;/li&gt;
&lt;li&gt;到主畫面按下 Ctrl+Alt+F9 開啟 Debug Shell&lt;/li&gt;
&lt;li&gt;輸入 &lt;code&gt;passwd deck&lt;/code&gt; 後輸入新密碼兩次&lt;/li&gt;
&lt;li&gt;成功後 Ctrl+Alt+F1 關閉 Debug Shell&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;這樣應該就可以了。&lt;/p&gt;</description>
</item>

<item>
<title>Years of the Devil</title>
<link>https://www.chunfuchao.com/posts/years-of-the-devil/</link>
Expand Down
6 changes: 3 additions & 3 deletions posts/adb-tcp-mode/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -193,12 +193,12 @@

<div class="copyright">
<span class="power-by">
%!(EXTRA string=<a class="hexo-link" href="https://gohugo.io">Hugo</a>)
Powered by <a class="hexo-link" href="https://gohugo.io/" rel="noopener noreferrer" target="_blank">Hugo</a>
</span>
<span class="division">|</span>
<span class="theme-info">
-
<a class="theme-link" href="https://github.com/olOwOlo/hugo-theme-even">Even</a>
Theme -
<a class="theme-link" href="https://github.com/olOwOlo/hugo-theme-even" rel="noopener noreferrer" target="_blank">Even</a>
</span>


Expand Down
6 changes: 3 additions & 3 deletions posts/android-gpu-profilers/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -251,12 +251,12 @@ <h3 id="intel-graphics-frame-analyer">Intel Graphics Frame Analyer</h3>

<div class="copyright">
<span class="power-by">
%!(EXTRA string=<a class="hexo-link" href="https://gohugo.io">Hugo</a>)
Powered by <a class="hexo-link" href="https://gohugo.io/" rel="noopener noreferrer" target="_blank">Hugo</a>
</span>
<span class="division">|</span>
<span class="theme-info">
-
<a class="theme-link" href="https://github.com/olOwOlo/hugo-theme-even">Even</a>
Theme -
<a class="theme-link" href="https://github.com/olOwOlo/hugo-theme-even" rel="noopener noreferrer" target="_blank">Even</a>
</span>


Expand Down
6 changes: 3 additions & 3 deletions posts/apple-ios-review-and-hot-update/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -180,12 +180,12 @@

<div class="copyright">
<span class="power-by">
%!(EXTRA string=<a class="hexo-link" href="https://gohugo.io">Hugo</a>)
Powered by <a class="hexo-link" href="https://gohugo.io/" rel="noopener noreferrer" target="_blank">Hugo</a>
</span>
<span class="division">|</span>
<span class="theme-info">
-
<a class="theme-link" href="https://github.com/olOwOlo/hugo-theme-even">Even</a>
Theme -
<a class="theme-link" href="https://github.com/olOwOlo/hugo-theme-even" rel="noopener noreferrer" target="_blank">Even</a>
</span>


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -181,12 +181,12 @@

<div class="copyright">
<span class="power-by">
%!(EXTRA string=<a class="hexo-link" href="https://gohugo.io">Hugo</a>)
Powered by <a class="hexo-link" href="https://gohugo.io/" rel="noopener noreferrer" target="_blank">Hugo</a>
</span>
<span class="division">|</span>
<span class="theme-info">
-
<a class="theme-link" href="https://github.com/olOwOlo/hugo-theme-even">Even</a>
Theme -
<a class="theme-link" href="https://github.com/olOwOlo/hugo-theme-even" rel="noopener noreferrer" target="_blank">Even</a>
</span>


Expand Down
6 changes: 3 additions & 3 deletions posts/assets-objects-and-serialization/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -279,12 +279,12 @@ <h3 id="18-載入大型階層結構hierarchy">1.8 載入大型階層結構(Hie

<div class="copyright">
<span class="power-by">
%!(EXTRA string=<a class="hexo-link" href="https://gohugo.io">Hugo</a>)
Powered by <a class="hexo-link" href="https://gohugo.io/" rel="noopener noreferrer" target="_blank">Hugo</a>
</span>
<span class="division">|</span>
<span class="theme-info">
-
<a class="theme-link" href="https://github.com/olOwOlo/hugo-theme-even">Even</a>
Theme -
<a class="theme-link" href="https://github.com/olOwOlo/hugo-theme-even" rel="noopener noreferrer" target="_blank">Even</a>
</span>


Expand Down
6 changes: 3 additions & 3 deletions posts/assets-resources-and-assetbundles/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -180,12 +180,12 @@

<div class="copyright">
<span class="power-by">
%!(EXTRA string=<a class="hexo-link" href="https://gohugo.io">Hugo</a>)
Powered by <a class="hexo-link" href="https://gohugo.io/" rel="noopener noreferrer" target="_blank">Hugo</a>
</span>
<span class="division">|</span>
<span class="theme-info">
-
<a class="theme-link" href="https://github.com/olOwOlo/hugo-theme-even">Even</a>
Theme -
<a class="theme-link" href="https://github.com/olOwOlo/hugo-theme-even" rel="noopener noreferrer" target="_blank">Even</a>
</span>


Expand Down
6 changes: 3 additions & 3 deletions posts/awkward-silence/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -186,12 +186,12 @@

<div class="copyright">
<span class="power-by">
%!(EXTRA string=<a class="hexo-link" href="https://gohugo.io">Hugo</a>)
Powered by <a class="hexo-link" href="https://gohugo.io/" rel="noopener noreferrer" target="_blank">Hugo</a>
</span>
<span class="division">|</span>
<span class="theme-info">
-
<a class="theme-link" href="https://github.com/olOwOlo/hugo-theme-even">Even</a>
Theme -
<a class="theme-link" href="https://github.com/olOwOlo/hugo-theme-even" rel="noopener noreferrer" target="_blank">Even</a>
</span>


Expand Down
6 changes: 3 additions & 3 deletions posts/bet-on-it/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -192,12 +192,12 @@

<div class="copyright">
<span class="power-by">
%!(EXTRA string=<a class="hexo-link" href="https://gohugo.io">Hugo</a>)
Powered by <a class="hexo-link" href="https://gohugo.io/" rel="noopener noreferrer" target="_blank">Hugo</a>
</span>
<span class="division">|</span>
<span class="theme-info">
-
<a class="theme-link" href="https://github.com/olOwOlo/hugo-theme-even">Even</a>
Theme -
<a class="theme-link" href="https://github.com/olOwOlo/hugo-theme-even" rel="noopener noreferrer" target="_blank">Even</a>
</span>


Expand Down
6 changes: 3 additions & 3 deletions posts/choose-boring-technology/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -178,12 +178,12 @@

<div class="copyright">
<span class="power-by">
%!(EXTRA string=<a class="hexo-link" href="https://gohugo.io">Hugo</a>)
Powered by <a class="hexo-link" href="https://gohugo.io/" rel="noopener noreferrer" target="_blank">Hugo</a>
</span>
<span class="division">|</span>
<span class="theme-info">
-
<a class="theme-link" href="https://github.com/olOwOlo/hugo-theme-even">Even</a>
Theme -
<a class="theme-link" href="https://github.com/olOwOlo/hugo-theme-even" rel="noopener noreferrer" target="_blank">Even</a>
</span>


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -421,12 +421,12 @@ <h4 id="參考資料">參考資料</h4>

<div class="copyright">
<span class="power-by">
%!(EXTRA string=<a class="hexo-link" href="https://gohugo.io">Hugo</a>)
Powered by <a class="hexo-link" href="https://gohugo.io/" rel="noopener noreferrer" target="_blank">Hugo</a>
</span>
<span class="division">|</span>
<span class="theme-info">
-
<a class="theme-link" href="https://github.com/olOwOlo/hugo-theme-even">Even</a>
Theme -
<a class="theme-link" href="https://github.com/olOwOlo/hugo-theme-even" rel="noopener noreferrer" target="_blank">Even</a>
</span>


Expand Down
6 changes: 3 additions & 3 deletions posts/engineering-entrepreneurship/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -236,12 +236,12 @@

<div class="copyright">
<span class="power-by">
%!(EXTRA string=<a class="hexo-link" href="https://gohugo.io">Hugo</a>)
Powered by <a class="hexo-link" href="https://gohugo.io/" rel="noopener noreferrer" target="_blank">Hugo</a>
</span>
<span class="division">|</span>
<span class="theme-info">
-
<a class="theme-link" href="https://github.com/olOwOlo/hugo-theme-even">Even</a>
Theme -
<a class="theme-link" href="https://github.com/olOwOlo/hugo-theme-even" rel="noopener noreferrer" target="_blank">Even</a>
</span>


Expand Down
6 changes: 3 additions & 3 deletions posts/everything-you-do-is-ultimately-pointless/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -185,12 +185,12 @@ <h4>畢業過了十年重寫一次 Ray Tracer 發現真是教測試的好題目

<div class="copyright">
<span class="power-by">
%!(EXTRA string=<a class="hexo-link" href="https://gohugo.io">Hugo</a>)
Powered by <a class="hexo-link" href="https://gohugo.io/" rel="noopener noreferrer" target="_blank">Hugo</a>
</span>
<span class="division">|</span>
<span class="theme-info">
-
<a class="theme-link" href="https://github.com/olOwOlo/hugo-theme-even">Even</a>
Theme -
<a class="theme-link" href="https://github.com/olOwOlo/hugo-theme-even" rel="noopener noreferrer" target="_blank">Even</a>
</span>


Expand Down
6 changes: 3 additions & 3 deletions posts/expedition/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -216,12 +216,12 @@

<div class="copyright">
<span class="power-by">
%!(EXTRA string=<a class="hexo-link" href="https://gohugo.io">Hugo</a>)
Powered by <a class="hexo-link" href="https://gohugo.io/" rel="noopener noreferrer" target="_blank">Hugo</a>
</span>
<span class="division">|</span>
<span class="theme-info">
-
<a class="theme-link" href="https://github.com/olOwOlo/hugo-theme-even">Even</a>
Theme -
<a class="theme-link" href="https://github.com/olOwOlo/hugo-theme-even" rel="noopener noreferrer" target="_blank">Even</a>
</span>


Expand Down
Loading

0 comments on commit 1a159b2

Please sign in to comment.