Comments (1)
at the moment i am installing the client with this script:
#!/bin/bash
#to run this script go into the folder where it is then run: ./install_kontalk-desktop.sh
#
set -eu
#
dpkg -l | grep -qw openjdk-8-jre-headless || sudo apt-get install openjdk-8-jre-headless -y
dpkg -l | grep -qw unzip || sudo apt-get install unzip -y
#
if [ -d "/home/$USER/programs_setup/kontalk_setup" ]; then
rm -rf /home/$USER/programs_setup/kontalk_setup
sudo rm -rf /home/$USER/desktopclient-java
sudo rm -rf /home/$USER/.kontalk
sudo rm -rf /home/$USER/.gradle
rm -f /home/$USER/.local/share/applications/kontalk.desktop
fi
#
echo "if you run into errors maybe do:
sudo nano /etc/java-8-openjdk/accessibility.properties
Comment out the following line:
assistive_technologies=org.GNOME.Accessibility.AtkWrapper"
#
mkdir -p /home/$USER/programs_setup/kontalk_setup
cd /home/$USER/programs_setup/kontalk_setup
wget -q --show-progress -O kontalk.png https://avatars3.githubusercontent.com/u/6746728
wget -q --show-progress https://github.com/kontalk/desktopclient-java/releases/download/v3.1.2/KontalkDesktop-3.1.2.zip
unzip KontalkDesktop-*.zip
rm KontalkDesktop-*.zip
cd ./KontalkDesktop-*
#
cat << EOF | tee /home/$USER/.local/share/applications/kontalk.desktop
[Desktop Entry]
Name=Kontalk
Comment=a messenger app
Exec=sh -c '/usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java -jar /home/xxUserxx/programs_setup/kontalk_setup/KontalkDesktop-3.1.2/KontalkDesktopApp.jar'
Icon=/home/xxUserxx/programs_setup/kontalk_setup/kontalk.png
Terminal=false
Type=Application
Categories=Application;Network;Internet;
StartupNotify=true
EOF
#
cd ~/.local/share/applications
sed -i 's/xxUserxx/'$USER'/' kontalk.desktop
#
cd /home/$USER/programs_setup/kontalk_setup/KontalkDesktop-*
/usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java -jar /home/$USER/programs_setup/kontalk_setup/KontalkDesktop-3.1.2/KontalkDesktopApp.jar
from desktopclient-java.
Related Issues (20)
- Use draft to add bugreport to GitHub HOT 1
- Impossible to import personal key HOT 8
- retry reconnecting timer? HOT 4
- NPE if incoming message does not contain XMPP ID
- Some received messages are not displayed in the chat window HOT 1
- accept and block are one to much HOT 1
- Can't execute jar-file under Ubuntu HOT 4
- Create new account with Desktop-Client
- Not Scaling UI to High DPI Screens HOT 2
- update kontalk icon for desktop version to the latest icon HOT 1
- the server certificate could not be validated. HOT 3
- Control kontalk's desktopclient-java by sending terminal commands? HOT 3
- Feature Request: File storage and Fontsize HOT 3
- Make new GitHub releases (tarballs, flatpak and appimage) HOT 5
- System notifications HOT 1
- latest binary version does not connect to server HOT 7
- Support for Java 12 HOT 1
- Can't open key archive HOT 3
- Not working on ubuntu LTS v18 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from desktopclient-java.