• Pop!_Planet is still very much under development. Data for the wiki is being sourced from the Arch Linux and Ubuntu wikis, along with a bunch of completely unique content specific to Pop!_OS, and sourcing, converting and updating that content takes time; please be patient. If you can't find what you're looking for here, check the Arch Linux and Ubuntu wikis.
  • Welcome!

    I'll get straight to the point.

    When I started Pop!_Planet, I launched it because I saw a need for a centralized community for Pop!_OS. To be frank, I never expected the level of popularity it has achieved. Over the last year, we have gone from under 50 users, to almost 400 users. That's awesome! However... it also comes with a downside. We are rapidly running out of disk space on our server, and the bandwidth costs go up every month.

    Pop!_Planet is not affiliated with System76 in any way, and is funded completely out of pocket. From day one, I said that I'd never use on-site ads (I hate them as much as you do), so the only monetization we get is through donations. Right now, the donations we receive don't even cover our overhead.

    I know that most users will ignore this message, and that's ok. However, if even a few of our users are willing and able to donate a few dollars to help offset our expenses, it would be greatly appreciated.

    Support Pop!_Planet

    Thank you for your time,

    Dan Griffiths
    Pop!_Planet Founder

Clearing the Clipboard

Nezmin2

Member
Feb 20, 2021
34
0
6
52
Idaho
Guy's,
In Manjaro KDE Plasma, I was able to click a setting to clear the clipboard. In PopOS, I am using Gnome and don't see where I can do that. My clipboard history in terminal are getting out of hand and I really would like to clear it. How do I do this?
 

Nezmin2

Member
Feb 20, 2021
34
0
6
52
Idaho
I was not aware they were two different things. When I copy code from a website and paste it into terminal, does it not come from the Clipboard?
 

derpOmattic

Pop!_Muse
Trusted User
Founding Member
Nov 23, 2018
1,904
324
30
www.patreon.com
Yes, in that instance it comes from the clipboard, but once you run it, it is then saved in Bash history. Run history. Or use the up/down arrows on new prompt.

Anyway, do want to clear clipboard, Bash history, or both?
 
  • Like
Reactions: KGIII

derpOmattic

Pop!_Muse
Trusted User
Founding Member
Nov 23, 2018
1,904
324
30
www.patreon.com
How about I just show both. :)

Bash:
Clearing your Bash history can be done with history -cw , but that can be less effective if multiple terminals are open. Using cat /dev/null > ~/.bash_history is the generally accepted thorough way. If you really want to be sure, use cat /dev/null > ~/.bash_history && history -c && exit.

To stop Bash History use unset HISTFILE. Turn back on with set HISTFILE.

To delete selected lines of Bash History use history. Find the number corresponding with what you want to delete, then use history -dw <number>.

Clipboard:

There's actually three clipboards, so you need to do a little research.

From this post, which in turn referenced the Arch Wiki:

You may have to install xclip if you haven't yet.

Clear the X clipboard with xclip -i /dev/null.

Clear the GNOME clipboard with;

Code:
touch blank
xclip -selection clipboard blank
 
Last edited:
  • Like
Reactions: Nezmin2 and cyb0rg

Nezmin2

Member
Feb 20, 2021
34
0
6
52
Idaho
How about I just show both. :)

Bash:
Clearing your Bash history can be done with history -cw , but that can be less effective if multiple terminals are open. Using cat /dev/null > ~/.bash_history is the generally accepted thorough way. If you really want to be sure, use cat /dev/null > ~/.bash_history && history -c && exit.

To stop Bash History use unset HISTFILE. Turn back on with set HISTFILE.

To delete selected lines of Bash History use history. Find the number corresponding with what you want to delete, then use history -dw <number>.

Clipboard:

There's actually three clipboards, so you need to a little research.

From this post, which in turn referenced the Arch Wiki:

You may have to install xclip if you haven't yet.

Clear the X clipboard with xclip -i /dev/null.

Clear the GNOME clipboard with;

Code:
touch blank
xclip -selection clipboard blank
Ok Thanks
 

Members online

Latest projects

Forum statistics

Threads
1,486
Messages
6,712
Members
1,433
Latest member
ducky