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

Replaced by Argos #64

Open
plegrand1 opened this issue Nov 7, 2018 · 2 comments
Open

Replaced by Argos #64

plegrand1 opened this issue Nov 7, 2018 · 2 comments

Comments

@plegrand1
Copy link

Finally I replaced it by argos (https://extensions.gnome.org/extension/1176/argos/)
Made my own Connection manager
image

@pablaasmo
Copy link

pablaasmo commented May 6, 2019

Hi, can you share an example of your Argos configure file for this?
Did you use a sh-script, or some other language?

@plegrand1
Copy link
Author

You have to use this extension :
https://extensions.gnome.org/extension/1176/argos/
then you can create a script (bash python ....) i use bash.
You have to put your script in /home/-----/.config/argos
chmod 755

An example of script i use

#!/usr/bin/env bash
url=http://127.0.0.1/images

debian_icon=$(curl -s "$url/debian.png" | base64 -w 0)
freeradius_icon=$(curl -s "$url/freeradius.png" | base64 -w 0)
samba_icon=$(curl -s "$url/samba.png" | base64 -w 0)
kvm_icon=$(curl -s "$url/kvm_secours.png" | base64 -w 0)
tamtam_icon=$(curl -s "$url/tamtam.png" | base64 -w 0)
fog_icon=$(curl -s "$url/fog.png" | base64 -w 0)
intranet_icon=$(curl -s "$url/iut.png" | base64 -w 0)
sonde_icon=$(curl -s "$url/sonde.png" | base64 -w 0)
firewall_icon=$(curl -s "$url/firewall.png" | base64 -w 0)
ldap_icon=$(curl -s "$url/ldap.png" | base64 -w 0)
backuppc_icon=$(curl -s "$url/backup_2.png" | base64 -w 0)

size="size='11'"
color="color='#FFFFFF'"

titre="<span color='#ECD078' weight='bold'> \t "
fin_titre="</span>"

echo "Connections Manager | iconName=go-home"
echo "---"
echo "<span color='#FFFFFF' weight='bold'>Serveurs Linux</span> | ${size} "
echo "--${titre}BackupPC${fin_titre} - (192.168.151.231)    | ${color} ${size} image='${backuppc_icon}'   terminal='false' bash='gnome-terminal -- ssh [email protected]'"
echo "--${titre}DNS${fin_titre} - (192.168.151.253)         | ${color} ${size} image='${debian_icon}'     terminal='false' bash='gnome-terminal -- ssh [email protected]'"
echo "--${titre}Fog${fin_titre} - (192.168.39.243)          | ${color} ${size} image='${fog_icon}'        terminal='false' bash='gnome-terminal -- ssh [email protected]'"
echo "--${titre}FreeRadius${fin_titre} - (192.168.1.101)    | ${color} ${size} image='${freeradius_icon}' terminal='false' bash='gnome-terminal -- ssh [email protected]'"
echo "--${titre}Intranet${fin_titre} - (192.168.151.242)    | ${color} ${size} image='${intranet_icon}'   terminal='false' bash='gnome-terminal -- ssh [email protected]'"
echo "--${titre}KVM${fin_titre} - (192.168.151.248)         | ${color} ${size} image='${kvm_icon}'        terminal='false' bash='gnome-terminal -- ssh [email protected]'"
echo "--${titre}KVM-Secours${fin_titre} - (192.168.151.249) | ${color} ${size} image='${kvm_icon}'        terminal='false' bash='gnome-terminal -- ssh [email protected]'"
echo "--${titre}Replicat${fin_titre} - (192.168.151.234)    | ${color} ${size} image='${ldap_icon}'       terminal='false' bash='gnome-terminal -- ssh [email protected]'"
echo "--${titre}Samba${fin_titre} - (192.168.151.237)       | ${color} ${size} image='${samba_icon}'      terminal='false' bash='gnome-terminal -- ssh [email protected]'"
echo "--${titre}Scodoc${fin_titre} - (192.168.151.233)      | ${color} ${size} image='${debian_icon}'     terminal='false' bash='gnome-terminal -- ssh [email protected]'"
echo "--${titre}

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants