Tiny Core Linux
dCore Import Debian Packages to Mountable SCE extensions => dCore X86 => dCore x86 Imported Extensions => Topic started by: nitram on October 15, 2016, 04:08:38 PM
-
Still playing with browsers, almost done, didn't know there were so many.
In dCore-jessie the URL and search fields are white on white due to some apparent xombrero vs GTK configuration issue. There was an apparent fix online, don't have the link available ATM. It could, however, also be fixed with a startup script that simply disables /usr/share/xombrero/xombrero.css:
mv /usr/share/xombrero/xombrero.css /usr/share/xombrero/xombrero.cssDISABLE
In dCore-xenial the URL and search fields appear fine but there are no icons (back, forward, new tab, etc). I tried creating a ~/gtk3 configuration file but haven't had any success. Terminal reports issues:
tc@box:~$ xombrero
(process:5494): Gtk-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.
xombrero: config_parse: cannot open /home/tc/.xombrero.conf: No such file or directory
(xombrero:5494): Gtk-WARNING **: Theme parsing error: <broken file>:1:0: Failed to import: Error opening file: No such file or directory
Don't think any of these issues are dCore related, just trying to get it running.
-
If it helps, when I tried a dark gray gtk theme, I had to use a workaround in order to get Firefox' address and search bar's font not match the background color (don't know if it was the theme's fault).
I'm relatively sure it's done via:
~/.mozilla/firefox/[1234abcd].default/chrome/userChrome.css
-
Thanks for your input Misalf. Found the links, the xombrero style bug in dCore-jessie is outlined here:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=765744
Patches(not tested):
https://github.com/conformal/xombrero/issues/59
https://github.com/conformal/xombrero/commit/2b755ffe5a672b97ca8a81f9230d8017a72f2cd0
Quick, dirty workaround:
sudo mv /usr/share/xombrero/xombrero.css /usr/share/xombrero/xombrero.cssDISABLE
Regarding xenial, will test this xombrero ppa install on next reboot:
ppa:unit193/xombrero
https://launchpad.net/~unit193/+archive/ubuntu/xombrero?
-
Thanks for the reporting and troubleshooting. I used the fix from:
https://github.com/conformal/xombrero/commit/2b755ffe5a672b97ca8a81f9230d8017a72f2cd0
So should work out of the box with dCore-jessie. Also, added lxde-icon-theme to the deps of xombrero, it adds about 4mb to the ~113mb package, but works now in a minimal environment in dCore-xenial and should in the rest without a gtk2 or gtk3 config file.
-
Hi Jason. Thanks for addressing. If it's a big problem was going to mention xombrero looks inactive. No real maintenance in over 2 years (https://github.com/conformal/xombrero), web reports upstream not responding to requests or not willing to address, users looking for new favourite browser.
Updated xombrero in dCore-jessie, the white on white theme issue is solved. However, on first start it doesn't launch:
tc@box:~$ xombrero
(process:7650): Gtk-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.
(xombrero:7650): GLib-GIO-ERROR **: No GSettings schemas are installed on the system
Trace/breakpoint trap
SeaMonkey is GTK2 and xombrero GTK3, so i'm not sure exactly why but after loading SeaMonkey then xombrero launches properly from terminal, still with errors but it works:
tc@box:~$ xombrero
(process:8030): Gtk-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.
xombrero: config_parse: cannot open /home/tc/.xombrero.conf: No such file or directory
xombrero: runtime file doesn't exist, creating it
xombrero: start of day file doesn't exist, creating it
xombrero: favorites file doesn't exist, creating it
xombrero: quickmarks file doesn't exist, creating it
(xombrero:8030): Gtk-WARNING **: Theme parsing error: xombrero.css:28:11: Not using units is deprecated. Assuming 'px'.
(xombrero:8030): Gtk-WARNING **: Theme parsing error: xombrero.css:29:10: Not using units is deprecated. Assuming 'px'.
Anything else to try please let me know, thanks.
Edit: SeaMonkey is a barebones install, just the precompiled executable, plus extra deps to make it work: libgtk2.0-0, libdbus-glib-1-2.
-
Sorry for more bad news. Updated xombero in dCore-xenial, includes the lxde-icon-theme but still no icons on first launch. Loaded lxappearance and applied lxde-icon-theme, which created ~/.config/gtk-3.0/settings.ini but still no icons:
[Settings]
gtk-theme-name=Raleigh
gtk-icon-theme-name=Adwaita
gtk-font-name=Sans 10
gtk-cursor-theme-size=0
gtk-toolbar-style=GTK_TOOLBAR_BOTH
gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR
gtk-button-images=1
gtk-menu-images=1
gtk-enable-event-sounds=1
gtk-enable-input-feedback-sounds=1
gtk-xft-antialias=1
gtk-xft-hinting=1
gtk-xft-hintstyle=hintfull
gtk-xft-rgba=none
Edit: Reopened lxappearance and selected nuoveXT.2.2 , now finally get icons with exception of the top right corner tab history icon (no biggie), lxappearance generated this ~/.config/gtk-3.0/settings.ini:
[Settings]
gtk-theme-name=Raleigh
gtk-icon-theme-name=nuoveXT2
gtk-font-name=Sans 10
gtk-cursor-theme-size=0
gtk-toolbar-style=GTK_TOOLBAR_BOTH
gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR
gtk-button-images=1
gtk-menu-images=1
gtk-enable-event-sounds=1
gtk-enable-input-feedback-sounds=1
gtk-xft-antialias=1
gtk-xft-hinting=1
gtk-xft-hintstyle=hintfull
gtk-xft-rgba=none
So it looks like some active configuration in a startup file may be beneficial for dCore-jessie's icons.
-
Hi nitram
SeaMonkey is GTK2 and xombrero GTK3, so i'm not sure exactly why but after loading SeaMonkey then xombrero launches properly from terminal, still with errors but it works:
Those are warnings, not errors.
xombrero: config_parse: cannot open /home/tc/.xombrero.conf: No such file or directory
That looks like a packaging issue, xombrero.conf is available here:
https://github.com/conformal/xombrero/blob/master/xombrero.conf
(xombrero:8030): Gtk-WARNING **: Theme parsing error: xombrero.css:28:11: Not using units is deprecated. Assuming 'px'.
(xombrero:8030): Gtk-WARNING **: Theme parsing error: xombrero.css:29:10: Not using units is deprecated. Assuming 'px'.
That was fixed in March 2015, see:
https://github.com/conformal/xombrero/blob/master/xombrero.css
-
Hi Rich, sorry warnings not errors. Updated dCore-jessie boot list and double-checked xombrero updates. Fresh reboot with everything up to date, all gtk and xombrero configs removed from /home, still problem, loaded libdbus-glib-1-2 and xombrero started up normally. So for dCore-jessie think adding libdbus-glib-1-2 as an extra dependency should fix things.
tc@box:~$ xombrero
(process:8769): Gtk-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.
(xombrero:8769): GLib-GIO-ERROR **: No GSettings schemas are installed on the system
Trace/breakpoint trap
tc@box:~$ sce-load libdbus-glib-1-2
* Using nice level 19.
* Integrity and md5sum check libdbus-glib-1-2.
* Mount /tmp/tcloop/libdbus-glib-1-2/.
* Update system:
libdbus-glib-1-2
* Loaded libdbus-glib-1-2.sce.
tc@box:~$ xombrero
(process:8922): Gtk-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.
xombrero: config_parse: cannot open /home/tc/.xombrero.conf: No such file or directory
xombrero: runtime file doesn't exist, creating it
xombrero: start of day file doesn't exist, creating it
xombrero: favorites file doesn't exist, creating it
xombrero: quickmarks file doesn't exist, creating it
(xombrero:8922): Gtk-WARNING **: Theme parsing error: xombrero.css:28:11: Not using units is deprecated. Assuming 'px'.
(xombrero:8922): Gtk-WARNING **: Theme parsing error: xombrero.css:29:10: Not using units is deprecated. Assuming 'px'.
tc@box:~$
-
As per the xombrero.conf packaging issue noted by Rich above, first run xombrero does not create this file and it is not present in the SCE. Downloaded and tested the sample config Rich linked above and it works when placed as ~/.xombrero.conf (not into ~/.xombrero/). Without this config file user is unable to define options and xombrero does not by default remember preferred window size, etc. If a xombrero startup script could auto-populate /home/$USER/.xombrero.conf with this default file it would make the browser more functional. Thanks.
~/.xombrero.conf:
##
## GENERAL SETTINGS
##
#
# The strategy for the config file is as follows:
#
# Boolean values are the opposite of the default and need to simply be
# uncommented to alter the default.
#
# Text values *are* set to the default and in order to change them one must
# uncomment the option *and* change the value.
#
# NOTE: browser_mode and gui_mode MUST be the first entries in this
# file!
# Normal browser operation (default).
# browser_mode = normal
# Prevent tracking operation.
# browser_mode = whitelist
# Classic GUI (default).
# gui_mode = classic
# Minimalistic GUI.
# gui_mode = minimal
# home = https://www.cyphertite.com
# download_dir = ~/downloads
# download_mode = start
# download_notifications = 1
# window_maximize = 1
# window_width = 1024
# window_height = 768
# enable_spell_checking = 1
# spell_check_languages = en_US
# default_zoom_level = 1.0
# encoding = UTF-8
# ssl_ca_file = /etc/ssl/cert.pem
# ssl_strict_certs = 1
# enable_strict_transport = 0
# ctrl_click_focus = 1
# append_next = 0
# save_global_history = 1
# color_visited_uris = 0
# guess_search = 1
# enable_autoscroll = 1
# session_autosave = 1
# history_autosave = 1
# autofocus_onload = 1
# single_instance = 1
# enable_socket = 1
# enable_js_autorun = 0
# auto_load_images = 0
# enable_localstorage = 0
# userstyle = /usr/local/share/xombrero/style.css
# userstyle_global = 1
# enable_favicon_entry = 0
# enable_favicon_tabs = 1
# preload_strict_transport = 1
# referer = always
# warn_cert_changes = 1
# enable_cache = 1
# js_auto_open_windows = 0
# See http://www.xroxy.com/proxylist.php for a good list of open
# proxies.
#
# polipo
# http_proxy = http://127.0.0.1:8123
#
# tsocks
# http_proxy = http://127.0.0.1:1080
#
# If you only occasionally use a proxy
# http_proxy_starts_enabled = 0
# Search engines; uncomment one of these lines for you favorite search
# engine.
#
# Google
# search_string = https://www.google.com/search?q=%s
#
# Yahoo
# search_string = http://search.yahoo.com/search?p=%s
#
# Start Page
# search_string = https://startpage.com/do/search?language=english_us&cat=web&query=%s
#
# DuckDuckGo
# search_string = https://www.duckduckgo.com/?q=%s
# External editor.
# NOTE: The editor specified here must not fork into the background.
#
# Examples of editors:
# external_editor = gvim -f <file>
# external_editor = xterm -geometry 177x58+0+0 -font -*-fixed-medium-r-*-*-15-*-*-*-*-*-iso8859-* -e vim -f <file>
# external_editor = emacsclient -c <file>
# "default_script" points to a script executed by the run_script
# command. The only argument passed to this script is the current URI.
#
# default_script = ~/.xombrero/playflash.sh
# "user_agent" can be set to just about anything, for a comprehensive
# list see: http://www.useragentstring.com/pages/All/ . If more than one
# "user_agent" is given, then xombrero will use them in a round-robin
# fashion for each request.
#
#user_agent = Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3 (.NET CLR 3.5.30729)
#user_agent = Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)
#user_agent = Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/532.0 (KHTML, like Gecko) Chrome/3.0.195.27 Safari/532.0
#user_agent = Mozilla/5.0 (iPhone; U; CPU iPhone OS 3_1 like Mac OS X; en-us) AppleWebKit/528.18 (KHTML, like Gecko) Version/4.0 Mobile/7C144 Safari/528.16
#
##
## ALIASES
##
# Aliases are given in the following format:
#
# alias = <alias>, <link>
#
# Where the link part might contain "%s", the "%s" will be substituted
# with the user's input when the alias is expanded.
# alias = s, https://www.google.com/search?q=%s
# alias = w, https://secure.wikimedia.org/wikipedia/en/w/index.php?title=Special%3ASearch&search=%s
# alias = ports, http://openports.se/search.php?so=%s
##
## COOKIE, JAVASCRIPT AND PLUGIN WHITE LISTS
##
# Add the domains you trust.
# cookie_wl = .conformal.com
# cookie_wl = .peereboom.us
# js_wl = .conformal.com
# js_wl = .peereboom.us
# pl_wl = .conformal.com
# pl_wl = .peereboom.us
##
## FORCE HTTPS FOR SITES
##
# Add the domains of sites that should be only accesed over HTTPS.
# force_https = .conformal.com
##
## MIME TYPES
##
# PDF, note that xpdf can't load a URI directly; use "@" in front of
# mime_type to indicate to download the file first.
# mime_type = application/pdf,kpdf
# mime_type = @application/pdf,xpdf
# Specific MIME type for video.
# mime_type = video/x-ms-wmv,mplayer
# mime_type = video/quicktime,mplayer
# Default MIME type for video.
# mime_type = video/*,mplayer
# Default MIME type for audio.
# mime_type = audio/*,vlc
# Word documents.
# mime_type = application/msword,soffice
# Ignoring flash can be done by using the donothing pseudo-binary.
# mime_type = application/x-shockwave-flash,donothing
##
## ADVANCED SETTINGS
##
# resource_dir = /usr/local/share/xombrero/
# refresh_interval = 10
# url_regex = ^[[:blank:]]*[^[:blank:]]*([[:alnum:]-]+\.)+[[:alnum:]-][^[:blank:]]*[[:blank:]]*$
# gnutls_priority_string = NORMAL:%COMPAT
# NOTE: webkit 1.4.x overwrites these values!
# max_host_connections = 5
# max_connections = 25
##
## ADVANCED GUI SETTINGS
##
# The following low-level GUI settings are set by the high-level setting
# "gui_mode".
# The settings for "gui_mode = classic" are as follows:
# fancy_bar = 1
# show_tabs = 1
# tab_style = normal
# userstyle_global = 0
# show_url = 1
# show_statusbar = 0
# show_scrollbars = 1
# The settings for "gui_mode = minimal" are as follows:
# fancy_bar = 0
# show_tabs = 1
# tab_style = compact
# show_url = 0
# show_statusbar = 1
# show_scrollbars = 0
# The following are settings shared between "classic" and "minimal"
# "gui_mode":
# statusbar_elems = BP
# icon_size = 2
# cmd_font = monospace normal 9
# oops_font = monospace normal 9
# statusbar_font = monospace normal 9
# tabbar_font = monospace normal 9
##
## ADVANCED COOKIE AND JAVASCRIPT SETTINGS
##
# The following low-level settings are set by the high-level setting
# "browser_mode", and shouldn't be tweaked manually unless you know what
# you are doing.
# The settings for "browser_mode = normal" are as follows:
# allow_volatile_cookies = 0
# cookie_policy = allow
# cookies_enabled = 1
# enable_cookie_whitelist = 0
# read_only_cookies = 0
# save_rejected_cookies = 0
# session_timeout = 3600
# enable_scripts = 1
# enable_js_whitelist = 0
# enable_localstorage = 1
# enable_plugins = 1
# enable_plugin_whitelist = 0
# allow_insecure_content = 1
# allow_insecure_scripts = 1
# do_not_track = 0
# The settings for "browser_mode = whitelist" are as follows:
# allow_volatile_cookies = 0
# cookie_policy = no3rdparty
# cookies_enabled = 1
# enable_cookie_whitelist = 1
# read_only_cookies = 0
# save_rejected_cookies = 0
# session_timeout = 3600
# enable_scripts = 0
# enable_js_whitelist = 1
# enable_localstorage = 0
# enable_plugins = 0
# enable_plugin_whitelist = 1
# allow_insecure_content = 0
# allow_insecure_scripts = 0
# do_not_track = 1
##
## KEY BINDINGS
##
# To delete all default keybindings use "keybinding = clearall".
#
# keybinding = clearall
#
# Key names can be found at:
#
# http://git.gnome.org/browse/gtk+/tree/gdk/gdkkeysyms-compat.h
#
# Just chop off the "GDK_" part and you have the keyname. Or look at:
#
# http://git.gnome.org/browse/gtk+/tree/gdk/gdkkeysyms.h
#
# and chop off "GDK_KEY_".
#
# Be aware that the names are case sensitive!
#
# The default keybindings are the following:
#
# keybinding = command,colon
# keybinding = search,slash
# keybinding = searchb,question
# keybinding = command_mode,!Escape
# keybinding = insert_mode,i
# keybinding = cookiejar,!M1-j
# keybinding = downloadmgr,!M1-d
# keybinding = history,!M1-h
# keybinding = print,!C-p
# keybinding = quitall,!C-q
# keybinding = restart,!M1-q
# keybinding = run_script,!M1-r
# keybinding = js toggle,!C-j
# keybinding = cookie toggle,!M1-c
# keybinding = togglesrc,!C-s
# keybinding = yankuri,y
# keybinding = pasteuricur,p
# keybinding = pasteurinew,P
# keybinding = toplevel toggle,!F4
# keybinding = help,!F1
# keybinding = proxy toggle,!F2
# keybinding = searchnext,n
# keybinding = searchprevious,N
# keybinding = focusaddress,!F6
# keybinding = focussearch,!F7
# keybinding = hinting,f
# keybinding = hinting,period
# keybinding = hinting_newtab,S-F
# keybinding = hinting_newtab,comma
# keybinding = userstyle,s
# keybinding = userstyle_global,S
# keybinding = goback,BackSpace
# keybinding = goback,!M1-Left
# keybinding = goforward,!S-BackSpace
# keybinding = goforward,!M1-Right
# keybinding = reload,!F5
# keybinding = reload,!C-r
# keybinding = reload,!C-l
# keybinding = favorites,!M1-f
# keybinding = scrolldown,j
# keybinding = scrolldown,Down
# keybinding = scrollup,k
# keybinding = scrollup,Up
# keybinding = scrollbottom,G
# keybinding = scrollbottom,End
# keybinding = scrolltop,Home
# keybinding = scrollpagedown,space
# keybinding = scrollpagedown,!C-f
# keybinding = scrollpagedown,Page_Down
# keybinding = scrollhalfdown,!C-d
# keybinding = scrollpageup,Page_Up
# keybinding = scrollpageup,!C-b
# keybinding = scrollhalfup,!C-u
# keybinding = scrollright,l
# keybinding = scrollright,Right
# keybinding = scrollfarright,dollar
# keybinding = scrollleft,h
# keybinding = scrollleft,Left
# keybinding = scrollfarleft,0
# keybinding = statustoggle,!C-n
# keybinding = stop,!S-F5
# keybinding = tabnew,!C-t
# keybinding = tabclose,!C-w
# keybinding = tabundoclose,U
# keybinding = tabnext 1,!C-1
# keybinding = tabnext 2,!C-2
# keybinding = tabnext 3,!C-3
# keybinding = tabnext 4,!C-4
# keybinding = tabnext 5,!C-5
# keybinding = tabnext 6,!C-6
# keybinding = tabnext 7,!C-7
# keybinding = tabnext 8,!C-8
# keybinding = tabnext 9,!C-9
# keybinding = tabfirst,!C-less
# keybinding = tablast,!C-greater
# keybinding = tabprevious,!C-Left
# keybinding = tabnext,!C-Right
# keybinding = focusout,!C-minus
# keybinding = focusin,!C-equal
# keybinding = focusin,!C-plus
# keybinding = focusreset,!C-0
# keybinding = editelement,!C-i
# keybinding = passthrough,!C-z
# keybinding = :open ,!F9
# keybinding = :open <uri>,!F10
# keybinding = :tabnew ,!F11
# keybinding = :tabnew <uri>,!F12
# parse the contents of another configuration file
# include_config = ~/.xombrero_alternate.conf
-
I will add libdbus-glib-1-2 to xombrero's deps. Also will create a config file to be copied to ~/xombrero.conf on extension loading. Most apps create their own config file on first start of course, but the xombrero.deb2sce startup script can create one if not already present on loading.
-
Added libdbus-glib-1-2 to xombrero's deps. Also added .xombrero.conf to the extension to be copied to ~/ if not already existing, also updated the xombrero.css file to the more recently fixed one. Removed lxde-icon-theme from the dependencies, and I get icons in dCore-xenial when only installing xorg-all, flwm_topside, and xombrero with no gtk2 or gtk3 config file in ~/. Please test.
-
Thanks for those changes. Re-tested, consider xombrero in dCore-jessie solved. Regarding dCore-xenial, i am still unable to get icons. Did as you say, cleared home of gtk and xombrero configs. Loaded xorg-all, everything up to date, not using a purge file. Was running xorg-intel but no change with xorg-all. My boot list consists of only graphics-4.2.9-tinycore, xorg-all, jwm and ntfs-3g. Not sure what else to try. As mentioned above, only way i was able to get icons in dCore-xenial was with a ~/.config/gtk-3.0/settings.ini containing:
[Settings]
gtk-theme-name=Raleigh
gtk-icon-theme-name=nuoveXT2
If it works for you then maybe good enough. I have no intention of using it as my main browser and a suitable gtk3 configuration workaround is documented here for anyone having similar issues. Thanks for your help getting it running.
-
Finally! Brain wouldn't let it rest. Compared everything i could think of, xorg-all contents vs xorg-intel, Jessie xombrero vs Xenial, much google. Installing adwaita-icon-theme-full instead of adwaita-icon-theme now provides full icons on my hardware in dCore-xenial, including the URL history dropdown arrow.
The import_summary diff, only one package:
--- adwaita-icon-theme_import_summary
+++ adwaita-icon-theme-full_import_summary
@@ -1,11 +1,12 @@
-Imported adwaita-icon-theme.sce on Tue Oct 18 05:49:43 UTC 2016.
+Imported adwaita-icon-theme-full.sce on Tue Oct 18 05:37:27 UTC 2016.
Did not use -R option.
Did not use -S option.
-Total import 145 packages (145 - 0 dependency provided):
+Total import 146 packages (146 - 0 dependency provided):
adwaita-icon-theme
+adwaita-icon-theme-full
coreutils
dconf-gsettings-backend
dconf-service
3MB > adwaita-icon-theme_3.18.0-2ubuntu3_all.deb
7MB > adwaita-icon-theme-full_3.18.0-2ubuntu3_all.deb
Retested with wiped configs and fresh boot using graphics-4.2.9-tinycore, xorg-intel, jwm and ntfs-3g. Although the final SCE will be slightly larger, upgrading to the full icon theme is appreciated to ensure xombrero works on all systems and hardware. Posted from dCore-xenial's xombrero with functional config file, beautiful styling and icons :)
-
Great! I don't see adwaita-icon-theme-full in my dCore-xenial imported xombrero and it was working, but at this point it's irrelevant as I have added adwaita-icon-theme-full to the deps of xombrero, so should work for all now. Thanks!
-
Last update check no adwaita-icon-theme-full added.
-
Ok, this is because the existing package list within an SCE were checked for updates, new dependencies added to packages within the SCE were not. I have added it in the latest RC, please test on that xombrero.sce.
-
All good, including the bug fix, thanks again.