使用以下指令去執行就可以看到完整的視窗了!
$ sudo QT_X11_NO_MITSHM=1 unetbootin
公告版位
- Mar 21 Thu 2019 18:57
Ubuntu 18.04 開啟Unetbootin後,看不到視窗的Field.
- Mar 20 Wed 2019 11:31
Ubuntu 16.04 / 18.04 內建的遠端連線功能
Ubuntu 16.04 / 18.04 內建的遠端連線功能:
1. 到「Setting(設定)」的「Sharing」開啟Screen Sharing與Remote Login的功能!
2. 此時應該還是無法連,請看以下解決方法。下這行指令:
$ gsettings set org.gnome.Vino require-encryption false
3. 這樣就可以使用VNC Client的軟體去連了.
- Feb 20 Wed 2019 15:16
如何開機自動執行應用程式或Script for Ubuntu 18.04
$ sudo vim /etc/systemd/system/startup.service
-----------------------------------------------
[Unit]
Description=Job that runs your user script
[Service]
ExecStart=/usr/local/bin/startup_service.sh
RemainAfterExit=yes
[Install]
WantedBy=multi-user.target
-----------------------------------------------
$ sudo systemctl daemon-reload
$ sudo systemctl enable startup.service
- Jan 30 Wed 2019 14:16
How to empty the buffers and cache on a Linux system?
# free && sync && echo 3 > /proc/sys/vm/drop_caches && free
- Jan 08 Tue 2019 12:06
Using REST API by cURL to login and upload file.
1. Login, when used JSON Type Body via POST
$ curl -H "Content-Type: application/json" -X POST -d '{"username":"myusername","password":"mypassword"}' https://dreamtails.pixnet.net:1234/
2. Upload Zip via POST
$ curl -X POST -F "file=@/home/dreamtails/Downloads/upload_file.zip;type=application/zip" "https://dreamtails.pixnet.net:1234/upload"
- Nov 09 Fri 2018 20:28
[Java] Convert Netmask (IP Format) to Netmask (CIDR Format)
Example:
255.0.0.0 to 8
255.255.0.0 to 16
255.255.255.0 to 24
- Sep 25 Tue 2018 17:05
Gnome 美化 for Ubuntu 16.04
1. Download Ubuntu Gnome 16.04
2. 裝好Chrome
3. 裝chrome-gnome-shell
$ sudo apt install chrome-gnome-shell
4. 用Chrome打開https://extensions.gnome.org/,並安裝以下幾個extensions.
Coverflow Alt-Tab
Alt+Tab 切換應用程式會有3D效果
Dash to Dock
應用程式啟動器
Dynamic Top Bar
頂端Bar透明化
User Themes
從文件夾載入Gnome-Shell主題
NetSpeed
頂端Bar顯示網路速度
OpenWeather
頂端Bar顯示天氣
- Sep 25 Tue 2018 17:01
How to fix the slow apt update issue on Ubuntu 16.04
$ sudo vim /etc/sysctl.conf
===========================
......
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1
===========================
$ sudo sysctl -p
- Sep 21 Fri 2018 12:52
Setting nameserver and search domain by resolvconf for Ubuntu 18.04
$ sudo vim /etc/systemd/resolved.conf
===============================
[Resolve]
DNS=8.8.8.8
Domains=dreamtails.local
===============================
- Sep 12 Wed 2018 11:37
[GNOME3] How do I create a .desktop file to launch Eclipse and Perforce P4V?
$ sudo vim /usr/share/applications/eclipse.desktop
============================================
[Desktop Entry]
Version=Photon
Name=Eclipse
Comment=Eclipse is an IDE
Exec=/opt/eclipse/eclipse
Icon=/opt/eclipse/icon.xpm
Path=/opt/eclipse/
Terminal=false
Type=Application
Categories=X-Red-Hat-Extra;Utility;Application;Development;
============================================
$ sudo vim /usr/share/applications/p4v.desktop
============================================
[Desktop Entry]
Version=Helix P4V/LINUX26X86_64/2018.2/1687764
Name=Perforce P4V
Exec=/opt/perforce/bin/p4v
Icon=/opt/perforce/lib/P4VResources/icons/p4v.svg
Path=/opt/perforce/
Terminal=false
Type=Application
Categories=X-Red-Hat-Extra;Utility;Application;Development;
============================================
- Jul 26 Thu 2018 21:57
USB隨身碟容量變小或無法格式化,解決辦法?
Step 1) 開啟Windows 10 的「命令提示字元」
Step 2) 使用diskpart工具
輸入> diskpart
Step 3) 列出所有硬碟
輸入> list disk
Step 4) 選擇硬碟編號,此範例為編號1
輸入> select disk 1
Step 5) 清乾淨隨身碟
輸入> clean
Step 6) 建立partition
輸入> create partition primary
Step 7) 開啟「我的電腦」--> 看見隨身碟後按「右鍵」--> 並「格式化...」
- Jul 26 Thu 2018 01:21
Google Chrome更新後,如何解決畫面整個變黃色?
Step 1. 開啟Google Chrome.
Step 2. 在網址列輸入chrome://flags/
Step 3. 更改「Force color profile」選項
Step4. 重新啟動Google Chrome
- Apr 10 Tue 2018 17:35
How to resolve "Too many open files" ERROR? Increased the max file count.
# vim /etc/sysctl.conf
-----------------------------
fs.file-max = 65535
-----------------------------
# vim /etc/security/limits.conf
-----------------------------
* soft nofile 65535
* hard nofile 65535
root soft nofile 65535
root hard nofile 65535
jenkins soft nofile 65535
jenkins hard nofile 65535
-----------------------------
- Feb 12 Mon 2018 18:31
Check IPv6 IP and Gateway in the same Subnet.
Usage: hasSameIPv6Subnet("2001:db8:1::1111/64", "2001:db8:1::ffff")
- Aug 30 Wed 2017 12:23
Maven command build modules for skipping test case.
# mvn clean install -Dmaven.test.skip=true