-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
112 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,111 @@ | ||
# Webtop (openbox-ubuntu) | ||
|
||
```yaml | ||
version: "2.1" | ||
services: | ||
webtop: | ||
image: lscr.io/linuxserver/webtop:amd64-ubuntu-openbox | ||
container_name: webtop-openbox | ||
security_opt: | ||
- seccomp:unconfined #optional | ||
environment: | ||
- PUID=1000 | ||
- PGID=1001 | ||
- TZ=America/Vancouver | ||
- SUBFOLDER=/ # For reverse proxy | ||
- TITLE=WebtopMate # The title as it shown in browser | ||
volumes: | ||
- ~/docker/webtop/config:/config # default home folder | ||
- /mnt/data:/mnt/data | ||
- /var/run/docker.sock:/var/run/docker.sock # Run docker inside docker | ||
ports: | ||
- 3050:3000 | ||
shm_size: "1gb" #optional | ||
restart: unless-stopped | ||
``` | ||
The default installation with config folder copied is not usable. Packages to be installed | ||
```python | ||
apt update | ||
apt install wget terminator rsync ntp spacefm compton tint2 nitrogen nano lxappearance mousepad unrar unzip xarchiver mono-complete libhunspell-dev p7zip libmpv-dev tesseract-ocr vlc ffmpeg fonts-wqy-zenhei language-pack-zh-hans mediainfo mediainfo-gui | ||
``` | ||
|
||
Packages that has to be installed manually | ||
`lxappearance, spacefm, tint2, nitrogen` | ||
|
||
Desktop (tint2, nitrogen) | ||
- nitrogen cannot keep `scaled` option after restarting and needs to change it manually | ||
- nitrogen wallpaper are found in `/config/Pictures/wallpaper.jpg` | ||
|
||
### Customization | ||
**lxappearance** | ||
- theme: `Quixotic-blue`; location `.themes` | ||
- icon: `Desert-Dark-icons`; location `.icons` | ||
**tint2** | ||
- tint2 with copied config, located in `.config/tint2` | ||
|
||
### Firefox Browser | ||
**policies.json** | ||
```json | ||
// force install ublock, disable annoyances, add bookmarks | ||
{ | ||
"policies": { | ||
"ExtensionSettings": { | ||
"[email protected]": { | ||
"installation_mode": "force_installed", | ||
"install_url": "https://addons.mozilla.org/firefox/downloads/latest/ublock-origin/latest.xpi" | ||
} | ||
}, | ||
"NoDefaultBookmarks": true, | ||
"DisableTelemetry": true, | ||
"Bookmarks": [ | ||
{ | ||
"Title": "zmk", | ||
"URL": "https://zmk.pw", | ||
"Placement": "toolbar" | ||
}, | ||
{ | ||
"Title": "SubHD", | ||
"URL": "https://subhd.tv", | ||
"Placement": "toolbar" | ||
} // Add more bookmarks like this | ||
], | ||
"FirefoxHome": { | ||
"Search": true, | ||
"TopSites": true, | ||
"SponsoredTopSites": false, | ||
"Pocket": false, | ||
"SponsoredPocket": false, | ||
"Locked": false | ||
} | ||
} | ||
} | ||
|
||
``` | ||
- it is not possible to backup bookmarks on the pinned menu via policies (only way is to restore from home folder) | ||
- it's not possible to remove `import bookmarks` and `getting started` bookmarks with `policies.json` as documented [here](https://mozilla.github.io/policy-templates/#nodefaultbookmarks), it has to be removed manually | ||
**Manual Configs** | ||
- ublock add Chinese filter | ||
- pin bookmarks | ||
- remove default bookmarks and getting started from toolbar | ||
### Files | ||
|
||
SpaceFM | ||
- upon installing, with config copied over, everything works fine | ||
- configuration is stored in `~/.config/spacefm` | ||
|
||
Movie-Renamer Script | ||
- works after copying | ||
|
||
### Subtitles | ||
#### Subtitle Edit | ||
Install [dependencies](https://www.nikse.dk/subtitleedit/help#linux) | ||
Download subtitle-edit | ||
```bash | ||
curl -s https://api.github.com/repos/SubtitleEdit/subtitleedit/releases/latest | grep -E "browser_download_url.*SE[0-9]*\.zip" | cut -d : -f 2,3 | tr -d \" | wget -qi - -O SE.zip | ||
unzip SE.zip -d /config/subtitle-edit | ||
``` | ||
Subtitle-Edit Dark theme has to be changed manually | ||
- `Options` -> `Settings` -> `Appearance` -> `Use Dark Theme` | ||
- `Options` -> `Settings` -> `Syntax Coloring` -> `Error color` and change to `27111D` | ||
- `Options` -> `Settings` -> `Appearance` -> `UI Font` -> `General` and change to `WenQuanYi Zen Hei` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters