Linux Programmer | RHCE | RHCSA

Search This Blog

Wednesday, 27 June 2018

Display System information on desktop

Do you want to display system information on desktop without disturbing regular work ?

here is the package which is help to do that.

conky

1. install conky
apt-get install conky-all

2. install conky-manager to make changes from GUI.
  • Add the necessary repository with the command sudo add-apt-repository ppa:teejee2008/ppa
  • Update apt with the command sudo apt-get update
  • Install Conky Manager by issuing the command sudo apt-get install conky-manager
3. open conky-manager 
     Open terminal and type
     $ conky-manager

4. Select any option which you want to add on desktop

5. To add information like ipaddress and macid 

The configuration files are located into .conky folder into the users home directory

 

~/.conky/Green Apple Desktop/conky_seamod

# IP information
${if_existing /proc/net/route wlan0}
${addr wlan0}
${else}${if_existing /proc/net/route eth1}IP ADDRESS
${addr eth1}
${else}
Network disconnected
${endif}${endif}

Mac ID
# Mac ID information
${exec ifconfig eth1 | grep -i addr | grep -i HWaddr | awk '{print$5}'}

 
This will responsible to display IP and macid information in theme

You can also remove the existing not used information from screen by removing it from the file.

6. Another configuration files are located at, 
  ~/.config/conky-manager.json

7. To add it on startup
 
~/.config/autostart/conky.desktop

[Desktop Entry]
Type=Application
Exec=sh "/home/purval/.conky/conky-startup.sh"
Hidden=false
NoDisplay=false
X-GNOME-Autostart-enabled=true
Name[en_IN]=Conky
Name=Conky
Comment[en_IN]=
Comment=


 
You can also do this from conky-manager GUI
 




No comments:

Post a Comment

SSH not working with password after upgrade ubuntu 22.04 or above

In recent upgrade of ubuntu 22.04 and above we are not able to login server with SSH password. but when we try to login with key then it all...