Difference between revisions of "User:Pithdillinja"

From ArchWiki
Jump to navigation Jump to search
(Created page with "{{Article summary start}} {{Article summary text|Moderate to advanced Linux user, been using arch since early 2012.}} {{Article summary heading|Major Wiki Contributions}} {{Ar...")
 
Line 14: Line 14:
 
{{Article summary end}}
 
{{Article summary end}}
  
=
+
=My configurations=
 +
 
 +
==ASUS Eee PC 1015PE==
 +
 
 +
===rc.conf===
 +
 
 +
{{Hc|head=/etc/rc.conf|output=<nowiki># LOCALIZATION
 +
# ------------
 +
HARDWARECLOCK="UTC"
 +
TIMEZONE="America/Phoenix"
 +
KEYMAP="us"
 +
CONSOLEFONT=
 +
CONSOLEMAP=
 +
LOCALE="en_US.UTF-8"
 +
DAEMON_LOCALE="yes"
 +
USECOLOR="yes"
 +
 
 +
# HARDWARE
 +
# --------
 +
MODULES=(acpi-cpufreq vboxdrv vboxnetflt)
 +
USEDMRAID="no"
 +
USEBTRFS="no"
 +
USELVM="no"
 +
 
 +
# NETWORKING
 +
# ----------
 +
HOSTNAME=asusarch
 +
 
 +
interface=wlan0
 +
address=
 +
netmask=
 +
broadcast=
 +
gateway=
 +
 
 +
NETWORK_PERSIST="no"
 +
 
 +
# DAEMONS
 +
# -------
 +
#
 +
DAEMONS=(@syslog-ng dbus !acpid networkmanager !network !dhcpcd !wicd @crond @vbox-service @cupsd @alsa slim mpd)</nowiki>}}
 +
 
 +
===mpd===
 +
 
 +
My [[MPD]] configuration is global on one computer. Coupled with the following line from {{ic|/etc/fstab.conf}}, here is my MPD configuration. Also, I use {{Pkg|sonata}} as my frontend.
 +
 
 +
{{Hc|head=/etc/fstab.conf|output=<nowiki>/home/chuck/Music /var/lib/mpd/Music none bind</nowiki>}}
 +
 
 +
{{Hc|head=/etc/mpd.conf|output=<nowiki>
 +
music_directory "/var/lib/mpd/Music"
 +
playlist_directory "/var/lib/mpd/playlists"
 +
db_file "/var/lib/mpd/mpd.db"
 +
log_file "/var/log/mpd/mpd.log"
 +
pid_file "/var/run/mpd/mpd.pid"
 +
state_file "/var/lib/mpd/mpdstate"
 +
user "mpd"
 +
follow_outside_symlinks "yes"
 +
follow_inside_symlinks "yes"
 +
input {
 +
        plugin "curl"
 +
}
 +
audio_output {
 +
type "alsa"
 +
name "My ALSA Device"
 +
mixer_type      "software" # optional
 +
mixer_device "default" # optional
 +
mixer_control "PCM" # optional
 +
}</nowiki>}}
 +
 
 +
===conky===
 +
 
 +
Requires {{Pkg|terminus-fonts}}.
 +
{{Hc|head=~/.conkyrc|output=<nowiki>alignment tr
 +
background no
 +
border_width 1
 +
stippled_borders 1
 +
cpu_avg_samples 2
 +
default_color white
 +
default_outline_color white
 +
default_shade_color black
 +
draw_borders no
 +
draw_graph_borders yes
 +
draw_outline no
 +
draw_shades no
 +
use_xft yes
 +
font Terminus:size=8
 +
xftfont Terminus:size=8
 +
gap_x 5
 +
gap_y 5
 +
minimum_size 5 5
 +
net_avg_samples 2
 +
no_buffers yes
 +
out_to_console no
 +
out_to_stderr no
 +
extra_newline no
 +
own_window_transparent yes
 +
own_window yes
 +
own_window_class Conky
 +
own_window_type normal
 +
own_window_hints undecorated,sticky,skip_taskbar,skip_pager
 +
stippled_borders 0
 +
update_interval 1.0
 +
uppercase no
 +
use_spacer none
 +
show_graph_scale yes
 +
show_graph_range yes
 +
mpd_host localhost
 +
mpd_port 6600
 +
double_buffer yes
 +
 
 +
 
 +
TEXT
 +
${font}${scroll 42 $nodename - $sysname $kernel on $machine }
 +
$hr
 +
${color lightblue}Uptime:$color $uptime
 +
${color lightblue}RAM Usage:$color $mem/$memmax - $memperc% ${membar 4}
 +
${color lightblue}Swap Usage:$color $swap/$swapmax - $swapperc% ${swapbar 4}
 +
${color lightblue}CPU Usage:$color $cpu% ${cpubar 4}
 +
${color lightblue}Processes:$color $processes  ${color lightblue}Running:$color $running_processes
 +
#$hr
 +
${color lightblue}File systems: ${stippled_hr}
 +
/root $color${fs_used /}/${fs_size /} ${fs_bar 4 /} ${color lightblue}
 +
/home $color${fs_used /home}/${fs_size /home} ${fs_bar 4 /home}
 +
${color lightblue}Networking: ${stippled_hr}
 +
Up:$color ${upspeed wlan0} ${color lightblue} - Down:$color ${downspeed wlan0}
 +
${wireless_essid wlan0} ${wireless_bitrate wlan0} ${wireless_link_qual_perc wlan0}% ${color grey}${wireless_link_bar 4 wlan0}
 +
${color lightblue}wlan0 ip addr: ${color}${addr wlan0}
 +
$hr
 +
${color grey}Name              PID  CPU%  MEM%
 +
${color lightblue} ${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
 +
${color lightblue} ${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
 +
${color lightblue} ${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}
 +
${color lightblue} ${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4}
 +
${color lightblue} ${top name 5} ${top pid 5} ${top cpu 5} ${top mem 5}
 +
${color lightblue} ${top name 6} ${top pid 6} ${top cpu 6} ${top mem 6}
 +
${color}$hr
 +
${alignc}${color}${scroll 42 2 ${mpd_smart}}
 +
${alignc}${color lightblue}${mpd_status} - ${mpd_elapsed} / ${mpd_length}
 +
${color lightblue}${mpd_bar 4}
 +
#${color}${stippled_hr}
 +
${color}Battery is ${battery BAT0}.
 +
#the next line is a battery bar color script. 100% green, 70% light green, etc.
 +
${if_match ${battery_percent BAT0} < 100}${color green}${endif}${if_match ${battery_percent BAT0} < 70}${color lightgreen}${endif}${if_match ${battery_percent BAT0} < 50}${color yellow}${endif}${if_match ${battery_percent BAT0} < 35}${color orange}${endif}${if_match ${battery_percent BAT0} < 15}${color red}${blink BATTERY WARNING ${battery_percent BAT0}%}${endif}${battery_bar 4 BAT0}
 +
${color}${battery_time BAT0} remaining.
 +
${color lightblue}kernel.org - ${kernel}${stippled_hr}
 +
${color}${scroll 42 2 ${rss http://www.kernel.org/kdist/rss.xml 10 item_titles 3 2}}
 +
${color lightblue}Most Recent Arch Packages ${stippled_hr}
 +
${color}${rss http://www.archlinux.org/feeds/packages/ 10 item_titles 10 1}
 +
${color lightblue}Tickers${stippled_hr}
 +
${scroll 42 8 ${color}${rss http://slashdot.org/slashdot.rss 5 item_titles 5 2}}
 +
${scroll 42 3 ${color lightblue}${rss http://www.archlinux.org/feeds/news/ 60 item_titles 3 2}}
 +
${alignc}${font AvantGarde CE:size=12}${color grey}${time %T, %A  %D}</nowiki>}}
 +
 
 +
See [http://www.chuckstuff.com/images/conky_6-1-12.png picture of conky] - note that this image doesn't include the Arch Linux ticker.
 +
 
 +
==Applications I Use==
 +
 
 +
I am a college student and I want maximum usage from my computer. (as we all do!) Here are the programs I have found most useful during my studies.
 +
 
 +
*{{Pkg|gnote}}
 +
*{{AUR|rednotebook}} - good program for taking quick notes in an organized fashion.
 +
*{{Grp|libreoffice}} - obviously.
 +
*{{Pkg|networkmanager}} - works perfectly at [http://asu.edu ASU] as well as the neighboring [http://mesacc.edu MCC]
 +
*{{Pkg|lyx}} - Most important tool I've downloaded so far, does everything perfectly for math and science classes. Note that the {{Pkg|texlive-latexextra}} will enable you to use a lot more features.

Revision as of 09:07, 6 June 2012

Template:Article summary start Template:Article summary text Template:Article summary heading Template:Article summary wiki: Cinnamon is a desktop environment lead/developed by Clement Lefebvre. Template:Article summary heading Template:Article summary text Template:Article summary heading Template:Article summary text Template:Article summary text {{Article summary text| Template:Article summary heading Template:Article summary text Template:Article summary text Template:Article summary end

My configurations

ASUS Eee PC 1015PE

rc.conf

/etc/rc.conf
# LOCALIZATION
# ------------
HARDWARECLOCK="UTC"
TIMEZONE="America/Phoenix"
KEYMAP="us"
CONSOLEFONT=
CONSOLEMAP=
LOCALE="en_US.UTF-8"
DAEMON_LOCALE="yes"
USECOLOR="yes"

# HARDWARE
# --------
MODULES=(acpi-cpufreq vboxdrv vboxnetflt)
USEDMRAID="no"
USEBTRFS="no"
USELVM="no"

# NETWORKING
# ----------
HOSTNAME=asusarch

interface=wlan0
address=
netmask=
broadcast=
gateway=

NETWORK_PERSIST="no"

# DAEMONS
# -------
#
DAEMONS=(@syslog-ng dbus !acpid networkmanager !network !dhcpcd !wicd @crond @vbox-service @cupsd @alsa slim mpd)

mpd

My MPD configuration is global on one computer. Coupled with the following line from /etc/fstab.conf, here is my MPD configuration. Also, I use sonata as my frontend.

/etc/fstab.conf
/home/chuck/Music /var/lib/mpd/Music none bind
/etc/mpd.conf
music_directory	"/var/lib/mpd/Music"
playlist_directory "/var/lib/mpd/playlists"
db_file "/var/lib/mpd/mpd.db"
log_file "/var/log/mpd/mpd.log"
pid_file "/var/run/mpd/mpd.pid"
state_file "/var/lib/mpd/mpdstate"
user "mpd"
follow_outside_symlinks	"yes"
follow_inside_symlinks		"yes"
input {
        plugin "curl"
}
audio_output {
	type		"alsa"
	name		"My ALSA Device"
	mixer_type      "software"	# optional
	mixer_device	"default"	# optional
	mixer_control	"PCM"		# optional
}

conky

Requires terminus-fonts.

~/.conkyrc
alignment tr
background no
border_width 1
stippled_borders 1 
cpu_avg_samples 2
default_color white
default_outline_color white
default_shade_color black
draw_borders no
draw_graph_borders yes
draw_outline no
draw_shades no
use_xft yes
font Terminus:size=8
xftfont Terminus:size=8
gap_x 5
gap_y 5
minimum_size 5 5
net_avg_samples 2
no_buffers yes
out_to_console no
out_to_stderr no
extra_newline no
own_window_transparent yes
own_window yes
own_window_class Conky
own_window_type normal
own_window_hints undecorated,sticky,skip_taskbar,skip_pager
stippled_borders 0
update_interval 1.0
uppercase no
use_spacer none
show_graph_scale yes
show_graph_range yes
mpd_host localhost
mpd_port 6600
double_buffer yes


TEXT
${font}${scroll 42 $nodename - $sysname $kernel on $machine }
$hr
${color lightblue}Uptime:$color $uptime
${color lightblue}RAM Usage:$color $mem/$memmax - $memperc% ${membar 4}
${color lightblue}Swap Usage:$color $swap/$swapmax - $swapperc% ${swapbar 4}
${color lightblue}CPU Usage:$color $cpu% ${cpubar 4}
${color lightblue}Processes:$color $processes  ${color lightblue}Running:$color $running_processes
#$hr
${color lightblue}File systems: ${stippled_hr}
 /root 	$color${fs_used /}/${fs_size /} ${fs_bar 4 /} ${color lightblue}
 /home 	$color${fs_used /home}/${fs_size /home} ${fs_bar 4 /home}
${color lightblue}Networking: ${stippled_hr}
 Up:$color ${upspeed wlan0} ${color lightblue} - Down:$color ${downspeed wlan0}
 ${wireless_essid wlan0} ${wireless_bitrate wlan0} ${wireless_link_qual_perc wlan0}% ${color grey}${wireless_link_bar 4 wlan0}
 ${color lightblue}wlan0 ip addr: ${color}${addr wlan0}
$hr
${color grey}Name              PID   CPU%   MEM%
${color lightblue} ${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
${color lightblue} ${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
${color lightblue} ${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}
${color lightblue} ${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4}
${color lightblue} ${top name 5} ${top pid 5} ${top cpu 5} ${top mem 5}
${color lightblue} ${top name 6} ${top pid 6} ${top cpu 6} ${top mem 6}
${color}$hr
${alignc}${color}${scroll 42 2 ${mpd_smart}}
${alignc}${color lightblue}${mpd_status} - ${mpd_elapsed} / ${mpd_length}
${color lightblue}${mpd_bar 4}
#${color}${stippled_hr}
${color}Battery is ${battery BAT0}. 
#the next line is a battery bar color script. 100% green, 70% light green, etc.
${if_match ${battery_percent BAT0} < 100}${color green}${endif}${if_match ${battery_percent BAT0} < 70}${color lightgreen}${endif}${if_match ${battery_percent BAT0} < 50}${color yellow}${endif}${if_match ${battery_percent BAT0} < 35}${color orange}${endif}${if_match ${battery_percent BAT0} < 15}${color red}${blink BATTERY WARNING ${battery_percent BAT0}%}${endif}${battery_bar 4 BAT0}
${color}${battery_time BAT0} remaining.
${color lightblue}kernel.org - ${kernel}${stippled_hr}
${color}${scroll 42 2 ${rss http://www.kernel.org/kdist/rss.xml 10 item_titles 3 2}}
${color lightblue}Most Recent Arch Packages ${stippled_hr}
${color}${rss http://www.archlinux.org/feeds/packages/ 10 item_titles 10 1}
${color lightblue}Tickers${stippled_hr}
${scroll 42 8 ${color}${rss http://slashdot.org/slashdot.rss 5 item_titles 5 2}}
${scroll 42 3 ${color lightblue}${rss http://www.archlinux.org/feeds/news/ 60 item_titles 3 2}}
${alignc}${font AvantGarde CE:size=12}${color grey}${time %T, %A  %D}

See picture of conky - note that this image doesn't include the Arch Linux ticker.

Applications I Use

I am a college student and I want maximum usage from my computer. (as we all do!) Here are the programs I have found most useful during my studies.

  • gnote
  • rednotebookAUR - good program for taking quick notes in an organized fashion.
  • libreoffice - obviously.
  • networkmanager - works perfectly at ASU as well as the neighboring MCC
  • lyx - Most important tool I've downloaded so far, does everything perfectly for math and science classes. Note that the texlive-latexextra will enable you to use a lot more features.