{"id":42477,"date":"2022-07-24T15:54:46","date_gmt":"2022-07-24T15:54:46","guid":{"rendered":"https:\/\/ubuntuhandbook.org\/?p=42477"},"modified":"2022-07-24T15:54:46","modified_gmt":"2022-07-24T15:54:46","slug":"unlockr-simple-app-remove-pdf-password","status":"publish","type":"post","link":"https:\/\/ubuntuhandbook.org\/index.php\/2022\/07\/unlockr-simple-app-remove-pdf-password\/","title":{"rendered":"unlockR &#8211; Stupid Simple App to Remove PDF Password in Linux &#038; Windows"},"content":{"rendered":"<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/07\/unlockr-logo.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-thumbnail wp-image-42478\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/07\/unlockr-logo-250x250.webp\" alt=\"\" width=\"250\" height=\"250\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/07\/unlockr-logo-250x250.webp 250w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/07\/unlockr-logo-300x300.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/07\/unlockr-logo-600x600.webp 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/07\/unlockr-logo-768x768.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/07\/unlockr-logo.webp 1200w\" sizes=\"auto, (max-width: 250px) 100vw, 250px\" \/><\/a><\/p>\n<p>For those want to unlock \/ decrypt PDF files, there&#8217;s now a stupid simple graphical tool to do the job in Linux.<\/p>\n<p>It&#8217;s easy to encrypt you PDF files in Ubuntu Linux since the built-in LibreOffice office suite has the option on &#8216;Export as PDF&#8217; dialog. However, there seems no easy way to remove password for PDF file, other than using <code>qpdf<\/code> command:<\/p>\n<pre>qpdf --decrypt --password=&lt;PASSWORD&gt; input.pdf output.pdf<\/pre>\n<p>unlockR is a new GTK4 application that use Libadwaita to provide a modern simple user interface to decrypt your PDF files.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/07\/unlockr-selectfile-600x461.webp\" alt=\"\" width=\"600\" height=\"461\" class=\"aligncenter size-large wp-image-42481\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/07\/unlockr-selectfile-600x461.webp 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/07\/unlockr-selectfile-300x231.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/07\/unlockr-selectfile.webp 696w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p>\n<p>It&#8217;s so simple that you just need to click &#8216;<i>Open a File<\/i>&#8216; to select your PDF, then type the password, and finally hit &#8216;Decrypt&#8217;. It doesn&#8217;t change the original file, but generates a new PDF without password protect.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/07\/unlockr-dark-600x461.webp\" alt=\"\" width=\"600\" height=\"461\" class=\"aligncenter size-large wp-image-42482\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/07\/unlockr-dark-600x461.webp 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/07\/unlockr-dark-300x231.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/07\/unlockr-dark.webp 696w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p>\n<p>As the picture shows, it has both light and dark mode that switches automatically according your system color scheme.<\/p>\n<p><b>NOTE: This app is NOT about to crack password on a PDF file. You need the password to be able to decrypt it.<\/b><\/p>\n<h3>How to Install unlockR<\/h3>\n<p>It is a free open-software software works on both Linux and Windows. For Windows package, just grab the zip from github releases page:<\/p>\n<div class=\"wp-block-buttons aligncenter\">\n<div class=\"wp-block-button is-style-fill\"><a class=\"wp-block-button__link has-vivid-cyan-blue-to-vivid-purple-gradient-background has-text-color has-background\" href=\"https:\/\/github.com\/jkotra\/unlockr\/releases\" target=\"_blank\" rel=\"noreferrer noopener\">unlockR releases<\/a><\/div>\n<\/div>\n<p>For Linux, it offers the binary package via universal <a href=\"https:\/\/flathub.org\/apps\/details\/com.github.jkotra.unlockr\" rel=\"noopener\" target=\"_blank\">Flatpak<\/a>. Ubuntu user need to first press <b>Ctrl+Alt+T<\/b> on keyboard to open terminal, and run command to install the Flatpak daemon:<\/p>\n<pre>sudo apt install flatpak<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/04\/apt-flatpak-jammy-600x229.webp\" alt=\"\" width=\"600\" height=\"229\" class=\"aligncenter size-large wp-image-39141\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/04\/apt-flatpak-jammy-600x229.webp 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/04\/apt-flatpak-jammy-300x115.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/04\/apt-flatpak-jammy-768x294.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/04\/apt-flatpak-jammy.webp 777w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p>\n<p>Next, install the app package via command:<\/p>\n<pre>flatpak install https:\/\/dl.flathub.org\/repo\/appstream\/com.github.jkotra.unlockr.flatpakref<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/07\/flatpak-unlockr-600x407.webp\" alt=\"\" width=\"600\" height=\"407\" class=\"aligncenter size-large wp-image-42483\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/07\/flatpak-unlockr-600x407.webp 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/07\/flatpak-unlockr-300x203.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/07\/flatpak-unlockr-768x521.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/07\/flatpak-unlockr.webp 786w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p>\n<p>Like normal applications, search for and open it from &#8216;Activities&#8217; overview (or start menu) after installation.<\/p>\n<h3>Uninstall:<\/h3>\n<p>To remove the Flatpak package, open terminal and run command:<\/p>\n<pre>flatpak uninstall --delete-data com.github.jkotra.unlockr<\/pre>\n<p>You may also clear useless runtime libraries via <code>flatpak uninstall --unused<\/code>.<\/p>","protected":false},"excerpt":{"rendered":"<p>For those want to unlock \/ decrypt PDF files, there&#8217;s now a stupid simple graphical tool to do the job in Linux. It&#8217;s easy to encrypt you PDF files in Ubuntu Linux since the built-in LibreOffice office suite has the option on &#8216;Export as PDF&#8217; dialog. However, there seems no easy way to remove password [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":42478,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[2035],"class_list":["post-42477","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-howtos","tag-pdf"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/42477","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/comments?post=42477"}],"version-history":[{"count":0,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/42477\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media\/42478"}],"wp:attachment":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media?parent=42477"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/categories?post=42477"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/tags?post=42477"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}