Linux icon Topic is solved

Board for discussions around the Basilisk web browser.

Moderator: satrow

ianas
Moonbather
Moonbather
Posts: 60
Joined: Sat, 25 Nov 2017, 02:48

Linux icon

Unread postby ianas » Wed, 10 Jan 2018, 23:00

after using it on windows I finally downloaded Basilisk for Linux
unfortunately Linux doesn't support icon resources embedded inside the app binary and I couldn't find the Basilisk icon as a png/svg inside the tar ball
I want to create a desktop file with an icon for Basilisk but without an icon I can't do that (the only icon present is icons/updater.png) can we get a basilisk icon inside the tar ball for Linux users?
ps a Basilisk.desktop file which we could copy to ~./local/share/applications so we can get a menu bar launcher would be nice too making one isn't difficult but we shouldn't really need to

edit
I've been searching for a small image (png/ico) that I can use as an icon in https://basilisk-browser.org/ but the only image there is
https://basilisk-browser.org/bas-logo-300w.png
which is not usable as an icon I can extract the icon from the windows binary but that's just too much work (and a reboot) any chance for a link to the icon used in the windows binaries?
Last edited by ianas on Wed, 10 Jan 2018, 23:03, edited 1 time in total.

User avatar
helloimustbegoing
Board Warrior
Board Warrior
Posts: 1886
Joined: Thu, 28 Jun 2012, 01:20

Re: Linux icon  Topic is solved

Unread postby helloimustbegoing » Wed, 10 Jan 2018, 23:33

The icon you're looking for is here, I believe:

****/basilisk/browser/icons/mozicon128.png

ianas
Moonbather
Moonbather
Posts: 60
Joined: Sat, 25 Nov 2017, 02:48

Re: Linux icon

Unread postby ianas » Wed, 10 Jan 2018, 23:45

tanks for that I never would have found it

ianas
Moonbather
Moonbather
Posts: 60
Joined: Sat, 25 Nov 2017, 02:48

Re: Linux icon

Unread postby ianas » Wed, 10 Jan 2018, 23:57

I unpacked Basilisk in ~/opt/basilisk
and this is the desktop file I created maybe some other user would find it helpful
I created a text file Basilisk.desktop in ~/.local/share/applications/

Code: Select all

kate ~/.local/share/applications/Basilisk.desktop

pasted this inside

Code: Select all

[Desktop Entry]
Categories=Network;WebBrowser;GTK;
Encoding=UTF-8
Name=Basilisk
GenericName=Web Browser
Comment=Web Browser
TryExec=/home/<you>/opt/basilisk/basilisk
Exec=/home/<you>/opt/basilisk/basilisk %u
Icon=/home/<you>/opt/basilisk/browser/icons/mozicon128.png
Terminal=false
StartupNotify=true
MimeType=text/html;text/xml;application/xhtml+xml;application/vnd.mozilla.xul+xml;text/mml;application/x-xpinstall;x-scheme-handler/http;x-scheme-handler/https;x-scheme-handler/ftp;
Type=Application

Actions=PrivateBrowsing;

[Desktop Action PrivateBrowsing]
Name=New Private Browsing Window
Exec=/home/<you>/opt/basilisk/basilisk --private-window %u


and saved it
if somebody uses this as a template they should replace <you> with your Linux user name
unfortunately neither $HOME nor ~ seam to work inside desktop files (I get an error the desktop file is invalid) so a generic launcher can not be created :/
Last edited by ianas on Thu, 11 Jan 2018, 00:00, edited 2 times in total.


Return to “Basilisk”

Who is online

Users browsing this forum: No registered users and 4 guests