Package Details: typora 1.8.10-1

Git Clone URL: https://aur.archlinux.org/typora.git (read-only, click to copy)
Package Base: typora
Description: A minimal markdown editor and reader.
Upstream URL: https://typora.io/
Keywords: markdown
Licenses: custom:"Copyright (c) 2015 Abner Lee All Rights Reserved."
Submitter: duckbrain
Maintainer: irgendwr
Last Packager: irgendwr
Votes: 132
Popularity: 0.96
First Submitted: 2016-09-28 06:28 (UTC)
Last Updated: 2024-02-19 22:53 (UTC)

Dependencies (5)

Required by (0)

Sources (2)

Pinned Comments

irgendwr commented on 2023-01-24 18:49 (UTC) (edited on 2023-10-17 21:03 (UTC) by irgendwr)

Before flagging this package as "out-of-date", please read this:

First of all, I appreciate your help, but I'm already running a script that notifies me once a new version is available. Please wait 1-2 days before flagging, unless it is critical. Usually I manage to push updates on the same day as Typora releases them.

Also: The latest version on their website might not be the latest Linux repository version. E.g. because some updates do not have any changes related to Linux.

To check the latest Linux version, run the following command: curl -s https://www.typora.io/linux/Packages | grep Version | cut -f 2 -d ' ' | sort -V | cut -f 1 -d '-' | uniq

Please do not flag this package as "out-of-date" if the "new version" is not listed in the output of the aforementioned command.

irgendwr commented on 2021-11-26 12:36 (UTC) (edited on 2022-10-09 11:03 (UTC) by irgendwr)

Typora is no longer completely free since it's out of beta. It is possible to use Typora for free on Linux; Some restrictions may apply. See the official FAQ: "Can I use Typora for free?" for more details. Alternatively you can purchase a license.

Please report issues with Typora here: https://github.com/typora/typora-issues

Latest Comments

1 2 3 4 5 6 .. 12 Next › Last »

irgendwr commented on 2023-10-22 00:40 (UTC)

@BryanLiang alright, thanks for the suggestion. You can now set flags in $XDG_CONFIG_HOME/typora-flags.conf (by default this will be ~/.config/typora-flags.conf)

BryanLiang commented on 2023-10-21 01:27 (UTC)

@irgendwr Typora uses Electron as its GUI framework, so flags that are compatible with Electron should also work fine with Typora. For instance, the Electron flag --ozone-platform-hint=auto, which enables applications to run on Wayland, can be used with Typora.

irgendwr commented on 2023-10-20 22:16 (UTC)

@BryanLiang which command line flags does Typora support?

BryanLiang commented on 2023-10-18 00:40 (UTC) (edited on 2023-10-18 00:40 (UTC) by BryanLiang)

I write a wrapper script which adds the support of typora-flags.conf like Chromium/Electron does.

All the arguments passed to Typora can be written into this file.

Could you please merge it into the package?

Here is the script

#!/bin/bash

XDG_CONFIG_HOME=${XDG_CONFIG_HOME:-~/.config}

if [[ -f "${XDG_CONFIG_HOME}/typora-flags.conf" ]]; then
    mapfile -t TYPORA_USER_FLAGS <<< "$(grep -v '^#' "${XDG_CONFIG_HOME}/typora-flags.conf")"
    echo "User flags:" "${TYPORA_USER_FLAGS[@]}"
fi

exec /usr/share/typora/Typora "${TYPORA_USER_FLAGS[@]}" "$@"

osvald-laurits commented on 2023-05-22 06:30 (UTC) (edited on 2023-05-22 06:31 (UTC) by osvald-laurits)

I'm getting an error when trying to install this package.

Installation using yay

yay -S typora

produces

==> ERROR: Failure while downloading https://typora.io/linux/typora_1.6.5_amd64.deb Aborting... -> error making: typora-exit status 1 -> Failed to install the following packages. Manual intervention is required: typora - exit status 1

Accessing source link in browser

Accessing https://typora.io/linux/typora_1.6.5_amd64.deb in a browser also shows an error.

irgendwr commented on 2023-01-24 18:49 (UTC) (edited on 2023-10-17 21:03 (UTC) by irgendwr)

Before flagging this package as "out-of-date", please read this:

First of all, I appreciate your help, but I'm already running a script that notifies me once a new version is available. Please wait 1-2 days before flagging, unless it is critical. Usually I manage to push updates on the same day as Typora releases them.

Also: The latest version on their website might not be the latest Linux repository version. E.g. because some updates do not have any changes related to Linux.

To check the latest Linux version, run the following command: curl -s https://www.typora.io/linux/Packages | grep Version | cut -f 2 -d ' ' | sort -V | cut -f 1 -d '-' | uniq

Please do not flag this package as "out-of-date" if the "new version" is not listed in the output of the aforementioned command.

shuyuan-liu commented on 2022-12-03 17:54 (UTC)

On my GNOME system Typora doesn't show up in the system taskbar ("dash") or the Alt+Tab window switching menu for about 15 seconds after starting up, but appears and behaves normally afterwards. This happens on both X and Wayland. I "fixed" it by changing StartupNotify to false in the .desktop file, logging out and back in for it to take effect. Now the icon appears as soon as Typora opens.

There doesn't seem to be any related bug reports in upstream's GitHub repo so I don't know if it's an upstream issue. Could anyone try & replicate this?

sukanka commented on 2022-10-08 14:41 (UTC)

@irgendwr I also maintain some packages that use electron. Generally, I will use electron as depends, when an update of electron breaks the package, I will change it to the latest workable electron version (for example, if electron21 breaks typora, I will change it to electron20, otherwise keep using electron as depends).

PS: the built-in electron in typora is electron19

irgendwr commented on 2022-10-08 12:12 (UTC)

Thanks for the suggestion and example code @sukanka, but I would prefer to continue using the bundled electron. My reason for this is that when the original maintainer tried this in the past, it regularly caused issues due to the electron version of Arch not being in sync with the version that Typora expects. I know that it would be a bit nicer to reuse the bundled electron, but I want to reduce issues and keep maintenance as simple as possible.

As for the path: I will look into that.

sukanka commented on 2022-10-08 07:38 (UTC) (edited on 2022-10-08 10:13 (UTC) by sukanka)

Typora now(1.4.7) can be launched via system electron, could you please update the PKGBUILD?

BTW, the path usr/share/typora/ should be /usr/lib/typora as it is not an any package.

An example PKGBUILD and prebuilt pkg can be found at https://dl.askk.cc/ms/Linux/ArchLinux/typora