LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   General (https://www.linuxquestions.org/questions/general-10/)
-   -   Text editor CudaText (https://www.linuxquestions.org/questions/general-10/text-editor-cudatext-4175550168/)

AlexeyT 08-07-2015 01:52 PM

Text editor CudaText
 
I'm making new text editor. Version 0.2 (x64 gtk2) can be found in zip portable file.
I don't know yet how to make DEB file, so sorry.

It uses config like ST3 editor, i mean you must copy lines from "default" config to "user" config and edit these lines in user config. Then save/ restart app.

Win32 version, also here.
https://yadi.sk/d/NCczdqTAiF8Hh

Is forum ok for this app?

ugjka 08-08-2015 09:27 AM

Why is it called Cuda? Does it have anything to do with nvidia cuda programming language?

AlexeyT 08-08-2015 09:31 AM

Nope, has nothing todo with CUDA C++ (it's written as uppercase AFAIK)

ugjka 08-08-2015 09:39 AM

Is it closed source?

I could put it on ChakraOS community repository if you could host it somewhere like github or sourceforge. Yandex disk wont give me a direct link to the files that I need for a PKGBUILD.

AlexeyT 08-08-2015 10:17 AM

Closed src. sorry. I dunno anything about Chakra. Pls don't upload. I want DEB installer this week(so later you upload deb)

ugjka 08-08-2015 10:23 AM

Quote:

Originally Posted by AlexeyT (Post 5402921)
Closed src. sorry. I dunno anything about Chakra. Pls don't upload. I want DEB installer this week(so later you upload deb)

Chakra is Archlinux fork.

It's not really "uploading", PKGBUILD simply contains instructions on how to build a package for pacman that can then be used install your software.

But if you can create a deb file that's fine too, I can use that too inside PKGBUILD

It would be easier if you hosted it somewhere that let's you have downloads with canonical urls that never change.
You should add versioning to your filenames too.

ugjka 08-09-2015 05:33 AM

I installed your app in /opt and now I get this error when closing the application
It works fine if I launch your app from /home

Code:

TApplication.HandleException File not found
  Stack trace:
  $0000000000816E1E
  $0000000000816CA1
  $000000000042DFDA
  $00000000004611B5
  $0000000000448BD5
  $000000000044C83D
  $000000000044CAB9
  $000000000042E501
  $000000000063E1B1
  $000000000044A0E8
  $00000000007261F5
  $00000000006D7C79
  $00000000006E7ECE
  $00007F3AD8C8C94F

http://i.imgur.com/GlHNqi5.png

AlexeyT 08-09-2015 06:36 AM

Pls,don't use /opt as installpath. It needs writable dir, and /opt or /usr not such.
note.
a feature.
File "cudatext" can be in "/usr/bin" and all dirs can be in "~/.cudatext"

ugjka 08-09-2015 07:16 AM

Meh doesn't work

Copied all the dirs to ~/.cudatext and placed cudatext in /usr/bin got this error:
Code:

Cannot find lexer-library:
/usr/bin/data/lexlib/full.lxl


AlexeyT 08-09-2015 07:28 AM

Does work with version updated last (yandex.disk)?

ugjka 08-09-2015 07:37 AM

Nope

AlexeyT 08-09-2015 07:45 AM

It's ok here (if cudatext started without dir "data/lexlib", it finds all from "~/.cudatext", at last it must show er about folder ~/.cudatext)

ugjka 08-09-2015 09:42 AM

Quote:

Originally Posted by AlexeyT (Post 5403358)
It's ok here (if cudatext started without dir "data/lexlib", it finds all from "~/.cudatext", at last it must show er about folder ~/.cudatext)

Ok it works I was copying the wrong files

I also got the /opt working by symlinking the directories to ~/.cudatext

This is how my package looks like http://chakraos.org/ccr/pkgbuild_view.php?p=cuda-text

And a little wrapper that creates a home dir and symlinks all the directories from /opt

Code:

#!/bin/sh
if [ ! -d ~/.cudatext ]; then
  mkdir ~/.cudatext
  ln -s /opt/cuda-text/settings_default/ ~/.cudatext/settings_default
  ln -s /opt/cuda-text/data ~/.cudatext/data
  ln -s /opt/cuda-text/readme ~/.cudatext/readme
fi

/usr/bin/cudatext


AlexeyT 08-09-2015 12:07 PM

good pkg. Thanks
Seems this OS can have /opt (i don't know this stuff)

John VV 08-09-2015 01:28 PM

you might want to use GTK3
even "The Gimp" and the Gnome DE DUMPED " The Gimp Toolkit 2 " for " The Gimp Toolkit 3 " ( and gegl)


All times are GMT -5. The time now is 11:58 AM.