[THEME] Argon (main thread)

Does anyone know where the background images of login page are downloaded from?

I've set "built-in" images in the argon-config, not the bing wallpapers, but I see a new wallpaper whenever I need log in to LuCI. I've added a "127.0.0.1 bing.com" line to /etc/hosts and the domain isn't accessible from my computer and pinging it from LuCI interface gives me this:

PING bing.com (127.0.0.1): 56 data bytes
64 bytes from 127.0.0.1: seq=0 ttl=64 time=0.123 ms
64 bytes from 127.0.0.1: seq=1 ttl=64 time=0.131 ms
64 bytes from 127.0.0.1: seq=2 ttl=64 time=0.107 ms
64 bytes from 127.0.0.1: seq=3 ttl=64 time=0.141 ms
64 bytes from 127.0.0.1: seq=4 ttl=64 time=0.162 ms

--- bing.com ping statistics ---
5 packets transmitted, 5 packets received, 0% packet loss
round-trip min/avg/max = 0.107/0.132/0.162 ms

They are downloaded from Microsoft. Those are the Bing background of the day. You can download it Using this Powershell command:

irm "bing.com$((irm "bing.com/HPImageArchive.aspx?format=js&mkt=en-IN&n=1").images[0].url)" -OutFile bing.jpg

If you refer to the location of the backgrounds Argon uses when using local files, they must be stored in /www/luci-static/argon/background/

That's right, the background image is stored in that ../background path however, I don't get why these are downloaded since "built in" has been chosen in argon config as a source, not "bing wallpapers". I don't get it either why they're downloaded at all, since I added new line 127.0.0.1 bing.com to the /etc/hosts.

EDIT: Solved. Need to add www.bing.com as well.

1 Like

@RaZi3L Does the theme install normally for you? When I install the ipk from jerrykuku's repo I get a theme fallback "Unable to compile 'themes/argon/header' as Lua template: Unable to load Lua runtime". I am on the latest snapshot.

Any idea what I need to do?

Edit: Sorry, nvm. Worked after I installed luci-app-argon-config.

I've just seen there's a newer version of Argon theme so I purged the old v2.2.9.4 and installed latest v2.3.1. Anyone know how can I activate Unsplash or Wallhaven wallpapers? I can't find such a setting myself. luci-app-argon-config - 0.9-20210309 installed is the latest version.

Hi,

I can't get Argon to nicely show on my router. It looks pretty ugly as you can see bellow. And even though, I am in light mode, it's still showing me the dark mode. Anyone has an idea what to do?


What's your browser?

Thanks for posting. This what I see on any Mac browser since 2.2.9.2. I have just not been up to running down the problem.

Thanks for letting me know. I tried both on safari and chrome but I only have Macs.

It's a really beautiful theme so too bad for me, it's non-mac compatible

Check your browser fingerprint protection settings. If it's enabled, disable it, or exclude the IP or domain from it. This is what I needed to do in Firefox.

installed the theme on top of 23.05.0-rc3
Looks pretty neat - and it is very fast as well!

does anyone know, while making firmware in firmware selector, how can i include luci theme argon there?
i write luci-theme-argon but it gives me error

You cannot do it via the builder, but probably can "sideload" the package and then opkg install it.

You can add luci-argon-theme on your build by following the README.md from the official repo: https://github.com/jerrykuku/luci-theme-argon#build-for-openwrt-official-snapshots-and-immortalwrt

This is how I added it to my custom builds

1 Like

Hi, installed both the theme and config and it fails with the following. Any guess?
(The latest config download was not working with the wget command, so did it manually, otherwise no change.)


Error
Unhandled exception during request dispatching
/usr/lib/lua/luci/ucodebridge.lua:23: /usr/lib/lua/luci/template.lua:181: Failed to execute template 'themes/argon/header'.
A runtime error occurred: /usr/lib/lua/luci/dispatcher.lua:68: attempt to index global '__entries' (a nil value)
stack traceback:
	/usr/lib/lua/luci/dispatcher.lua:68: in function 'node'
	[string "/usr/lib/lua/luci/view/themes/argon/header...."]:16: in main chunk

In error(), file [C]
  called from function run (/usr/lib/lua/luci/ucodebridge.lua:23)
  called from function [anonymous function] (/usr/lib/lua/luci/ucodebridge.lua:37)

In [anonymous function](), file /usr/share/ucode/luci/runtime.uc, line 133, byte 10:
  called from function [arrow function] (/usr/share/ucode/luci/runtime.uc:141:63)
  called from function render ([C])
  called from function [anonymous function] (/usr/share/ucode/luci/runtime.uc:141:64)
  called from function run_action (/usr/share/ucode/luci/dispatcher.uc:786:47)
  called from function [anonymous function] (/usr/share/ucode/luci/dispatcher.uc:1003:48)
  called from anonymous function (/www/cgi-bin/luci:39:13)

 `            die(ex);`
  Near here --------^
root@DIR-842:~# opkg list-installed | grep argon
luci-app-argon-config - 0.9
luci-theme-argon - 1.8.3-20230710
OpenWrt 23.05.0 r23497-6637af95aa / LuCI openwrt-23.05 branch git-24.006.68745-9128656

I ran into multiple issues installing the theme, here is what has worked for me today on OpenWRT version 23.05

opkg update
opkg install luci-compat
opkg install luci-lib-ipkg
mkdir -p /tmp/okibcn
cd /tmp/okibcn


wget https://github.com/jerrykuku/luci-theme-argon/releases/download/v2.3.1/luci-theme-argon_2.3.1_all.ipk -O $(basename https://github.com/jerrykuku/luci-theme-argon/releases/download/v2.3.1/luci-theme-argon_2.3.1_all.ipk)

wget https://github.com/jerrykuku/luci-app-argon-config/releases/download/v0.9/luci-app-argon-config_0.9_all.ipk -O $(basename https://github.com/jerrykuku/luci-app-argon-config/releases/download/v0.9/luci-app-argon-config_0.9_a
ll.ipk)

opkg install luci-theme-argon*.ipk

opkg install luci-app-argon-config*.ipk

cd
rm -rf /tmp/okibcn

Put simply, I went on Github and manually selected the latest releases for OpenWRT as there seems to be issues with the procedure on this forum.

3 Likes

Latest trunk builds: https://fantastic-packages.github.io/packages/releases/

Easy install:

  1. Download fantastic-feeds_XXX_all.ipk
  2. Manually install downloaded ipk
  3. Update OPKG lists
  4. Install luci-theme-argon & luci-app-argon-config via OPKG
5 Likes

First time I actually succeed in installing the theme. It's nice. Thank you.

Can you add a support for the current 23.05-Snapshot release? I've tried fantastic-feeds_XXX_all.ipk and it works on current master snapshot builds but does not on 23.05-Snapshot.
This is the error message

Executing package manager
Downloading https://fantastic-packages.github.io/packages/releases/23.05-SNAPSHOT/packages/arm_cortex-a15_neon-vfpv4/luci/Packages.gz

I was able to install argon theme and argon config manually on 23.05-Snapshot but probably it would be convenient to have both when updating packages lists.

1 Like

@remittor I've tested the new v2.1 release. It's OK with 23.05-Snapshot now too. No errors. Thanks a lot.
Do you happen to know what is the package that can report NSS load data on the Luci status page.
image
Such a Luci status page reporting NSS usage (along with CPU) can be seen on this video for QNAP QHora-301W. But could be useful for Netgear R7800s that use OpenWrt NSS builds.