Sponsored Link
Install Archey in ubuntu
Open the terminal and run the following commands
sudo apt-get install lsb-release scrot
wget http://github.com/downloads/djmelik/archey/archey-0.2.8.deb
sudo dpkg -i archey-0.2.8.deb
Using Archey
You can run archey by running the following command from your terminal
archey
If you want to start Archey automatically once you launch the terminal, then do the following:
Edit .bashrc with this command:
sudo gedit ~/.bashrc
Add the following line
archey
Save and exit the file
“sudo gedit ~/.bashrc” looks like one sudo too much
Nice, but is there a way to make it only work on tty? It’s not much use on terminal emulators like gnome-terminal when I’m in the desktop. Maybe with a little conditional script in the bashrc than check if the bash is starting under X or not? If someone with more programing skills can post it… thanks for the help 🙂
Ok, I did some search and this works:
if [ -z “$DISPLAY” ]; then
archey
fi
Put that in your .bashrc if you only want archey to run in tty’s and not graphical terminals. Also works with framebuffer terminals like fbterm.
Cheers
Does not work on my gnome
It’s cool.
Is there a way to edit what’s displayed?