ChenyHsu Blog


  • 首頁

  • 關於

  • 標籤

  • 分類

  • 歸檔

  • 站點地圖

Install spotify on Linux

發表於 2018-08-25 | 分類於 Linux |

1.Install snapd

1
sudo pacman -S snapd

2.Cofigure snapd

1
2
$ sudo systemctl enable --now snapd.socket
Created symlink /etc/systemd/system/sockets.target.wants/snapd.socket → /usr/lib/systemd/system/snapd.socket.

3.Install spotify

1
2
$ sudo systemctl restart snapd.service
$ snap install spotify

Then type passwod in the pop-up window (Do not close the terminal)

1
2
3
4
5
6
7
8
9
10
$ snap install spotify
2018-08-25T20:02:45+08:00 INFO Waiting for restart...
Download snap "spotify" (19) from channel "stable" 34% 1.31MB/s 1m32s
Download snap "spotify" (19) from channel "stable" 34% 1.31MB/s 1m31s
Download snap "spotify" (19) from channel "stable" 34% 1.31MB/s 1m31s
Download snap "spotify" (19) from channel "stable" 34% 1.31MB/s 1m30s
Download snap "spotify" (19) from channel "stable" 35% 1.31MB/s 1m30s
Download snap "spotify" (19) from channel "stable" 37% 1.31MB/s 1m27s
Download snap "spotify" (19) from channel "stable" 43% 1.36MB/s 1m15s
spotify 1.0.88.353.g15c26ea1-14 from 'spotify' installed

Now you can enjoy the music!

Libreoffice : Divide cell diagonally in Writer

發表於 2018-05-20 | 分類於 Libreoffice |

Step 1 : Preparing a diagonal line svg file .

You can draw it with Inkscape by yourself , or download from my
github

Step 2 : Change table cell background

Step 2.1 :


Right click on desired cell -> Table Properties

Step 2.2 :


Click Background tab , As : Image , than click File:Browse... , chose the diagonal-line.svg

Step 2.3 :


Change Type to Area



It’s almost done!


Step 3 : Input & adjust text


Input your text

Step 3.1 : Divide text into two line(Simply press enter)

Step 3.2 : Align text , 1st line align to right , while 2nd align to left.


Then Adjust column width to meet your need, done!!

QGIS import MrSID (`.sid`) files

發表於 2018-05-20 | 分類於 GIS |

Use binary converter provide by lizardtech

  • Register a account at https://www.lizardtech.com/gis-tools/server-development-kit , than download newist sdk
  • extract the file
  • open terminal

    • 1
      cd ./MrSID_DSDK-9.5.4.4709-rhel6.x86-64.gcc482/Raster_DSDK/bin/
  • run the following conmmand

    • 1
      mrsidinfo -i [input file] -of [format,ex "geotiff"] -o [Output file]

Compliling GDAL with MrSID support (Not necessary)

https://gist.github.com/oeon/6527004

ChenyHsu

Something about opensource , photograph , and more

3 文章
3 分類
6 標籤
RSS
© 2018 ChenyHsu
由 Hexo 強力驅動
|
主題 — NexT.Muse v5.1.4