meta data for this page
  •  

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
axolotl [2021/03/22 00:14]
joshbowyer
axolotl [2021/04/10 13:26]
arno_nuehm adding cog browser to daemonized server setup
Line 128: Line 128:
  
 The first starts Axolotl as webserver. The first starts Axolotl as webserver.
-The second starts the Axolotl-UI using Firefox ESR. Every other browser should do the work, but Firefox seems to be the most suitable/​stable at the moment (Midori is resource friendly but laggy option).+The second starts the Axolotl-UI using "​cog"​ - lightweight & fast browser.
  
-This command creates the desktop file+This installs cog 
 + 
 +<​code>​ 
 +sudo apt install cog 
 +</​code>​ 
 + 
 +This command creates the server-desktop file
  
 <​code>​ <​code>​
Line 158: Line 164:
  
  
-and this creates the starter icon for the browser+and this creates the starter icon for the browser-desktop file
  
 <​code>​ <​code>​
-echo -e "​[Desktop Entry]\nType=Application\nName=Axolotl-Browser\nGenericName=Signal Chat Client (Browser)\nExec=firefox-esr -private-window ​http://​127.0.0.1:​9080\nIcon=$HOME/​go/​src/​github.com/​nanu-c/​axolotl/​build/​linux-arm64/​axolotl-web/​dist/​axolotl.png\nTerminal=false\nCategories=Network;​Chat;​InstantMessaging;"​ | sudo tee -a /​usr/​share/​applications/​axolotl.desktop+echo -e "​[Desktop Entry]\nType=Application\nName=Axolotl-Browser\nGenericName=Signal Chat Client (Browser)\nExec=cog --doc-viewer ​http://​127.0.0.1:​9080\nIcon=$HOME/​go/​src/​github.com/​nanu-c/​axolotl/​build/​linux-arm64/​axolotl-web/​dist/​axolotl.png\nTerminal=false\nCategories=Network;​Chat;​InstantMessaging;"​ | sudo tee -a /​usr/​share/​applications/​axolotl.desktop
 </​code>​ </​code>​
  
Line 177: Line 183:
 Name=Axolotl-Browser Name=Axolotl-Browser
 GenericName=Signal Chat Client (Browser) GenericName=Signal Chat Client (Browser)
-Exec=firefox-esr -private-window ​http://​127.0.0.1:​9080+Exec=cog --doc-viewer ​http://​127.0.0.1:​9080
 Icon=/​home/​mobian/​go/​src/​github.com/​nanu-c/​axolotl/​build/​linux-arm64/​axolotl-web/​dist/​axolotl.png Icon=/​home/​mobian/​go/​src/​github.com/​nanu-c/​axolotl/​build/​linux-arm64/​axolotl-web/​dist/​axolotl.png
 Terminal=false Terminal=false
 Categories=Network;​Chat;​InstantMessaging;​ Categories=Network;​Chat;​InstantMessaging;​
 </​code>​ </​code>​
- 
-For Midori as UI, change the Exec line into this 
- 
-<​code>​ 
-Exec=midori -e Fullscreen -a http://​127.0.0.1:​9080 -p 
-</​code>​ 
- 
  
 If you want Axolotl-Server to be started at login, copy the desktop file to the autostart folder If you want Axolotl-Server to be started at login, copy the desktop file to the autostart folder