textroom
- Lobster
- Official Crustacean
- Posts: 15522
- Joined: Wed 04 May 2005, 06:06
- Location: Paradox Realm
- Contact:
textroom
We have one full page text editor (I put it in Tmxxine twinkle)
Maybe this is better? Tried installing in 5.2 pre release as a deb but missing dependencies . . .
http://code.google.com/p/textroom/
http://code.google.com/p/textroom/downloads/list
Maybe this is better? Tried installing in 5.2 pre release as a deb but missing dependencies . . .
http://code.google.com/p/textroom/
http://code.google.com/p/textroom/downloads/list
To: The Maine Lobster
Subj: In House Use
No need to outsource. Now you can have a 1 room text editor in seconds! See below for the 1den production of... Proom.
Just hit Alt-F4 to save and quit.
Cheers,
s
(Be sure to air out Proom periodically)
Subj: In House Use
No need to outsource. Now you can have a 1 room text editor in seconds! See below for the 1den production of... Proom.
Code: Select all
#!/bin/sh
echo 'style "proom" {
font_name = "DejaVu Sans 12"
bg[NORMAL] = "black"
base[NORMAL] = "black"
text[NORMAL] = "green"
}
class "*t*" style "proom"' > /tmp/gtkrc
export GTK2_RC_FILES=/tmp/gtkrc:/root/.gtkrc-2.0
export Proom='
<window title="Proom" width-request="1250" height-request="750" decorated="false">
<edit wrap-mode="1" left-margin="300" right-margin="300"><variable>EDIT</variable></edit>
<action signal="key-press-event">echo "$EDIT" >/root/mystuff</action>
</window>'
gtkdialog3 -p Proom
Cheers,
s
(Be sure to air out Proom periodically)
Now if you do that one with a file open dialog and a save dialog that does not destoy the previous notes, it would be very nice...
Aragon
Aragon
PUPPY SEARCH: http://wellminded.com/puppy/pupsearch.html
Aragon,aragon wrote:Now if you do that one with a file open dialog and a save dialog that does not destoy the previous notes, it would be very nice...
Aragon
Perhaps... yet out of the concept intended. By adding buttons and toolbars, it becomes just another editor when plenty of excellent and far better ones abound. Change the background, foreground, margins, run maximized and that's almost it.
The allure of this "black hole" background with a center of "soothing green text" is supposedly to draw out a writer's muse in allowing a gush of ideas and words to come forth in a continous stream, without any distractions. Then, after the burst has been fulfilled, that gem of information would be edited in a REAL editor.
Does that actually work better for writers?
I don't know.... you'll have to ask Lobster.
Regards,
s
Just to follow-on, here's a way to express and then impress.
- Get all those great thought streams out in a "Pomodoro" concentrated burst in a soft green environment.
- Hit Alt-F4 and your gems are now appearing in Geany - ready for a wordly messaging.
This program gets 100WPM on a pound of thought....
Cheers,
s
- Get all those great thought streams out in a "Pomodoro" concentrated burst in a soft green environment.
- Hit Alt-F4 and your gems are now appearing in Geany - ready for a wordly messaging.
Code: Select all
#!/bin/sh
echo 'style "proom" {
font_name = "DejaVu Sans 12"
bg[NORMAL] = "black"
base[NORMAL] = "black"
text[NORMAL] = "green"
}
class "*t*" style "proom"' > /tmp/gtkrc
export GTK2_RC_FILES=/tmp/gtkrc:/root/.gtkrc-2.0
export Proom='
<window title="Proom" width-request="1250" height-request="750" decorated="false">
<edit wrap-mode="1" left-margin="300" right-margin="300"><variable>EDIT</variable></edit>
<action signal="delete-event">echo "$EDIT" >/root/mystuff</action>
<action signal="delete-event">geany /root/mystuff</action>
</window>'
gtkdialog3 -p Proom
Cheers,
s
This is just the best writing app I have ever seen. As doing some kind of writings myself I share seaside's thoughts about the editors. When you write you just write and anything else is unnecessary. Usually there is so much on the screen to ruin your concentration. And it is so easy to start playing with your superdeluxewordprocessor and then you just notice that all those undying words you had in mind have disappeared for ever.
I modified it a little. This version has hotkey alt+m to save text and clear the screen. It saves your memorable lines to a directory named by weeknumber in the file named with time stamp ymdHMS. And now you just keep on going, empty your mind totally, move around from subject to an other, alt+m and no need to stop.
I have
in /etc/xdg/templates/_root_.jwmrc to get real full screen.
And then you have numbered directories stuffed with files which names don't tell you nothing.
For this situation I tried to build a browser. It gets six first word of every file for the selector so you get a hint of what treasures are hiding there. It browses those numbered directories. And it doesn't look good.
Notice here that I'm not a professonal in scripting and with gtkdialog. I guess I've done things funny and wrong ways. But I throw it here, so someone more professonal maybe take a look at it and clears and fixes this. And I will learn again something new. But I like this idea, yes.
Oops, if you want to try these remember to change needed directories, I have all my files in /mnt/home/
I modified it a little. This version has hotkey alt+m to save text and clear the screen. It saves your memorable lines to a directory named by weeknumber in the file named with time stamp ymdHMS. And now you just keep on going, empty your mind totally, move around from subject to an other, alt+m and no need to stop.
I have
Code: Select all
<Group>
<Class>teksturi</Class>
<Option>nolist</Option>
<Option>noborder</Option>
<Option>layer:12</Option>
</Group>
Code: Select all
#!/bin/sh
echo 'style "proom" {
font_name = "DejaVu Sans 14"
bg[NORMAL] = "black"
base[NORMAL] = "black"
text[NORMAL] = "green"
}
class "*t*" style "proom"' > /tmp/gtkrc
export GTK2_RC_FILES=/tmp/gtkrc
mkdir -p /mnt/home/texts/$(date +%W)
export Proom='
<window title="Proom" width-request="1250" height-request="750" decorated="false">
<hbox>
<hbox visible="false">
<button use-underline="true">
<label>_Muistiin</label>
<action>echo "$EDIT" >/mnt/home/texts/$(date +%W)/$(date +%y%m%d%H%M%S)</action>
<action>clear:EDIT</action>
</button>
</hbox>
<edit wrap-mode="2" left-margin="250" right-margin="250" cursor-visible="false"><variable>EDIT</variable></edit>
</hbox>
</window>'
gtkdialog3 --class=teksturi -p Proom
For this situation I tried to build a browser. It gets six first word of every file for the selector so you get a hint of what treasures are hiding there. It browses those numbered directories. And it doesn't look good.
Notice here that I'm not a professonal in scripting and with gtkdialog. I guess I've done things funny and wrong ways. But I throw it here, so someone more professonal maybe take a look at it and clears and fixes this. And I will learn again something new. But I like this idea, yes.
Code: Select all
#!/bin/bash
#Function to open texts in geany. It uses list formed: Six first words of the file {/path/to/file}
avaa () {
AUKI="$( grep -i "$TEKSTI" /tmp/txi/tlista | sed 's/.*{\(.*\)}.*/\1/')"
geany "$AUKI" &
}
export -f avaa
#Function to make lists for file selector.
selaa () {
cat /tmp/txi/"$NRO"lista > /tmp/txi/lista
}
export -f selaa
mkdir /tmp/txi
touch /tmp/txi/lista
#Collect data for selectors, hlista for directory listing, tlista for function avaa, and "${KANSIO}"lista for file selector. The last one is named with (week)number prefix to get own file list for each directory. So the selaa function in directory selector cats the proper list for the file selector.
for dir in /mnt/home/texts/*
do
KANSIO=$(basename $dir)
echo "${KANSIO}" >> /tmp/txi/hlista
for file in /mnt/home/texts/"${KANSIO}"/*
do
NIMI="$(awk 'NR==1 {print $1,$2,$3,$4,$5,$6}' ${file} | sed 's/[ \t]*$//')"
POLKU=$(readlink -f "$file")
echo "${NIMI} {${POLKU}}" >> /tmp/txi/tlista
echo "${NIMI}" >> /tmp/txi/"${KANSIO}"lista
done
done
export TEKSTIT='
<window title="Tekstit" width-request="350" height-request="540">
<hbox>
<hbox width-request="40" height-request="530">
<table>
<label>vko</label>
<variable>NRO</variable>
<input>cat /tmp/txi/hlista</input>
<action>selaa</action>
<action>refresh:TEKSTI</action>
</table>
</hbox>
<hbox width-request="300" height-request="530">
<tree>
<label>tekstit</label>
<variable>"TEKSTI"</variable>
<input>cat /tmp/txi/lista</input>
<action>avaa</action>
<action>refresh:TEKSTI</action>
</tree>
</hbox>
</hbox>
</window>'
#Place the box in upper right corner of the screen so geany have room to open.
gtkdialog3 -p TEKSTIT --geometry +1+1
#clearing
unset TEKSTIT
unset -f avaa
unset -f selaa
rm -r /tmp/txi
Last was done and sent to someone for uploading/adding to ppm, sorry don't remember who ?lobster.Lobster wrote:what happened? New version to petconsider it under way
thanks for improvements
I will chase new version source this week (0.8.2) and find my building notes from last time to see what the problems were before building.
I can't promise immediate action as i'm at a problem fix stage for the first public alpha for qtpuppy, but it shouldn't be more than a week, i'll put them on my website when completed. If serious problems arrive it may be a further week
versions will be wanted for?: wary52, lucid528, qtpuppy, ????
regards
edited today:
Uh folks, sorry but I won't be building the latest version in a hurry, the number of basic puppy packages that will require updating for this thing to run is rediculous, to start with there is only one dependancy out of eleven that we have in our tree that it considers up to date, let alone a core package or three.
It will remain on my todo list, just not this month!
regards
scsijon
Proom-0.4
********************
To puppy writers....
I've created a Proom-0.4 pet here with ideas from Taavi -
http://murga-linux.com/puppy/viewtopic. ... 668#575668
It should run on any puppy.
Cheers,
s
To puppy writers....
I've created a Proom-0.4 pet here with ideas from Taavi -
http://murga-linux.com/puppy/viewtopic. ... 668#575668
It should run on any puppy.
Cheers,
s
- Lobster
- Official Crustacean
- Posts: 15522
- Joined: Wed 04 May 2005, 06:06
- Location: Paradox Realm
- Contact:
Thanks for pet
In slacko (Puppy 5.3) the original and new pet version appear in a screen box (not full screen)
I modified the original code
but the menu bar still appears (is it there in other versions - seem to remember it was not?)
modified line
complete code (original only)
In slacko (Puppy 5.3) the original and new pet version appear in a screen box (not full screen)
I modified the original code
but the menu bar still appears (is it there in other versions - seem to remember it was not?)
modified line
Code: Select all
width-request="1300" height-request="1300"
Code: Select all
#!/bin/sh
echo 'style "proom" {
font_name = "DejaVu Sans 12"
bg[NORMAL] = "black"
base[NORMAL] = "black"
text[NORMAL] = "green"
}
class "*t*" style "proom"' > /tmp/gtkrc
export GTK2_RC_FILES=/tmp/gtkrc:/root/.gtkrc-2.0
export Proom='
<window title="Proom" width-request="1300" height-request="1300" decorated="false">
<edit wrap-mode="1" left-margin="300" right-margin="300"><variable>EDIT</variable></edit>
<action signal="key-press-event">echo "$EDIT" >/root/mystuff</action>
</window>'
gtkdialog3 -p Proom
Lobster,Lobster wrote:Thanks for pet
In slacko (Puppy 5.3) the original and new pet version appear in a screen box (not full screen)
I modified the original code
but the menu bar still appears (is it there in other versions - seem to remember it was not?)
It could be run over the JWM tray by doing this-
create a class by placing the following entry in " /root/.jwm/jwmrc-personal"
Code: Select all
<Group>
<Name>on-top</Name>
<Class>on-top</Class>
<Option>layer:12</Option>
</Group>
gtkdialog3 --class=on-top -p Proom
However, on the Proom-o.4 pet, that change will cause the dialog listing of "seeds" (snippet files) to open under the editing window and out of reach.
Regards,
s