Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

default to public accessible folder for configs #5

Closed
FONZACUS opened this issue May 12, 2024 · 7 comments
Closed

default to public accessible folder for configs #5

FONZACUS opened this issue May 12, 2024 · 7 comments

Comments

@FONZACUS
Copy link

FONZACUS commented May 12, 2024

awesome browser btw, it really ignites the geek inside me. sadly with recent android changes its becoming an iphone with too many restrictions. and for my next phone, i guess ill be pure non root + custom as there are too many headaches nowadays

it would be awesome if the configs could default to somewhere easy for non root users like /internal/downloads/uweb so everything can access it (i do see a downloads/app folder, also put it under uweb/). the /data...uweb should be used for more private stuff. as a starting point, it just creates the folder and leaves it empty for us to modify it. if there exists configs in both folders, prioritize the /int/down/uweb

after playing around for a bit and resetting the data, i finally got the toybox commands to work. i feel it should be the 1st page opened (or automatically done)

https://github.com/torappinfo/uweb/blob/master/en/cmds/index.html

@Banzayka
Copy link

Banzayka commented Jun 1, 2024

Hi,

Really awesome browser, but I'm not that experienced and to be honest, didnt understand how to configure it. Any tips how to change fonts? I read that folder with css should be created, but Termux doesnt have access to /data folder - permission denied

@FONZACUS
Copy link
Author

FONZACUS commented Jun 1, 2024

Hi,

Really awesome browser, but I'm not that experienced and to be honest, didnt understand how to configure it. Any tips how to change fonts? I read that folder with css should be created, but Termux doesnt have access to /data folder - permission denied

in the link above select the 'tgz install::toybox...' then 'config in download'
it should copy your /data/data/uweb/files to /sdcard/downloads/uweb and symlink em

thats why i opened this request in hopes of making it default

anything in /data requires either root permission or the app. linking it with downloads is much easier since any app can access it not just termux

@Banzayka
Copy link

Banzayka commented Jun 3, 2024

@FONZACUS

Many thanks for reply, it works! But now I have another issue - created folder fonts (in downloads/uweb/fonts and downloads/uweb/files/fonts) just in case in 2 places, copied fonts there (.ttf) but advanced customization uweb does not list it, manual input also does not work, any tips?

@FONZACUS
Copy link
Author

FONZACUS commented Jun 4, 2024

@Banzayka

sorry idk, i havent played around with fonts as its not described yet in config files.
theyre prolly system only fonts.
but i did manage a hacky way to do it global css night mode or default.css.
it somehow doesnt work with other css files like in downloads/uweb/css/, weird. heres an example to my default.css

@import url("https://fonts.googleapis.com/css?family=Ubuntu");
*{font-family:Ubuntu!important}

the only issue is it downloads the fonts from their site 1st, after a slight delay your fonts are ready and should work just fine

@Banzayka
Copy link

Banzayka commented Jun 6, 2024

@FONZACUS

Many thanks for your time & efforts, appreciated! However, didnt manage to get it work, for me it seems too early to use this browser at the moment

@torappinfo
Copy link
Owner

There are multiple ways to edit the configuration files:

  • Long pressing the "clock" icon on the bottom toolbar=> editor : open embedded editor for local files.
  • Press the "setting" icon on the bottom toolbar => app folder : long click the file link to share for third-party editors.
  • make uweb "files" folder symbolic link to folders like "/sdcard/Download/uweb", then configuration files are accessible to file managers.
  • If the termux (uweb-adapted version) is installed, then the uweb internal folder is accessible to termux. You can also make a symbolic link to uweb "files" folder, then the uweb internal folder can be managed by third-party file manager through termux storage.

@torappinfo
Copy link
Owner

Closed as there are multiple ways to manager configuration files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants