Skip to content
This repository has been archived by the owner on Feb 6, 2019. It is now read-only.

Commit

Permalink
add sheepit module
Browse files Browse the repository at this point in the history
  • Loading branch information
zocker-160 committed May 30, 2018
1 parent 99c9052 commit 47a4d14
Show file tree
Hide file tree
Showing 11 changed files with 189 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
[Desktop Entry]
Comment[de_DE]=
Comment=
Exec=/home/guest/SheepitClient.sh
#Exec=firefox
GenericName[de_DE]=
GenericName=
MimeType=
Name[de_DE]=SheepitClient
Name=SheepitClient
Path=
StartupNotify=true
Terminal=true
TerminalOptions=
Type=Application
Version=1.0
X-DBUS-ServiceName=
X-DBUS-StartupType=
X-KDE-SubstituteUID=false
X-KDE-Username=
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[Desktop Entry]
Exec=xfce4-taskmanager
Name=TaskManager
StartupNotify=true
Type=Application
Version=1.0
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[Desktop Entry]
Version=1.0
Type=Application
Exec=xfce4-taskmanager
Icon=/home/guest/TaskManager.png
StartupNotify=true
Terminal=false
Name=Task Manager
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[Desktop Entry]
Name=Firefox
Exec=firefox
Terminal=false
Icon=/home/guest/firefox.png
Type=Application
Categories=System;
Version=1.0
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
<?xml version="1.0" encoding="UTF-8"?>

<channel name="xfce4-desktop" version="1.0">
<property name="backdrop" type="empty">
<property name="screen0" type="empty">
<property name="monitor0" type="empty">
<property name="image-path" type="string" value="/usr/share/backgrounds/xfce/porteus.jpg"/>
<property name="image-show" type="bool" value="true"/>
<property name="image-style" type="int" value="0"/>
<property name="workspace0" type="empty">
<property name="color-style" type="int" value="0"/>
<property name="image-style" type="int" value="3"/>
<property name="last-image" type="string" value="/usr/share/backgrounds/xfce/porteus.jpg"/>
</property>
<property name="workspace1" type="empty">
<property name="color-style" type="int" value="0"/>
<property name="image-style" type="int" value="3"/>
<property name="last-image" type="string" value="/usr/share/backgrounds/xfce/porteus.jpg"/>
</property>
<property name="workspace2" type="empty">
<property name="color-style" type="int" value="0"/>
<property name="image-style" type="int" value="3"/>
<property name="last-image" type="string" value="/usr/share/backgrounds/xfce/porteus.jpg"/>
</property>
<property name="workspace3" type="empty">
<property name="color-style" type="int" value="0"/>
<property name="image-style" type="int" value="3"/>
<property name="last-image" type="string" value="/usr/share/backgrounds/xfce/porteus.jpg"/>
</property>
</property>
<property name="monitoreDP1" type="empty">
<property name="workspace0" type="empty">
<property name="last-image" type="string" value="/usr/share/backgrounds/xfce/porteus.jpg"/>
<property name="image-style" type="int" value="3"/>
<property name="color-style" type="int" value="0"/>
</property>
<property name="workspace1" type="empty">
<property name="color-style" type="int" value="0"/>
<property name="image-style" type="int" value="3"/>
<property name="last-image" type="string" value="/usr/share/backgrounds/xfce/porteus.jpg"/>
</property>
<property name="workspace2" type="empty">
<property name="color-style" type="int" value="0"/>
<property name="image-style" type="int" value="3"/>
<property name="last-image" type="string" value="/usr/share/backgrounds/xfce/porteus.jpg"/>
</property>
<property name="workspace3" type="empty">
<property name="color-style" type="int" value="0"/>
<property name="image-style" type="int" value="3"/>
<property name="last-image" type="string" value="/usr/share/backgrounds/xfce/porteus.jpg"/>
</property>
</property>
<property name="monitor1" type="empty">
<property name="workspace0" type="empty">
<property name="color-style" type="int" value="0"/>
<property name="image-style" type="int" value="5"/>
<property name="last-image" type="string" value="/usr/share/backgrounds/xfce/xfce-teal.jpg"/>
</property>
<property name="workspace1" type="empty">
<property name="color-style" type="int" value="0"/>
<property name="image-style" type="int" value="5"/>
<property name="last-image" type="string" value="/usr/share/backgrounds/xfce/xfce-teal.jpg"/>
</property>
<property name="workspace2" type="empty">
<property name="color-style" type="int" value="0"/>
<property name="image-style" type="int" value="5"/>
<property name="last-image" type="string" value="/usr/share/backgrounds/xfce/xfce-teal.jpg"/>
</property>
<property name="workspace3" type="empty">
<property name="color-style" type="int" value="0"/>
<property name="image-style" type="int" value="5"/>
<property name="last-image" type="string" value="/usr/share/backgrounds/xfce/xfce-teal.jpg"/>
</property>
</property>
</property>
</property>
<property name="desktop-icons" type="empty">
<property name="icon-size" type="uint" value="42"/>
<property name="tooltip-size" type="double" value="64.000000"/>
<property name="file-icons" type="empty">
<property name="show-device-removable" type="bool" value="true"/>
<property name="show-unknown-removable" type="bool" value="false"/>
</property>
<property name="style" type="int" value="0"/>
</property>
<property name="last" type="empty">
<property name="window-width" type="int" value="660"/>
<property name="window-height" type="int" value="517"/>
</property>
</channel>
5 changes: 5 additions & 0 deletions porteus/modules/sheepit-module-xfce/home/guest/.sheepit.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#Fri May 18 22:52:30 CEST 2018
auto-signin=false
compute-method=CPU
hostname=Sheepit-OS
cache-dir=/home/guest/Public
52 changes: 52 additions & 0 deletions porteus/modules/sheepit-module-xfce/home/guest/SheepitClient.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
#! /bin/bash

startclient(){
java -jar ~/sheepit-client.jar --no-systray -login zocker_160 -password 2nuZxTC1bxmkeFETiqK0RDpqKqYBcjb9EFAOH2CH
}

downloadclient(){
wget https://www.sheepit-renderfarm.com/media/applet/client-latest.php -O ~/sheepit-client.jar
}


echo "###### Made by zocker_160 ;)########"
echo ""
echo "Starting script....................."
sleep 10
echo ""
echo "Downloading latest client..........."
echo ""

downloadclient

## This is quick and very dirty, here's a lot to impove and optimise ;)

echo ""
echo "Starting........................"

if startclient
then
echo ""
else
echo ""
echo "there was an error..... :("
echo ""

until [[ "$TRY" == 'n' ]]; do
read -p "Do you want to try it again? [Y/n]: " -e -i Y TRY
if [[ "$TRY" == 'Y' ]]; then
downloadclient
if startclient
then
echo ""
else
echo ""
echo "meh....error again......."
fi
fi
done
echo "EXITING........................"
exit 1
fi

$SHELL
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 47a4d14

Please sign in to comment.