Jump to content

Show off your Desktop - May 2006


Recommended Posts

  • Replies 39
  • Created
  • Last Reply

Top Posters In This Topic

My beloved Mandriva box. :woops: Again very minimalistic. Sadly I have no real use for endless eyecandy stuff. It annoys and distracts me way too often. We minimalists have a hard life, don't we? :mellow:

Link to comment
Share on other sites

What is a CLI command to print a system info? 10x!

 

This is what I used:

 

#!/bin/bash
clear
echo -----------------=[ System Information ]=---------------------
printf "%-16s\t%-16s\n" "Operating System" `uname -o`
printf "%-16s\t%-16s\n" "Arch Type" `uname -p`
printf "%-16s\t%-16s\n" "Kernel Version" `uname -r`
echo -----------------=[ Hardware Information ]=-------------------
cat /proc/cpuinfo | grep "model name"
cat /proc/cpuinfo | grep "cpu MHz"
cat /proc/cpuinfo | grep "bogomips"
cat /proc/cpuinfo | grep "cache size"
echo --------------------------------------------------------------
cat /proc/meminfo | grep "MemTotal"
cat /proc/meminfo | grep "MemFree"
cat /proc/meminfo | grep "SwapTotal"
cat /proc/meminfo | grep "SwapFree"
echo -----------------=[ Desktop  Information ]=-------------------
printf "%-16s\t%-16s\n" "GTK2:" `gconftool-2 --get /desktop/gnome/interface/gtk_theme`
printf "%-16s\t%-16s\n" "Metacity:" `gconftool-2 --get /apps/metacity/general/theme`
printf "%-16s\t%-16s\n" "Icons:" `gconftool-2 --get /desktop/gnome/interface/icon_theme`
echo --------------------------------------------------------------
uptime

 

Which is a trimmed down version of the script cybrjackle posted here: https://mandrivausers.org/index.php?s=&show...ndpost&p=202482

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share


×
×
  • Create New...