At some point in the last year, kate started behaving differently here: when it opens a file for editing, there is now an extra column to the left of the contents of the file; the extra column shows the name of the file being edited. I can remove this extra column by hitting the word "Documents" which appears (rendered vertically) at the extreme left of the kate window.
But I do get fed up of having to do this every single time I open a file for editing in kate.
So how do I configure kate so that this additional column with the name of the file being edited no longer appears when kate opens a file for editing?
(I looked at the kate configuration file, but nothing obvious struck me; searching the Internet also didn't produce anything useful that addresses this, but it's perfectly possible that I wasn't using a very good search string.)
Doc
Anno domini 2023 Thu, 20 Jul 10:20:13 -0600 D. R. Evans via tde-users scripsit:
At some point in the last year, kate started behaving differently here: when it opens a file for editing, there is now an extra column to the left of the contents of the file; the extra column shows the name of the file being edited. I can remove this extra column by hitting the word "Documents" which appears (rendered vertically) at the extreme left of the kate window.
But I do get fed up of having to do this every single time I open a file for editing in kate.
So how do I configure kate so that this additional column with the name of the file being edited no longer appears when kate opens a file for editing?
(I looked at the kate configuration file, but nothing obvious struck me; searching the Internet also didn't produce anything useful that addresses this, but it's perfectly possible that I wasn't using a very good search string.)
I remember that I looked for that years ago, but did not find it either. I think it was possible ages ago to create a new session and all settings where saved in that session - but I just tried, but it does not work: kate crashes when switching sessions (I have 2 "unknown"), or does not save sessions, or crashes when saving sessions if the document windows is hidden. So probably it's time for a bug report :)
Nik
Doc
-- Please do not email me anything that you are not comfortable also sharing with the NSA, CIA ...
On 2023/07/21 02:28 AM, Dr. Nikolaus Klepp via tde-users wrote:
I remember that I looked for that years ago, but did not find it either. I think it was possible ages ago to create a new session and all settings where saved in that session - but I just tried, but it does not work: kate crashes when switching sessions (I have 2 "unknown"), or does not save sessions, or crashes when saving sessions if the document windows is hidden. So probably it's time for a bug report 😄
Nik
Hi Nik, can you paste the steps to reproduce each of the crashes you mentioned? I don't have crashes in Kate when changing or saving sessions. Cheers Michele
Anno domini 2023 Fri, 21 Jul 22:23:01 +0900 Michele Calgaro via tde-users scripsit:
On 2023/07/21 02:28 AM, Dr. Nikolaus Klepp via tde-users wrote:
I remember that I looked for that years ago, but did not find it either. I think it was possible ages ago to create a new session and all settings where saved in that session - but I just tried, but it does not work: kate crashes when switching sessions (I have 2 "unknown"), or does not save sessions, or crashes when saving sessions if the document windows is hidden. So probably it's time for a bug report 😄
Nik
Hi Nik, can you paste the steps to reproduce each of the crashes you mentioned? I don't have crashes in Kate when changing or saving sessions. Cheers Michele
Hi Michele,
IMO kate should have its sessions in .trinity/share/apps/kate/sessions/ - this directory only contains one file, "sessions.list", with the content: [Sessions list] Last session id=-1 Sessions count=0 When I delete file and/or folder both are recreated with this content.
In kate the menue entry "Sessions" has two entries: "Unknown" and "Unknown". Selecting either crashes kate. These lines are added to .xsession-errors:
[2023/07/21 15:41:43.664] TQSettings::sync: failed to open '/etc/tqt3/tqt_plugins_3.5rc.tmp' for writing [2023/07/21 15:41:43.764] TQSettings::sync: failed to open '/etc/tqt3/tqt_plugins_3.5rc.tmp' for writing [2023/07/21 15:41:45.563] X Error: BadWindow (invalid Window parameter) 3 Major opcode: 20 Minor opcode: 0 Resource id: 0x4200008 [2023/07/21 15:41:45.566] X Error: BadWindow (invalid Window parameter) 3 Major opcode: 20 Minor opcode: 0 Resource id: 0x4200008 [2023/07/21 15:41:45.570] X Error: BadWindow (invalid Window parameter) 3 Major opcode: 20 Minor opcode: 0 Resource id: 0x4200008 [2023/07/21 15:41:45.603] X Error: BadWindow (invalid Window parameter) 3 Major opcode: 19 Minor opcode: 0 Resource id: 0x4200008
A new session is never saved, it's just added to the "select session" menu. Neither file nor config are altered.
Nik
IMO kate should have its sessions in .trinity/share/apps/kate/sessions/ - this directory only contains one file, "sessions.list", with the content: [Sessions list] Last session id=-1 Sessions count=0 When I delete file and/or folder both are recreated with this content.
In kate the menue entry "Sessions" has two entries: "Unknown" and "Unknown". Selecting either crashes kate. These lines are added to .xsession-errors:
Hi Nik,
can you share a backtrace of the crashes? I would like to have a look. Also what are your options for sessions (Configure Kate --> Sessions)?
Cheers Michele
Anno domini 2023 Sat, 22 Jul 11:45:36 +0900 Michele Calgaro via tde-users scripsit:
IMO kate should have its sessions in .trinity/share/apps/kate/sessions/ - this directory only contains one file, "sessions.list", with the content: [Sessions list] Last session id=-1 Sessions count=0 When I delete file and/or folder both are recreated with this content.
In kate the menue entry "Sessions" has two entries: "Unknown" and "Unknown". Selecting either crashes kate. These lines are added to .xsession-errors:
Hi Nik,
can you share a backtrace of the crashes? I would like to have a look. Also what are your options for sessions (Configure Kate --> Sessions)?
I don't have that menu entry (Configure Kate --> Sessions).
"valgrind kate" : it does not crash and it creates *.katesession files in .trinity/share/apps/kate/ ... and it can reload the saved session.
With gdb I get this backtrae:
Program received signal SIGSEGV, Segmentation fault. 0x00007ffff751a310 in operator==(TQString const&, TQString const&) () from /usr/lib/x86_64-linux-gnu/libtqt-mt.so.3 (gdb) backtrace #0 0x00007ffff751a310 in operator==(TQString const&, TQString const&) () from /usr/lib/x86_64-linux-gnu/libtqt-mt.so.3 #1 0x00007ffff751a8e9 in operator!=(TQString const&, TQString const&) () from /usr/lib/x86_64-linux-gnu/libtqt-mt.so.3 #2 0x00007ffff7d41367 in ?? () from /opt/trinity/lib/libkateinterfaces.so.0 #3 0x00007ffff7d47017 in ?? () from /opt/trinity/lib/libkateinterfaces.so.0 #4 0x00007ffff7d189f2 in ?? () from /opt/trinity/lib/libkateinterfaces.so.0 #5 0x00007ffff7d0fd46 in ?? () from /opt/trinity/lib/libkateinterfaces.so.0 #6 0x00007ffff72ce3fb in TQObject::activate_signal(TQConnectionList*, TQUObject*) () from /usr/lib/x86_64-linux-gnu/libtqt-mt.so.3 #7 0x00007ffff72ce628 in TQObject::activate_signal(int, int) () from /usr/lib/x86_64-linux-gnu/libtqt-mt.so.3 #8 0x00007ffff72e220e in TQSignal::activate() () from /usr/lib/x86_64-linux-gnu/libtqt-mt.so.3 #9 0x00007ffff73b2116 in TQPopupMenu::mouseReleaseEvent(TQMouseEvent*) () from /usr/lib/x86_64-linux-gnu/libtqt-mt.so.3 #10 0x00007ffff72fc1b5 in TQWidget::event(TQEvent*) () from /usr/lib/x86_64-linux-gnu/libtqt-mt.so.3 #11 0x00007ffff727f107 in TQApplication::internalNotify(TQObject*, TQEvent*) () from /usr/lib/x86_64-linux-gnu/libtqt-mt.so.3 #12 0x00007ffff727f51b in TQApplication::notify(TQObject*, TQEvent*) () from /usr/lib/x86_64-linux-gnu/libtqt-mt.so.3 #13 0x00007ffff722eaf7 in ?? () from /usr/lib/x86_64-linux-gnu/libtqt-mt.so.3 #14 0x00007ffff722da31 in TQApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/x86_64-linux-gnu/libtqt-mt.so.3 --Type <RET> for more, q to quit, c to continue without paging--c #15 0x00007ffff726279d in TQEventLoop::processX11Events() () from /usr/lib/x86_64-linux-gnu/libtqt-mt.so.3 #16 0x00007ffff72632ae in TQEventLoop::gsourceDispatch(_GSource*) () from /usr/lib/x86_64-linux-gnu/libtqt-mt.so.3 #17 0x00007ffff72633b3 in ?? () from /usr/lib/x86_64-linux-gnu/libtqt-mt.so.3 #18 0x00007ffff60e67a9 in g_main_context_dispatch () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 #19 0x00007ffff60e6a38 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 #20 0x00007ffff60e6acc in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 #21 0x00007ffff726267b in TQEventLoop::processEvents(unsigned int) () from /usr/lib/x86_64-linux-gnu/libtqt-mt.so.3 #22 0x00007ffff7291351 in TQEventLoop::enterLoop() () from /usr/lib/x86_64-linux-gnu/libtqt-mt.so.3 #23 0x00007ffff72912e9 in TQEventLoop::exec() () from /usr/lib/x86_64-linux-gnu/libtqt-mt.so.3 #24 0x00007ffff7f86d52 in kdemain () from /opt/trinity/lib/libtdeinit_kate.so #25 0x0000555555555159 in ?? () #26 0x00007ffff7dc818a in __libc_start_call_main (main=main@entry=0x555555555139, argc=argc@entry=1, argv=argv@entry=0x7fffffffdda8) at ../sysdeps/nptl/libc_start_call_main.h:58 #27 0x00007ffff7dc8245 in __libc_start_main_impl (main=0x555555555139, argc=1, argv=0x7fffffffdda8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffffffdd98) at ../csu/libc-start.c:381 #28 0x0000555555555071 in _start ()
Cheers Michele
-- Please do not email me anything that you are not comfortable also sharing with the NSA, CIA ...
On 7/21/23 09:24, Michele Calgaro via tde-users wrote:
On 2023/07/21 02:28 AM, Dr. Nikolaus Klepp via tde-users wrote:
I remember that I looked for that years ago, but did not find it either. I think it was possible ages ago to create a new session and all settings where saved in that session - but I just tried, but it does not work: kate crashes when switching sessions (I have 2 "unknown"), or does not save sessions, or crashes when saving sessions if the document windows is hidden. So probably it's time for a bug report 😄
Nik
Hi Nik, can you paste the steps to reproduce each of the crashes you mentioned? I don't have crashes in Kate when changing or saving sessions. Cheers Michele
I don't believe this is a TDE problem, I've had kate do unexpected things, on xfce4, on gnome, and now on kde5/plasma, particularly at quitting time. I've had no such oddities with geany, the complete 30some packages kit. It Just Works. And I'm not running TDE, much as I'd like to, but it won't install since wheezy on my systems w/o tearing the system down and then re-installing it all. My complaints have been ignored. Everyone else claims it just works, without the dependency problems I'm seeing. ??
Take care & stay well people.
Cheers, Gene Heskett.
Anno domini 2023 Fri, 21 Jul 10:35:24 -0400 gene heskett via tde-users scripsit:
On 7/21/23 09:24, Michele Calgaro via tde-users wrote:
On 2023/07/21 02:28 AM, Dr. Nikolaus Klepp via tde-users wrote:
I remember that I looked for that years ago, but did not find it either. I think it was possible ages ago to create a new session and all settings where saved in that session - but I just tried, but it does not work: kate crashes when switching sessions (I have 2 "unknown"), or does not save sessions, or crashes when saving sessions if the document windows is hidden. So probably it's time for a bug report 😄
Nik
Hi Nik, can you paste the steps to reproduce each of the crashes you mentioned? I don't have crashes in Kate when changing or saving sessions. Cheers Michele
I don't believe this is a TDE problem, I've had kate do unexpected things, on xfce4, on gnome, and now on kde5/plasma, particularly at quitting time. I've had no such oddities with geany, the complete 30some packages kit. It Just Works. And I'm not running TDE, much as I'd like to, but it won't install since wheezy on my systems w/o tearing the system down and then re-installing it all. My complaints have been ignored. Everyone else claims it just works, without the dependency problems I'm seeing. ??
Maybe I'm living on the edge .. I have kate 4:14.2.0~pre50-0debian12.0.0+4 installed.
Nik
Take care & stay well people.
Cheers, Gene Heskett.
On 7/21/23 10:56, Dr. Nikolaus Klepp via tde-users wrote:
Anno domini 2023 Fri, 21 Jul 10:35:24 -0400 gene heskett via tde-users scripsit:
On 7/21/23 09:24, Michele Calgaro via tde-users wrote:
On 2023/07/21 02:28 AM, Dr. Nikolaus Klepp via tde-users wrote:
I remember that I looked for that years ago, but did not find it either. I think it was possible ages ago to create a new session and all settings where saved in that session - but I just tried, but it does not work: kate crashes when switching sessions (I have 2 "unknown"), or does not save sessions, or crashes when saving sessions if the document windows is hidden. So probably it's time for a bug report 😄
Nik
Hi Nik, can you paste the steps to reproduce each of the crashes you mentioned? I don't have crashes in Kate when changing or saving sessions. Cheers Michele
I don't believe this is a TDE problem, I've had kate do unexpected things, on xfce4, on gnome, and now on kde5/plasma, particularly at quitting time. I've had no such oddities with geany, the complete 30some packages kit. It Just Works. And I'm not running TDE, much as I'd like to, but it won't install since wheezy on my systems w/o tearing the system down and then re-installing it all. My complaints have been ignored. Everyone else claims it just works, without the dependency problems I'm seeing. ??
Maybe I'm living on the edge .. I have kate 4:14.2.0~pre50-0debian12.0.0+4 installed.
I show 22.12.3 here on bookworm and for a change it quit clean, twice, but then all I did was look at the about pulldown, so it had nothing to save.
Part of this problem may be some subtle diff in the raid format between buster/bullseye and bookworm. This raid was setup and initially formated under buster.
digiKam, any version, distro or AppImage up to last weeks build, acts like something is blocking access to my software raid10 containing my /home/gene partition, but I own it lock stock and barrel by any means I know how to check. It and shotwell, can see everything in both my camera, and in both Pictures and Photos in my home dir, shotwell can import stuff from the camera one marked file at a time, but when digiKam try's, it, its finished instantly but when I go looking for the pix on my hard drive, its not there. Cura, has a save button button for saving the sliced file as gcode, may take 5 minutes, with no wheel spinning visible before it finally opens the save file requestor and I go click thru the directories leading to where I want to save it.
Thunderbird, which wants to save a msg at 30 sec intervals, fails the save about 1 in 20 times and a retry always works. Once, maybe twice in the same blue moon, I'll see a perms failure in the shell I launch digiKam from. Inconsistant is the kindest description I can muster on a mixed list. I'd call it exasperating if I'm PC enough but that would be a huge understatement. I tried to setup the new kmail, but it can't save the account data, and does not report any errors when it fails.
If you've any ideas about how to fix this, throw them at me.
Is there a trick I can put in /etc/fstab to force an fsck on this raid10 after mdadm has assembled it but before its mounted on the next reboot? Its 4 1T SamSung 870 series SSD's on their own 6 port sata controller.
I'm thinking theres an ACL someplace that was set by buster, and is now just enough different to be a PITA for bookworm, but that is not a SWAG, just a WAG, no science involved. And when I ask about it on the debian list there's 2+ hours of crickets before traffic starts up again.
Thanks Nik,
Nik
Take care & stay well people.
Cheers, Gene Heskett.
Cheers, Gene Heskett.
Anno domini 2023 Fri, 21 Jul 13:08:39 -0400 gene heskett via tde-users scripsit:
On 7/21/23 10:56, Dr. Nikolaus Klepp via tde-users wrote:
Anno domini 2023 Fri, 21 Jul 10:35:24 -0400 gene heskett via tde-users scripsit:
On 7/21/23 09:24, Michele Calgaro via tde-users wrote:
On 2023/07/21 02:28 AM, Dr. Nikolaus Klepp via tde-users wrote:
I remember that I looked for that years ago, but did not find it either. I think it was possible ages ago to create a new session and all settings where saved in that session - but I just tried, but it does not work: kate crashes when switching sessions (I have 2 "unknown"), or does not save sessions, or crashes when saving sessions if the document windows is hidden. So probably it's time for a bug report 😄
Nik
Hi Nik, can you paste the steps to reproduce each of the crashes you mentioned? I don't have crashes in Kate when changing or saving sessions. Cheers Michele
I don't believe this is a TDE problem, I've had kate do unexpected things, on xfce4, on gnome, and now on kde5/plasma, particularly at quitting time. I've had no such oddities with geany, the complete 30some packages kit. It Just Works. And I'm not running TDE, much as I'd like to, but it won't install since wheezy on my systems w/o tearing the system down and then re-installing it all. My complaints have been ignored. Everyone else claims it just works, without the dependency problems I'm seeing. ??
Maybe I'm living on the edge .. I have kate 4:14.2.0~pre50-0debian12.0.0+4 installed.
I show 22.12.3 here on bookworm and for a change it quit clean, twice, but then all I did was look at the about pulldown, so it had nothing to save.
Part of this problem may be some subtle diff in the raid format between buster/bullseye and bookworm. This raid was setup and initially formated under buster.
digiKam, any version, distro or AppImage up to last weeks build, acts like something is blocking access to my software raid10 containing my /home/gene partition, but I own it lock stock and barrel by any means I know how to check. It and shotwell, can see everything in both my camera, and in both Pictures and Photos in my home dir, shotwell can import stuff from the camera one marked file at a time, but when digiKam try's, it, its finished instantly but when I go looking for the pix on my hard drive, its not there. Cura, has a save button button for saving the sliced file as gcode, may take 5 minutes, with no wheel spinning visible before it finally opens the save file requestor and I go click thru the directories leading to where I want to save it.
Thunderbird, which wants to save a msg at 30 sec intervals, fails the save about 1 in 20 times and a retry always works. Once, maybe twice in the same blue moon, I'll see a perms failure in the shell I launch digiKam from. Inconsistant is the kindest description I can muster on a mixed list. I'd call it exasperating if I'm PC enough but that would be a huge understatement. I tried to setup the new kmail, but it can't save the account data, and does not report any errors when it fails.
If you've any ideas about how to fix this, throw them at me.
Is there a trick I can put in /etc/fstab to force an fsck on this raid10 after mdadm has assembled it but before its mounted on the next reboot? Its 4 1T SamSung 870 series SSD's on their own 6 port sata controller.
wht does "dmesg" say, anythin about md devices? And what does cat /proc/mdstat say?
I would have a verry bad feeling if I had access problems to a raid ... to be more precise, I'd grab my wallet and run screeming to the next hardware store demanding a 2TB ssd - just to find that they sell nails and hammers, but sorry no ssds (whatever that might be). That said, I have at least 2 or more laptops keeping an up to date copy of anything + a freebsd server with zfs + blueray backups ... feel free to call me paranoid.
Nik
I'm thinking theres an ACL someplace that was set by buster, and is now just enough different to be a PITA for bookworm, but that is not a SWAG, just a WAG, no science involved. And when I ask about it on the debian list there's 2+ hours of crickets before traffic starts up again.
Thanks Nik,
Nik
Take care & stay well people.
Cheers, Gene Heskett.
Cheers, Gene Heskett.
On 2023/07/21 11:35 PM, gene heskett via tde-users wrote:
Everyone else claims it just works, without the dependency problems I'm seeing. ??
Well, it does install and work fine, as I am sure many users can confirm :-) Dependency issues may be due to outdated packages from the past or some other reasons. But TDE does indeed install in clean debian environments. Cheers Michele
On 7/21/23 22:49, Michele Calgaro via tde-users wrote:
On 2023/07/21 11:35 PM, gene heskett via tde-users wrote:
Everyone else claims it just works, without the dependency problems I'm seeing. ??
Well, it does install and work fine, as I am sure many users can confirm :-) Dependency issues may be due to outdated packages from the past or some other reasons. But TDE does indeed install in clean debian environments. Cheers Michele
ATM, I'm still trying to figure out bookworm. Its install was forced on me by a bullseye update that nuked my passwd, locking me out of the system since I use sudo for root things. I still do. bookworm seems to have a new acl policy, resulting in my not having write privs for nearly 2 T of /home/me/Pictures on a 4T raid10 of samsung 1t SSD's. The latest weekly build of digiKam can see my Pictures and Photos directories and can see the pix on my camera, even sorting them into new for download, but cannot download, shotwell can but is best described as a pita to use. I do a lot of design work in openscad, sending the result to Cura for slicing wich cura does well, but when its time to save that sliced gcode, it may take several minutes after I click save for the file requester to show up, and it shows up first in the tool bar at the bottom of the screen, requiring an extra click on that to actually open the requestor. In short, usability sucks dead toads thru soda straws.
I think some of kde plasma is being funkity, as I have a bottom toolbar full of generic icons that are not assigned to launch anything but more of them and no way to remove them. The icon for thunderbird says "TDE - Mozilla" as line 1 beside the round icon, and "Thunderbird" on line 2, and 2 more copies that seem to be associated with this message composer.
And synaptic does not appear to have any tde entry's to install. At the very minimum I would like to get rid of tbird since its sorting filter only work for certain phases of the moon with no errors reported when they don't work. Buggiest piece of sw I have tangled with since I put linux on a k6 cpu in 1998.
So I assume the first order is to add the tde r14 repo's to the apt sources lists. Can you supply that repo line please?
Thanks Michele, take care and stay well.
Cheers, Gene Heskett.
So I assume the first order is to add the tde r14 repo's to the apt sources lists. Can you supply that repo line please?
If it works for you, I would suggest a clean bookworm installation without other DEs and then add TDE. You can find the TDE installation instructions here: https://wiki.trinitydesktop.org/Debian_Trinity_Repository_Installation_Instr...
Thanks Michele, take care and stay well.
Thanks, you too!
Cheers Michele
On 2023/07/21 01:20 AM, D. R. Evans via tde-users wrote:
At some point in the last year, kate started behaving differently here: when it opens a file for editing, there is now an extra column to the left of the contents of the file; the extra column shows the name of the file being edited. I can remove this extra column by hitting the word "Documents" which appears (rendered vertically) at the extreme left of the kate window.
But I do get fed up of having to do this every single time I open a file for editing in kate.
So how do I configure kate so that this additional column with the name of the file being edited no longer appears when kate opens a file for editing?
(I looked at the kate configuration file, but nothing obvious struck me; searching the Internet also didn't produce anything useful that addresses this, but it's perfectly possible that I wasn't using a very good search string.)
Doc
Can you post a screenshot showing the problem? Most likely need to save a default session with the config you would like to have. Cheers Michele
Michele Calgaro via tde-users wrote on 7/21/23 07:20:
Can you post a screenshot showing the problem? Most likely need to save a default session with the config you would like to have.
Your hint about sessions was enough for me to (I think) fix the problem.
I, frankly, have never understood kate sessions... they seem a complication that I have no interest in, but there doesn't seem to be any way to tell kate not to use them.
Anyway, I looked at the "Sessions | Select session" menu, and up popped >300 "Unnamed" entries.
So I manually cleaned up the session directory and edited the sessions.list file to contain only one entry, then made sure that kate saves the session when it exits, and removed the unwanted left-hand column and exited kate. The next time I started kate, everything looked (and continues to look) the way I want it to. So thanks very much for pointing me in the right direction.
Doc
On 2023/07/22 10:17 PM, D. R. Evans via tde-users wrote:
I, frankly, have never understood kate sessions...
Sessions are a way to save your workspace, so that you can exit Kate, reopen it and continue from where you left off. You can think of session as "workspace" or "project". They can be enable/disabled through settings and starting from R14.1.0 there is a very convenient session panel for managing multiple sessions. R14.0.x session experience was quite awful instead.
Cheers Michele