Tiny Core Linux
Tiny Core Extensions => TCE Talk => Topic started by: Rudock1 on January 31, 2019, 11:49:33 PM
-
Any fans of the very fine Bluefish editor?
Somehow during an extensions update session I went through in December, along the way I broke my favorite Bluefish editor. The typical menu bar icons for New File, Open File, Save current file, etc have all dropped off leaving just a row of gray placeholder icons. Any ideas or suggestions you can offer to get these reestablished?
thanks and best regards,
Billy
-
Hi Rudock1
That's not a lot of information to go on. The last update for bluefish.tcz was in 2014 so it was probably one of its
dependencies that got updated. Try running this command:
ls -ltr --full-time /etc/sysconfig/tcedir/optional/*.tcz
The most recent extensions will be at the bottom of the list which should help to narrow down the culprit.
-
did you try loading the adwaita-icon-theme extension?
-
Thanks, Tiny Core heroes, you guys are the best!
Hi Juanito, yes, bringing in the missing adwaita-icon-theme was the fix.
Hi Rich, thanks for the hints and your ls -ltr --full-time example is now an alias (as lt) on my system, very handy to have!
thx
Billy
-
Bluefish looked interesting, so I installed it (TC10). It crashes before I can do anything.
-
Hi TomyTurbos
Open a terminal and see what errors you get when you enter:
bluefish
-
Rich,
I'm on a different machine so let me just say 'LOTS' of errors. At least 3 dozen relating to GTK.
The one that might be important here is an Xlib error '"XInputExtension" missing. ...' This showed up 5 times at the end of the dialog.
The Warnings all said '... deprecated and shouldn't be used anymore, ...'.
I hope this helps.
-
Hi TomyTurbos
The one that might be important here is an Xlib error '"XInputExtension" missing. ...' This showed up 5 times at the end of the dialog.
That might be referring to libinput.tcz, but that's just a guess.
If you run:
bluefish > bluefish.txt
you could copy the bluefish.txt file and post the actual error list.
-
Are you using Xvesa, Xfbdev or Xorg-7.7?
-
@ Rich: File attached
@Juanito: Xvesa
-
Do things work with Xorg-7.7?
-
Hi TomyTurbos
error reading list 1 Error opening file /home/tc/.bluefish/rcfile-2.0: No such file or directory
config file migration error 1:Error opening file /home/tc/.bluefish/rcfile_v2: No such file or directoryerror reading list 1 Error opening file /home/tc/.bluefish/rcfile-2.0: No such file or directory
According to the interweb, this should fix it:
rm -r ~/.bluefish
-
@ rich: No joy.
@juanito: Xorg-7.7 doesn't seem to like this machine (mini1010)
-
Hi TomyTurbos
So after removing that subdirectory you're still getting exactly that same error?
-
@ rich: Correct.
Also worth noting is that if this is run on-demand it re-creates that dir.
-
@ rich
I'm getting other output when running the command from CLI than what went to the .txt file. Particularly, output that comes AFTER the program crashes. Is there some way to capture this easily? (otherwise it means a LOT of re-typing).
-
Hi TomyTurbos
See if this catches the rest:
bluefish 2>&1 > bluefish.txt
-
Hi TomyTurbos
See if this catches the rest:
bluefish 2>&1 > bluefish.txt
That gave more data, but not what is on the console.
-
Hi TomyTurbos
Place the mouse cursor over the text in the terminal. While holding down the left mouse button drag the cursor downward. This
will highlight the text. When you release the left button, the text will be copied. Open the editor and center click in the text area.
That should paste the text into the editor.
-
Hi TomyTurbos
Place the mouse cursor over the text in the terminal. While holding down the left mouse button drag the cursor downward. This
will highlight the text. When you release the left button, the text will be copied. Open the editor and center click in the text area.
That should paste the text into the editor.
No middle button on this hardware.
Tried a corded mouse; still not working.
This is too complicated, so I'll just type it out long-hand.
Please stand by...
-
Hi TomyTurbos
Here's an easier way of capturing terminal activity:
script -ae bluefish.txt
bluefish 2>&1
After it crashes, enter:
exit
in the terminal. The bluefish.txt file will have a log of the terminal activity.
-
Hi TomyTurbos
Here's an easier way of capturing terminal activity:
script -ae bluefish.txt
bluefish 2>&1
After it crashes, enter:
exit
in the terminal. The bluefish.txt file will have a log of the terminal activity.
See the attached file.
Some annotation added.
-
Hi TomyTurbos
Try installing libffi5.tcz.
-
I just tried bluefish in tc-10.x with Xvesa - it gives the following errors, but it runs and works without crashing:
$ bluefish
error reading list 1 Error opening file /home/tc/.bluefish/rcfile-2.0: No such file or directory
** (bluefish:6203): WARNING **: no configfile rcfile-2.0, try to convert config files from older versions
config file migration error 1:Error opening file /home/tc/.bluefish/rcfile_v2: No such file or directoryerror reading list 1 Error opening file /home/tc/.bluefish/rcfile-2.0: No such file or directory
** (bluefish:6203): WARNING **: failed to load plugin /usr/local/lib/bluefish/charmap.so with error libffi.so.5: cannot open shared object file: No such file or directory
Xlib: extension "XInputExtension" missing on display ":0.0".
Maybe you could use the apps gui "check for updates" and see if you have any old extensions from previous tc versions?
-
@ rich: libffi5 caused it to crash immediately. BTW, Thank you very, very, very much for the 'script' hint!
@juanito: All up-to-date.
-
I downloaded and ran bluefish on various TC versions, additionally uunsquashed the extension from tc-4, no rc file exists. On investigation I found that you have to change some preferences "Edit > preferences" and "Apply" those settings, at which time bluefish creates a config file
this should remove those related error messages
Tested on TC-10 x86 with Xvesa, adwaita-icon-theme.tcz and aspell.tcz
Also be careful not to run this as root, otherwise config files may get created in /root which might be undesirable
Update: editing preferences does indeed crest a config file and resolves the errors. Also no issue with missing icons
I'd rather use gedit, or editor but bluefish works great
-
I downloaded and ran bluefish on various TC versions, additionally uunsquashed the extension from tc-4, no rc file exists. On investigation I found that you have to change some preferences "Edit > preferences" and "Apply" those settings, at which time bluefish creates a config file
this should remove those related error messages
Tested on TC-10 x86 with Xvesa, adwaita-icon-theme.tcz and aspell.tcz
Also be careful not to run this as root, otherwise config files may get created in /root which might be undesirable
Update: editing preferences does indeed crest a config file and resolves the errors. Also no issue with missing icons
I'd rather use gedit, or editor but bluefish works great
For me anyway, I can't edit preferences.
And as I said above, I only d/l'd bluefish because it looked interesting based on it's description.
'Editor' is mostly fine for my general purposes. I like that it highlights certain things based on their context. But on this machine the font is too small and I don't know how to change it.
I didn't have that problem with leafpad because I was able to figure out how to change it to a readable size, but leafpad didn't do the highlighting.
I use Notepad++ on my Windows machines and love it. There is supposedly a notepadqq which is modeled after npp, but nobody has rolled that up for TC. It's beyond my current skill set to even try, otherwise I already would have.
On your recommendation I'll have a look at gedit. Thanks.
-
For me anyway, I can't edit preferences.
Why not?? preferences is the last menu item under "edit" which opens an applet to make the changes, then simply apply to save and create a new rc file if none existed
:)
-
For me anyway, I can't edit preferences.
Why not?? preferences is the last menu item under "edit" which opens an applet to make the changes, then simply apply to save and create a new rc file if none existed
:)
Because the program crashes whenever I try to edit that, or anything else.
-
Hmmmm
Sounds like Something’s a miss with your installation
Did you try updating database, updating reps, fetch missing deps and update extensions?
You ran it as tc not as root right?
And which X are you using?
Sent from my iPhone using Tapatalk