Git Product home page Git Product logo

Comments (11)

vonshednob avatar vonshednob commented on June 21, 2024 1

The default values are listed in an example configuration file that should have been installed on the side if memory serves 🤔

At any rate, an example configuration file can be seen in the source code at codeberg (which reminds me to update the link at todotxt.org).

You can find the online both at codeberg and on the project’s website.

from pter.

vonshednob avatar vonshednob commented on June 21, 2024 1

I found it. It’s in the folder of your python installation (e.g. C:\Python or C:\User\<username>\AppData\Local\Programs\Python\Python<version>) in share\doc\pter\.

It’s possible that the location is actually different when Python is installed directly on C:\ due to writing permissions.

from pter.

vonshednob avatar vonshednob commented on June 21, 2024 1
* 'cz those long locations (incurred frequently for ALL SORTS of softwares) always make me go "ahh, not again"

Right. That's a bit iffy; it's works nicely on Linux, but it's not greatly supported on Windows.

* oh, and excuse my `/` fwd slashes in locations of files in windows  sweat_smile, i always liked these as universal as they are long before i even knew anything about linux, and hey, it works :)

haha, no worries, I just try to not confuse the future people that might stumble upon this and think "but on Windows it's \, not /! This bug is not resolved at all!" ;)

from pter.

goyalyashpal avatar goyalyashpal commented on June 21, 2024

You can find the online both at codeberg and on the project’s website.

thanks for the links

The default values are listed in an example configuration file that should have been installed on the side if memory serves 🤔

There should have been an example configuration file, example.conf distributed with your copy of pter that can give you an idea on how that works. In this documentation you will find the full explanation.
- %appdata%/../Local/Programs/Python/Python310/Lib/site-packages/pter/docs/pter.html#files
- https://vonshednob.cc/pter/documentation.html#files

yes, the manuals mentions about example configuration file too, but where is that?

trying for other such directory variables in windows

%<variable>% where <variable> is:

<user> dependent:

  • userprofile - C:\Users\<user>
  • appdata - C:\Users\<user>\AppData\Roaming
  • localappdata - C:\Users\<user>\AppData\Local

other:

  • programdata - C:\ProgramData
  • programfiles - C:\Program Files

from pter.

goyalyashpal avatar goyalyashpal commented on June 21, 2024

an example configuration file can be seen in the source code at codeberg

https://codeberg.org/vonshednob/pter/src/commit/583d07a4555f063f3063df4d44d08a5a575d12ec/extras/example.conf#L265-L271

also, that doesn't contain value for default font-size, is that not hardcoded?

from pter.

vonshednob avatar vonshednob commented on June 21, 2024

Indeed, both font and font-size are not hard-coded, because that’ll cause the system default to be taken over.

from pter.

vonshednob avatar vonshednob commented on June 21, 2024

yes, the manuals mentions about example configuration file too, but where is that?

I suspect it should be in %userprofile%/.local/share/doc/pter/

from pter.

goyalyashpal avatar goyalyashpal commented on June 21, 2024

%userprofile%/.local/share/doc/pter/

/doc/pter/ is not present there, worked only upto share

share doesn't contain any subfolder named doc

from pter.

vonshednob avatar vonshednob commented on June 21, 2024

Hm. Not sure where that’s installed into on Windows.

from pter.

goyalyashpal avatar goyalyashpal commented on June 21, 2024

It’s in the folder of your python installation (e.g. C:\Python or C:\User\<username>\AppData\Local\Programs\Python\Python<version>) in share\doc\pter\.

yep, replicated. and as per recorded at #23 (comment), the location using variables (in caps for distinction) becomes:

%LOCALAPPDATA%/Programs/Python / Python<version> / share/doc/pter/

from pter.

goyalyashpal avatar goyalyashpal commented on June 21, 2024

P.S.:

  • tbh, it's really nice that i raised that variable thing here, and experimented further, it's a nice documentation
  • i'll keep that comment saved somewhere lol
  • 'cz those long locations (incurred frequently for ALL SORTS of softwares) always make me go "ahh, not again"
  • ... hopefully not anymore :)
  • oh, and excuse my / fwd slashes in locations of files in windows 😅, i always liked these as universal as they are long before i even knew anything about linux, and hey, it works :)

from pter.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.