Skip to content

Commit

Permalink
Synergy (15 August)
Browse files Browse the repository at this point in the history
  • Loading branch information
rneher-igel committed Aug 15, 2023
1 parent a19edd7 commit a33f0ac
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 5 deletions.
4 changes: 4 additions & 0 deletions CP_Source/Apps/Synergy/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,7 @@
| Path to Icon | /custom/synergy/usr/share/icons/hicolor/256x256/apps/synergy.png |
| Packaging Notes | Details can be found in the build script |
| Package automation | [build-synergy-cp.sh](build/build-synergy-cp.sh) <br /><br /> This script will build the latest version based on Ubuntu 18.04 |

-----

**NOTE:** A reboot is required for service to start after CP deployed.
3 changes: 2 additions & 1 deletion CP_Source/Apps/Synergy/build/build-synergy-cp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,9 @@ do
done

mv custom/synergy/usr/share/applications/ custom/synergy/usr/share/applications.mime
mkdir -p custom/synergy/userhome/.config/synergy
mkdir -p custom/synergy/userhome/.config/Synergy
mkdir -p custom/synergy/userhome/.synergy
mkdir -p custom/synergy/root/.config/Synergy

echo "+++++++======= STARTING CLEAN of USR =======+++++++"
wget https://raw.githubusercontent.com/IGEL-Community/IGEL-Custom-Partitions/master/utils/igelos_usr/clean_cp_usr_lib.sh
Expand Down
5 changes: 1 addition & 4 deletions CP_Source/Apps/Synergy/build/synergy-cp-init-script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ CP="${MP}/synergy"

# userhome
SYNERGY_CONFIG="/userhome/.config/Synergy"
SYNERGY="/userhome/.synergy"
SYNERGY="/userhome/.config/synergy"

# output to systemlog with ID amd tag
LOGGER="logger -it ${ACTION}"
Expand Down Expand Up @@ -40,9 +40,6 @@ init)
chown -R user:users "${CP}${SYNERGY_CONFIG}"
chown -R user:users "${CP}${SYNERGY}"

# Start service
${CP}/opt/Synergy/synergy-service --install

# SUID chrome-sandbox for Electron 5+
chmod 4755 ${CP}/opt/Synergy/chrome-sandbox

Expand Down
4 changes: 4 additions & 0 deletions CP_Source/Apps/Synergy/igel/synergy-profile.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@
<pvalue instancenr="-1" variableExpression="" variableSubstitutionActive="false">true</pvalue>
<variableSubstitutionActive>false</variableSubstitutionActive>
</pclass>
<pclass name="userinterface.rccustom.custom_cmd_x11_final">
<pvalue instancenr="-1" variableExpression="" variableSubstitutionActive="false">/custom/synergy/opt/Synergy/synergy-service -d &amp;amp</pvalue>
<variableSubstitutionActive>false</variableSubstitutionActive>
</pclass>
<pclass name="custom_partition.size">
<pvalue instancenr="-1" variableExpression="" variableSubstitutionActive="false">400M</pvalue>
<variableSubstitutionActive>false</variableSubstitutionActive>
Expand Down

0 comments on commit a33f0ac

Please sign in to comment.