Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

acessos directos añadidos al script :) #8

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added cafelug-twitter.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added cafelug.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 21 additions & 0 deletions flisol-postinstall.bash
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ TASKS=( \
"task_system_update" \
"task_open_eventol" \
"task_change_wallpaper" \
"task_create_shortcuts" \
)
# <>

Expand Down Expand Up @@ -1015,6 +1016,26 @@ Revise el registro de ejecucion y corrija los problemas"

return 0
}

function task_create_shortcuts() {
cp cafelug.png ~/.cafelug.png
echo "
[Desktop Entry]
Name=CaFeLUG
Descripcion="Grupo de usuarios de GNU/Linux en Capital Federal"
Exec=xdg-open "https://cafelug.org.ar"
Icon=/home/pedro/.cafelug.png
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

la ruta del ícono es incorrecta, funciona usando ~ ?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

perdona la estupidez Xd, no funciona con ~, pero si con $USER

" > $(xdg-user-dir DESKTOP)/cafelug.desktop
cp cafelug-twitter.png ~/.cafelug-twitter.png
echo "
[Desktop Entry]
Name=Twitter @CaFeLUG
Descripcion="CaFeLUG en Twitter"
Exec=xdg-open "https://twitter.com/CaFeLUG_Oficial"
Icon=/home/pedro/.cafelug-twitter.png
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

misma situacion

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

perdona la estupidez Xd, no funciona con ~, pero si con $USER

" > $(xdg-user-dir DESKTOP)/cafelug-twitter.desktop
}

# <>

# main()
Expand Down