LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > General
User Name
Password
General This forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!

Notices


Reply
  Search this Thread
Old 08-07-2015, 01:52 PM   #1
AlexeyT
LQ Newbie
 
Registered: Aug 2015
Posts: 0

Rep: Reputation: Disabled
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?
 
Old 08-08-2015, 09:27 AM   #2
ugjka
Member
 
Registered: May 2015
Location: Latvia
Distribution: Arch, Centos
Posts: 368
Blog Entries: 5

Rep: Reputation: 264Reputation: 264Reputation: 264
Why is it called Cuda? Does it have anything to do with nvidia cuda programming language?
 
Old 08-08-2015, 09:31 AM   #3
AlexeyT
LQ Newbie
 
Registered: Aug 2015
Posts: 0

Original Poster
Rep: Reputation: Disabled
Nope, has nothing todo with CUDA C++ (it's written as uppercase AFAIK)
 
Old 08-08-2015, 09:39 AM   #4
ugjka
Member
 
Registered: May 2015
Location: Latvia
Distribution: Arch, Centos
Posts: 368
Blog Entries: 5

Rep: Reputation: 264Reputation: 264Reputation: 264
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.
 
Old 08-08-2015, 10:17 AM   #5
AlexeyT
LQ Newbie
 
Registered: Aug 2015
Posts: 0

Original Poster
Rep: Reputation: Disabled
Closed src. sorry. I dunno anything about Chakra. Pls don't upload. I want DEB installer this week(so later you upload deb)
 
Old 08-08-2015, 10:23 AM   #6
ugjka
Member
 
Registered: May 2015
Location: Latvia
Distribution: Arch, Centos
Posts: 368
Blog Entries: 5

Rep: Reputation: 264Reputation: 264Reputation: 264
Quote:
Originally Posted by AlexeyT View Post
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.

Last edited by ugjka; 08-08-2015 at 12:28 PM.
 
Old 08-09-2015, 05:33 AM   #7
ugjka
Member
 
Registered: May 2015
Location: Latvia
Distribution: Arch, Centos
Posts: 368
Blog Entries: 5

Rep: Reputation: 264Reputation: 264Reputation: 264
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
 
Old 08-09-2015, 06:36 AM   #8
AlexeyT
LQ Newbie
 
Registered: Aug 2015
Posts: 0

Original Poster
Rep: Reputation: Disabled
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"
 
Old 08-09-2015, 07:16 AM   #9
ugjka
Member
 
Registered: May 2015
Location: Latvia
Distribution: Arch, Centos
Posts: 368
Blog Entries: 5

Rep: Reputation: 264Reputation: 264Reputation: 264
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
 
Old 08-09-2015, 07:28 AM   #10
AlexeyT
LQ Newbie
 
Registered: Aug 2015
Posts: 0

Original Poster
Rep: Reputation: Disabled
Does work with version updated last (yandex.disk)?
 
Old 08-09-2015, 07:37 AM   #11
ugjka
Member
 
Registered: May 2015
Location: Latvia
Distribution: Arch, Centos
Posts: 368
Blog Entries: 5

Rep: Reputation: 264Reputation: 264Reputation: 264
Nope
 
Old 08-09-2015, 07:45 AM   #12
AlexeyT
LQ Newbie
 
Registered: Aug 2015
Posts: 0

Original Poster
Rep: Reputation: Disabled
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)
 
Old 08-09-2015, 09:42 AM   #13
ugjka
Member
 
Registered: May 2015
Location: Latvia
Distribution: Arch, Centos
Posts: 368
Blog Entries: 5

Rep: Reputation: 264Reputation: 264Reputation: 264
Quote:
Originally Posted by AlexeyT View Post
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
 
Old 08-09-2015, 12:07 PM   #14
AlexeyT
LQ Newbie
 
Registered: Aug 2015
Posts: 0

Original Poster
Rep: Reputation: Disabled
good pkg. Thanks
Seems this OS can have /opt (i don't know this stuff)
 
Old 08-09-2015, 01:28 PM   #15
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
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)
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] return text from geany or other editor to IDE after saving and closing the editor mtdew3q Programming 4 05-15-2013 10:40 PM
[SOLVED] I am looking for tabbed text editor with text enlargement enyawix Linux - Software 4 08-20-2012 08:55 PM
LXer: The Qt-based Tea Text Editor: Managing Image and Text Files in One Application LXer Syndicated Linux News 0 07-30-2012 07:51 PM
Text Editor on Fedora Core 4 in Text Mode blong4life Linux - Software 5 07-31-2006 09:07 PM
Which light text editor can copy text from file and paste in browser? davidas Linux - Software 9 03-06-2006 11:28 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > General

All times are GMT -5. The time now is 10:33 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration