Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
las-it-organisation
32-0-IT instructions and rules
ansible
Commits
c772428b
Commit
c772428b
authored
Nov 09, 2017
by
julian.gethmann
Browse files
Add Desktop icon for PyCharm
parent
fea928a3
Changes
2
Hide whitespace changes
Inline
Side-by-side
roles/pycharm/tasks/main.yml
View file @
c772428b
...
...
@@ -25,3 +25,10 @@
path
:
/usr/local/bin/pycharm
src
:
"
/usr/local/pycharm/{{
pycharm_name
|
regex_replace('-professional')
}}/bin/pycharm.sh"
state
:
link
-
name
:
Add Desktop-icon
template
:
src
:
PyCharm.desktop.j2
dest
:
"
/home/{{
user_account
}}/Desktop/PyCharm.desktop"
backup
:
yes
owner
:
"
{{
user_account
}}"
roles/pycharm/templates/PyCharm.desktop.j2
0 → 100755
View file @
c772428b
[Desktop Entry]
Comment[en_US]=
Comment=
Exec=pycharm
GenericName[en_US]=
GenericName=
Icon=/usr/local/pycharm/{{ pycharm_name | regex_replace('-professional') }}/bin/pycharm.png
MimeType=
Name[en_US]=Pycharm
Name=Pycharm
Path=
StartupNotify=true
Terminal=false
TerminalOptions=
Type=Application
X-DBUS-ServiceName=
X-DBUS-StartupType=
X-KDE-SubstituteUID=false
X-KDE-Username=
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment