Package Details: sublime-text-3 3.3211-4

Git Clone URL: https://aur.archlinux.org/sublime-text-3.git (read-only, click to copy)
Package Base: sublime-text-3
Description: Sophisticated text editor for code, html and prose (legacy version)
Upstream URL: https://www.sublimetext.com/3
Licenses: custom
Submitter: marcospb19
Maintainer: SunRed
Last Packager: SunRed
Votes: 31
Popularity: 0.000045
First Submitted: 2020-09-13 13:51 (UTC)
Last Updated: 2022-12-12 12:00 (UTC)

Latest Comments

1 2 Next › Last »

vladimirprieto commented on 2022-03-09 19:01 (UTC)

BUG REPORT

on Manjaro 21.2.4

i notice that Sublime Text on dock appear as “unknown” icon but every where else appears ok. taken the config file of Sublime Merge i found and fixed the bug.

the file /usr/share/applications/sublime_text.desktop, Exec entry is just “subl”, and changed to the complete executable location /opt/sublime_text_3/sublime_text

bug fixed

marcospb19 commented on 2021-10-04 01:30 (UTC) (edited on 2021-10-04 01:30 (UTC) by marcospb19)

Clarification: any question about changing the installation path will most likely be ignored as there is no practical way of doing so without conflicting with other packages or breaking users systems.

marcospb19 commented on 2021-10-04 01:24 (UTC)

@NullRoute, this has already been clarified, can you stop insisting???

Do you understand that I CANNOT change the installation path of ST4 to a different path? I DO NOT maintain that package, and I have already talked to developers of Sublime Text DIRECTLY.

They told me NOT TO DO THIS.

It's intended to be shipped this way, every link online says that it's installed at the same path, they say it's installed at /usr/bin/subl, how am I supposed to change it suddenly?

Creating a symlink to /usr/bin/subl to the /usr/bin/subl3 would still conflict with ST2 ST4 in all their different packages, because the other packages NOT MAINTAINED BY ME use that same file.

NullRoute commented on 2021-10-04 00:48 (UTC)

Please remove "conflicts=('sublime-text-4-dev' 'sublime-text-4' 'sublime-text-3-imfix' 'sublime-text-dev')" in PKGBUILD. ST3 and ST4 runs very well together. Its even official in docs @ https://www.sublimetext.com/docs/side_by_side.html Just make sure to install binary file to subl3 (ST3) and subl (ST4) and others to subl3dev for example. Many people run at least two different versions O_o

marcospb19 commented on 2021-07-14 18:28 (UTC)

This is UP TO DATE with the latest release of ST3.

marcospb19 commented on 2021-05-02 07:51 (UTC)

@NullRoute, please, do not mark this package as outdated because it is not, I won't change it to subl3 because this is not how the official sublime text organization intended to ship their binary.

Again, all tutorials in the internet tell the user "type subl in the terminal", you're suggesting a breaking and unnecessary change, both packages conflict because the released binaries are supposed to be named subl.

Because of this, ST2, ST3 and ST4 packages will conflict.

After your comment I went to the official Discord server just to be 101% sure, and yeah, I got the confirmation that this is the right decision to make.

Also, note that I cannot change ST2 or ST4 packages, I can only change ST3's one, so your suggestion would not work (don't forget that there are multiple other packages, not only three).

Here are some links with mentions to subl, one is an official page, and the other one is a StackOverflow answer.

https://www.sublimetext.com/docs/command_line.html

https://stackoverflow.com/questions/36718495/how-to-open-files-with-sublime-text-3-from-terminal

NullRoute commented on 2021-05-01 05:21 (UTC) (edited on 2021-05-01 05:27 (UTC) by NullRoute)

@ marcospb19, What are you talking about? You can modify PKGBUILD path easily! Just change this line here; ln -s "/opt/sublime_text_3/sublime_text" "${pkgdir}/usr/bin/subl" to ln -s "/opt/sublime_text_3/sublime_text" "${pkgdir}/usr/bin/subl3" I have both packages installed as "/usr/bin/subl2" and "/usr/bin/subl3" and they both wor flawlessly.

marcospb19 commented on 2021-04-12 21:33 (UTC) (edited on 2021-04-12 21:35 (UTC) by marcospb19)

Hey NullRoute, thanks for your suggestion, unfortunately this is not possible, I don't maintain ST2 and ST4 packages, so I could not make them install to another path, also, subl is the name for multiple package managers, not only AUR, so in any forum comment, article, blog, or tutorial, the command is subl and not subl3, changing it would make the location inconsistent.

So the solution is to do it manually, you can install ST3, copy the binary to /usr/bin/subl3, and then install ST2, I think it works as expected as both require libpng and gtk2, so you'll certainly have both installed (however, note that ST2 requires stuff that is not included in the ST3 package, so installing ST2 before ST3).

NullRoute commented on 2021-04-12 07:11 (UTC)

Sublime Text 2 should work fine with Sublime Text 3, please remove "sublime-text2" from conflicts list and instead install v3 as /usr/bin/subl3 and v2 as /usr/bin/subl2 Because some of us still prefer to use v2 and v3 at same time. Thank you!