txt file double-click --> Session chooser Kate

Post here if you are a new Porteus member and you're looking for some help.
rnport
Black ninja
Black ninja
Posts: 98
Joined: 01 May 2011, 00:55

txt file double-click --> Session chooser Kate

Post#1 by rnport » 20 May 2011, 07:30

On double clicking a txt file, "session chooser Kate" opens, when one wants a simple text editor to open.

User avatar
Ahau
King of Docs
King of Docs
Posts: 1331
Joined: 28 Dec 2010, 15:18
Distribution: LXDE & Xfce 32/64-bit
Location: USA

Re: txt file double-click --> Session chooser Kate

Post#2 by Ahau » 20 May 2011, 12:45

assuming you're in KDE, right click on the text file, select Properties, then click on the tool button to the right of "Type: Plain Text Document". Then, highlight kate and select remove. That will take kate off of the list of applications (this will only survive reboot if you are saving changes).

Or, to continue using Kate, just select the box that says something like "always do this", and then "Open Current Session" or "Open New Session", and after that, text files will open directly to Kate (assuming you have your changes saved).

I'm sure there's a config file that could be saved to rootcopy or in a module, if you're running in Always Fresh mode. I just click "Open Current Session" every time, or right click, select "open with", and choose leafpad.
Please take a look at our online documentation, here. Suggestions are welcome!

rnport
Black ninja
Black ninja
Posts: 98
Joined: 01 May 2011, 00:55

Re: txt file double-click --> Session chooser Kate

Post#3 by rnport » 20 May 2011, 16:51

Thanks.

User avatar
Blaze
DEV Team
DEV Team
Posts: 3870
Joined: 28 Dec 2010, 11:31
Distribution: ⟰ Porteus current ☯ all DEs ☯
Location: ☭ Russian Federation, Lipetsk region, Dankov
Contact:

Re: txt file double-click --> Session chooser Kate

Post#4 by Blaze » 20 May 2011, 18:00

I think is necessary to make kwrite by default for txt files (32/64 bit)
Linux 6.6.11-porteus #1 SMP PREEMPT_DYNAMIC Sun Jan 14 12:07:37 MSK 2024 x86_64 Intel(R) Xeon(R) CPU E3-1270 v6 @ 3.80GHz GenuineIntel GNU/Linux
MS-7A12 » [AMD/ATI] Navi 23 [Radeon RX 6600] [1002:73ff] (rev c7) » Vengeance LPX 16GB DDR4 K2 3200MHz C16

User avatar
Ahau
King of Docs
King of Docs
Posts: 1331
Joined: 28 Dec 2010, 15:18
Distribution: LXDE & Xfce 32/64-bit
Location: USA

Re: txt file double-click --> Session chooser Kate

Post#5 by Ahau » 20 May 2011, 18:59

kwite is already the default in 64-bit, as kate is no longer included (as of RC1 I think).

that presents yet another option for rnport: he could use rempkg to remove kate entirely from the kde module.
Please take a look at our online documentation, here. Suggestions are welcome!

rnport
Black ninja
Black ninja
Posts: 98
Joined: 01 May 2011, 00:55

Re: txt file double-click --> Session chooser Kate

Post#6 by rnport » 21 May 2011, 00:53

A newbie user get confused when he clicks a simple txt file to open it for viewing and gets a "Session chooser" dialog screen. It will put off many a beginner users if they feel even simple txt file management is either complex in this distro or there is some bug. I agree that kwrite should be default editor and it should promptly open the txt file. Kate is an advanced text editor; advanced users can make it their default editor.

User avatar
brokenman
Site Admin
Site Admin
Posts: 6105
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v4 all desktops
Location: Brazil

Re: txt file double-click --> Session chooser Kate

Post#7 by brokenman » 21 May 2011, 18:53

I will make kwrite the default option. is this really a bug report? ... or a feature request?

Please read the FAQ for bug reports.
How do i become super user?
Wear your underpants on the outside and put on a cape.

rnport
Black ninja
Black ninja
Posts: 98
Joined: 01 May 2011, 00:55

Re: txt file double-click --> Session chooser Kate

Post#8 by rnport » 22 May 2011, 01:14

I agree it is a feature request. Please transfer this to correct area. But when I initially saw the message I did not know that Kate was an advanced text editor, so I thought this is some bug.

User avatar
brokenman
Site Admin
Site Admin
Posts: 6105
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v4 all desktops
Location: Brazil

Re: txt file double-click --> Session chooser Kate

Post#9 by brokenman » 26 May 2011, 12:31

No problem. Will move it to newb questions. We need a section where people can ask for help. For future reference, a bug is not a bug unless it can be reproduce on multiple machines and is found to be the fault of Porteus.

The idea is to have a bugs section with very few threads ... it looks much better.
How do i become super user?
Wear your underpants on the outside and put on a cape.

rnport
Black ninja
Black ninja
Posts: 98
Joined: 01 May 2011, 00:55

Re: txt file double-click --> Session chooser Kate

Post#10 by rnport » 27 May 2011, 05:47

I strongly agree with you that users need an area to post their problems with porteus. Otherwise they will keep posting on other, more technical, parts of forum.

Post Reply