Skip to navigation
How to show on my debian xfce desktop the used IP addresses
25.08.15
1. install conky: sudo apt-get install conky-all 2. create a config file called .conkyrc in your home directory: background yes use_xft yes xftfont Sans:size=8 xftalpha 1 update_interval 1.0 total_run_times 0 own_window yes own_window_transparent yes own_window_type desktop own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager double_buffer yes minimum_size 200 200 maximum_width 200 draw_shades yes draw_outline no draw_borders no draw_graph_borders yes default_color white default_shade_color black default_outline_color white #alignment top_right alignment top_left gap_x 12 gap_y 12 no_buffers yes uppercase no cpu_avg_samples 2 TEXT NETWORK ${hr 2} LAN IP: $alignr ${addr eth0} WAN IP: $alignr ${addr wlan0} EXT IP: $alignr ${execi 100 ~/external_ip.sh XXX.XXX.XXX.XXX} 4. create the bash script external_ip.sh inside your home directory: #!/bin/bash dig +short myip.opendns.com 5. execute permission to the bash file: chmod +x external_ip.sh 6. make xfce to start up conky when login Go to K-Menu>Computer>System Settings. Select Startup and Shutdown and click the Add Program button. Type conky and click OK 7. restart
https://help.ubuntu.com/community/SettingUpConky
Reply
Anonymous
Information Epoch 1732581825
Live free or die.
Home
Notebook
Contact us