The username should be au4051 or au4051@mail.au.edu rather than chiao@mail.au.edu.tw.
2022年6月28日 星期二
Set mail.au.edu.tw as email server
2022年6月22日 星期三
2022年6月19日 星期日
2022年6月17日 星期五
dynamic wallpaper background
- sudo apt install mcron
- Create a script, say /home/chiao/scripts/dynwall:
#!/bin/bash
sleep 3
IMG=`find /home/chiao/圖片/wallpaper/dawn/*.jpg | shuf -n 1`
gsettings set org.gnome.desktop.background picture-options 'stretched'
/usr/bin/gsettings set org.gnome.desktop.background picture-uri file:///${IMG} - Create /home/chiao/.config/cron/job.vixie
5 * * * * /home/chiao/scripts/dynwall - Create /home/chiao/.config/autostart/mcron.desktop
[Desktop Entry]
Type=Application
Exec=/usr/bin/mcron -d
Hidden=false
NoDisplay=false
X-GNOME-Autostart-enabled=true
Name[zh_TW]=mcron
Name=mcron
Comment[zh_TW]=
Comment= - Reboot
2022年6月12日 星期日
Missing figure caption
While making pdf inside kile for book_chapterxx.tex for my /home/chiao/QuantitativeProgramming/LectureNotes/chapter11/ lecture note. The LaTeX src file exported from Jupyter cannot show the figure title.
To fix this: comment out (put %) the 36th and 37th lines in book_chapter11.tex, e.g.
%\DeclareCaptionFormat{nocaption}{}
%\captionsetup{format=nocaption,aboveskip=0pt,belowskip=0pt}
The figure cation shows up now.
2022年6月9日 星期四
2022年6月8日 星期三
Add utf-8 in case of Chinese cannot be read by Python IDLE
Put the lines at the first:
#!/usr/bin/env python
# coding: utf-8
訂閱:
意見 (Atom)
-
cf: https://www.tenforums.com/tutorials/101274-uninstall-printer-driver-windows-10-a.html Open cmd in administer mode Run printmanagement...
-
cf: https://forums.raspberrypi.com/viewtopic.php?t=278033 For linux: First run the command: route -n It will show the metrics of the i...
-
cf: https://askubuntu.com/questions/1276111/error-upgrading-grub-efi-amd64-signed-special-device-old-ssd-does-not-exist sudo mv /var/cache...