9
命令 update-manager -d
命令 update-manager -d
删除 /var/lib/dpkg/info/软件包名.postinst 重新 apt-get update
Link
删除 /var/lib/dpkg/info/软件包名.postinst 重新 apt-get update
Link
备份xorg.confsudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf.backup编辑xorg.confsudo gedit /etc/X11/xorg.conf找到Virtual 1400 1050改成你想要的分辨率,如:Virtual 1024 768Link
备份xorg.conf
sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf.backup编辑xorg.conf
sudo gedit /etc/X11/xorg.conf找到
Virtual 1400 1050改成你想要的分辨率,如:
Virtual 1024 768
Link
$ sudo apt-get install ssmtpThere is a single configuration file to be altered: /etc/ssmtp/ssmtp.conf. Below is the required configuration for a Gmail server:root=Email Address # Your email address
mailhub=smtp.gmail.com:587 # Gmail details
UseSTARTTLS=YES # Send SSL/TLS messages to Gmail
AuthUser=Gmail Username #...
$ sudo apt-get install ssmtpThere is a single configuration file to be altered: /etc/ssmtp/ssmtp.conf. Below is the required configuration for a Gmail server:
root=Email Address # Your email address
mailhub=smtp.gmail.com:587 # Gmail details
UseSTARTTLS=YES # Send SSL/TLS messages to Gmail
AuthUser=Gmail Username # Your Gmail Username
AuthPass=Gmail Password # Your Gmail Password
rewriteDomain=gmail.com # So the message appears to come from Gmail
FromLineOverride=YES # So the message appears to come from Gmail
hostname=Hostname # Hostname: use hostname -f in a Terminal$ sudo apt-get install muttmutt configuration (~/.mutt/.muttrc)
# mail check options
set pop_host="pops://name:password@pop.gmail.com:995"
set pop_last
unset pop_delete
# mail send options
set sendmail="~/bin/gmailout"
# check for new mail on startup
exec fetch-mailSuccessfully use Mutt with Gmail
using mutt with Gmail
sudo chmod a+s /sbin/poweroff
sudo chmod a+s /sbin/poweroff