Comments (8)
What we're talking about here is a feature called "configuration profiles" and these are definitely possible with Electron. In addition, at least under Linux, you can quite easily run AppImage in a portable mode, which achieves the same thing: https://docs.appimage.org/user-guide/portable-mode.html
from sleek.
I could imagine several reasons :) But in short, luckily Sleek uses recent enough version of AppImageKit and have no explicit check that would prevent multiple instances.
from sleek.
@amariusz not sure if this is really a thing in the world of Electron/Chromium. This at least makes me doubt this is possible without bending the whole framework somehow.
What you might be looking for is a function of keeping the configuration bound to todo.txt files as described here: #588
Currently I'm able to run Sleek in two windows but changes in one window are reflected in the other - which is kind of strange, but still a feature :)
How do you run two instances of sleek (2.x) at the same time? If this is somehow possible, it wasn't intended by me tbh.
from sleek.
@amariusz not sure if this is really a thing in the world of Electron/Chromium. This at least makes me doubt this is possible without bending the whole framework somehow.
There seems to be such possibility. code and chrome apps can be invoked in terminal with --help
switch. Maybe this thread would be more helpful?
https://stackoverflow.com/questions/45051296/read-windows-command-line-option-in-electron-renderer-process
What you might be looking for is a function of keeping the configuration bound to todo.txt files as described here: #588
No, I'd like to work also on the same todo.txt file with different filters. Sleek seems to reload externally modified file quick enough to avoid data corruption.
How do you run two instances of sleek (2.x) at the same time? If this is somehow possible, it wasn't intended by me tbh.
As simple as opening two terminals (on linux) and launching sleek-2.0.8.AppImage in each one. Maybe there's a check just for windows?
If processing commandline arguments is problematic maybe you could consider those options:
- using config from local directory if it's present next to sleek binary
- ability to switch "profiles" similarly to what chrome offers for multiple accounts
Thanks!
from sleek.
... maybe also those links could be useful
electron/electron#4690
https://www.tabnine.com/code/javascript/functions/electron/Process/argv
from sleek.
Sorry for late reply. That's a great tip, thanks! I've tested it today and it seems to work fine with Sleek.
This method allows me to have multiple Sleek windows with independent configuration and common todo files, so I'm closing the issue.
from sleek.
I've tested it today and it seems to work fine with Sleek
Why wouldn't it :)
That's a great tip, thanks!
Glad I could help!
from sleek.
Another option for running an app like sleek with different configuration but shared todo files would be to dockerize sleek and have each Docker image access the todos via a shared volume on the host. That should work across platforms -- irrespective of AppImage or other packaging options.
@ransome1 Just an idea :)
from sleek.
Related Issues (20)
- Improve sorting, add missing sorting, sort order for "no", show "no" HOT 2
- Windows setting to show Sleek application icon in taskbar does not persist
- 2.0.12-rc.4 - can't open file on Windows HOT 3
- 'Error: ENOENT: no such file or directory' on starting sleek HOT 5
- Failure in parsing Context tags HOT 2
- Message 'No todos in this file' after a task has been completed HOT 13
- Only show the first line of multi-line tasks in the task list
- Since last update (2.0.12), completing a task causes ToDo.txt file to be "lost" HOT 5
- Custom Theme Support
- layout problem, todo item editor date text doesn't fit with zoom set below 90%
- TypeError: Cannot read properties of undefined (reading 'includes') HOT 3
- "Add a new todo" shortcut not working on 1st start HOT 3
- When todo.txt File Is Synched From Other Device, It Desapears From Sleek
- Human readable date missing for "in a couple of months" HOT 1
- Add setting "Position for new recurring tasks in todo.txt" HOT 1
- What is Pomodoro index? HOT 2
- In the edit popup, entering a priority by pressing a key doesn't work
- Sleek blanks out when task contains markdown link with empty label
- Error: ENOENT: no such file or directory, open ...\done.txt in Windows 11 22H2
- not installing required packages
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sleek.