2013年12月4日 星期三
2013年12月3日 星期二
Apt-Target release,how to set?
if you want to spin unstable tool, you should do..
apt-get update
- edit /etc/apt/conf.d/sources.list
#### add line unstable #########
deb http://ftp.us.debian.org/debian unstable main contrib non-free
Retrieve new lists of packagesreference:
2013年12月2日 星期一
Print Detailed information about all PCI buses and devices in the system
2013年12月1日 星期日
Linux Sound Architecture
Advanced Linux Sound Architecture (ALSA)
reference:
Part of Linux Kernel is a software framework that supported API for sound card device driver.
- application->pulseaudio->ALSA->hardware
alsamixer:
A graphical mixer program for ALSA that used to adjust
adjust the volume and configuration.
reference:
- http://www.alsa-project.org/main/index.php/Main_Page
- http://en.wikipedia.org/wiki/PulseAudio
- http://en.wikipedia.org/wiki/Advanced_Linux_Sound_Architecture
PulseAudio
In brief, PulseAudio is a proxy for your sound applications.
In Debian, applications such as Flesh, Skype are based on PulseAudio.
(Just know the name, but not study in depth.)
reference:
In Debian, applications such as Flesh, Skype are based on PulseAudio.
(Just know the name, but not study in depth.)
reference:
- https://wiki.debian.org/en/PulseAudio#Various_problems_with_Skype_and_Wine
- http://www.freedesktop.org/wiki/Software/PulseAudio/
Init script
Debian uses a Sys-V like init system for executing shell scripts when the
system runlevel changes. How to do?
Adding symbolic links to cause the script to be executed when the system goes down, or comes up.
The example of script executed as init.
- /etc/init.d/xxx (xxx : your init script)
- update-rc xxx
Adding symbolic links to cause the script to be executed when the system goes down, or comes up.
The example of script executed as init.
- The script is just a shell script with 'Switch case ' statement.
#! /bin/sh
# /etc/init.d/blah
#
# Some things that run always
touch /var/lock/blah
# Carry out specific functions when asked to by the system
case "$1" in
start)
echo "Starting script blah "
echo "Could do more here"
;;
stop)
echo "Stopping script blah"
echo "Could do more here"
;;
restart|reload)
$0 stop
sleep 3
$0 start
;;
*)
echo "Usage: /etc/init.d/blah {start|stop}"
exit 1
;;
esac
exit 0
...................................................................................
reference:
2013年11月29日 星期五
Manager Startup program in Gnome
Some application must started in X windows environment.
So, I can't set the script as init program.
Hence, I found anther way to achieve my goal.
Gnome allows to add, modify and remove the autostart entries(your script).
This autostart entries will automatically executed after a successful login.
If you use others desktop program, such as KDE. see [2].
reference:
So, I can't set the script as init program.
Hence, I found anther way to achieve my goal.
Gnome allows to add, modify and remove the autostart entries(your script).
This autostart entries will automatically executed after a successful login.
- alt+F2, (open Gnome shell)
gnome-session-properties- add shell script, following the GUI.
If you use others desktop program, such as KDE. see [2].
reference:
- http://gnomeshell.wordpress.com/2011/08/28/manage-the-startup-applications/
- http://www.debian-administration.org/articles/50
2013年11月28日 星期四
PPTP tool and Gnome GUI
If you want a VPN PPTP client, the Debian 7 has PPTP client as default.
Gnome support to set PPTP by GUI.But, installing
After installing, the GUI demonstrates as below:
reference: http://packages.debian.org/search?keywords=network-manager-pptp-gnome
Gnome support to set PPTP by GUI.But, installing
- network-manager-pptp-gnome.
After installing, the GUI demonstrates as below:
reference: http://packages.debian.org/search?keywords=network-manager-pptp-gnome
apt command
remove a tool
- apt-get remove --purge tool_A
2013年11月25日 星期一
ADSL Connection
How to establish connection through PPOE ?
Notice:
- apt-get install pppoeconf.
- run pppoeconf
Notice:
- Debian 7 installer full disk 1 contain pppoeconf tool.
- After you run pppoeconf, the main work is that enter account and password of ADSL.
Chinese input tool
In Debian 7 System:
http://packages.debian.org/sid/scim-tables-zh
- install SCIM
- install scim-tables-zh that support many tool for inputing Chinese word.
http://packages.debian.org/sid/scim-tables-zh
2013年11月17日 星期日
訂閱:
意見 (Atom)
