Ubuntu下使用Github-Desktop

作者:陈大大    发布于:

曾经有段时间,命令行用不习惯,一开始也是刚接触Git这东西

也是什么都不懂,想要彻底入linux,不过当时被怎么都push不到远程给困惑到了..
所以在windows下就一直用Github-Desktop

一入linux深似海,从此windows是路人

尝试一下在deepin linux的环境下折腾一下Github-Desktop

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
☁  blog  neofetch
............ chenhonzhou@Dev
.';;;;;. .,;,. ---------------
.,;;;;;;;. ';;;;;;;. OS: Deepin 15.6 Beta x86_64
.;::::::::' .,::;;,''''',. Model: H81M-DS2-T
,'.:::::::: .;;'. '; Kernel: 4.15.0-21deepin-generic
;' 'cccccc, ,' :: '.. .: Uptime: 6 hours, 14 mins
,, :ccccc. ;: .c, '' :. ,; Packages: 2519
.l. cllll' ., .lc :; .l' l. Shell: zsh 5.3.1
.c :lllc ;cl: .l' .ll. :' Resolution: 1600x900
.l 'looc. . ,o: 'oo' c, DE: Deepin
.o. .:ool::coc' .ooo' o. WM: Mutter(DeepinGala)
:: ..... .;dddo ;c Theme: Sierra-light [GTK2/3]
l:... .';lddddo. ,o Icons: La-capitaine-icon-theme [GTK2/3]
lxxxxxdoolllodxxxxxxxxxc :l Terminal: deepin-terminal
,dxxxxxxxxxxxxxxxxxxl. 'o, Terminal Font: Hack 11
,dkkkkkkkkkkkkko;. .;o; CPU: Intel Pentium G3260 (2) @ 3.300GHz
.;okkkkkdl;. .,cl:. GPU: Intel Haswell Desktop
.,:cccccccc:,. Memory: 8347MiB / 15941MiB

Github: https://github.com/kevinfessler/GitHub-Desktop-Linux

1
2
3
4
5
6
7
8
9
10
11
12
13

# 首先clone到本地
git clone https://github.com/kevinfessler/GitHub-Desktop-Linux.git
cd GitHub-Desktop-Linux
cd Ubuntu
# 解压
unzip Ubuntu-17.04.zip
# 添加权限
sudo chmod u+x Github
# 运行
./Github

`

如何添加桌面图标呢?

1
sudo vi /usr/share/applications/Github.desktop

添加内容

1
2
3
4
5
6
7
[Desktop Entry]
Name=Github
Exec=/home/chenhonzhou/cat/application/run/Github/Github
Type=Application
Terminal=false
Comment=
Icon=/home/chenhonzhou/cat/application/run/Github/resources/icon.png

PS: icon那一行是图标,对着你的相对路径改或者绝对路径


满足了自己的一个小欲望,哈哈,

overflow~

format_list_numbered

(无)

  1. 1. 一入linux深似海,从此windows是路人
    1. 1.1. 如何添加桌面图标呢?
arrow_upward

Copyright © 2016 陈大大のBlog