/home/pi/System_maintenance/pi/leafpad notes.txt http://manpages.ubuntu.com/manpages/xenial/en/man1/leafpad.1.html *************** 03Feb2018 Cool!! Try it sometime with spare RaspPi! http://thisdavej.com/controlling-a-raspberry-pi-from-a-mobile-device-with-bonus-menu-too/ Controlling a Raspberry Pi from a Mobile Device with Bonus Menu Too ... We learn how to control a Raspberry Pi from a mobile ... tab (as shown below), ensure that SSH is set ... logs in as the pi user. Here's how we do it: $ leafpad ... *************** 03Feb2018 search "Raspberry Pi and leafpad - how do I permanently set tabs?" >> I tried : RaspPi Menu -> Preferences -> Main Menu Editor -> Accessories -> Launcher Properties -> Command -> leafpad --tab-width=3 %f >> seems to work! http://www.murga-linux.com/puppy/viewtopic.php?t=85535 greengeek Mon 08 Apr 2013, 15:37 Thanks Paul. - I wonder if there is a way to get a script to pass the required parameters immediately AFTER opening leafpad, even though it appears they can't be passed at the time of initial execution? Also - I have just noticed that in Precise 5.5 leafpad opens with wordwrap already enabled so I will scout around and see if I can see how that is done. EDIT :I think I have found how it's done in Precise 5.5 If I open the hidden file /root/.config/leafpad/leafpadrc I see the following: Code: 0.8.18.1 671 450 Monospace 12 1 0 0 and it seems to be the "1" below "monospace 12" which determines if wordwrap is on or not. I have just tried modifying this in a different puppy and it works! There is no doubt some other way this can be achieved too, so any info/guesses welcome! ********** 17Dec2017 4 space tabs - setup $ sudo leafpad "/usr/share/applications/leafpad.desktop" Exec=leafpad --tab-width=3 %f >> doesn't work now - perhaps at reboot? ********** 26Nov2017 leafpad tab settings http://forums.bodhilinux.com/index.php?/topic/2937-solved-tab-key-as-4-spaces/ King of the Software Page, 1585 posts Posted 31 October 2011 - 01:48 PM 'som', on 31 Oct 2011 - 06:02 AM, said: I'd like to indent 4 spaces by pressing Tab in leafpad or preferably globally. Can this be done? start leafpad by: leafpad --tab-width=4 to Make leafpad always act like this edit as root the leafpad.desktop file at /usr/share/applications Change line: Exec=leafpad %f to Exec=leafpad --tab-width=4 %f >> I used this for : $ leafpad --tab-width=3 "/media/pi/Lexar/NCAA-D-17-01541/NCAA-D-17-01541 m Li, Zhang, Li, Zhang - Global asymptotical stability, nonautonomous impulsive inertial NNs with unbounded time-varying delay.txt" & $ leafpad --tab-width=3 "/media/pi/Lexar/NCAA-D-17-01541/NCAA-D-17-01541 m Li, Zhang, Li, Zhang - Symbols.txt" & https://stackoverflow.com/questions/11173769/how-to-make-the-tab-character-4-spaces-instead-of-8-spaces-in-nano How to make the tab character 4 spaces instead of 8 spaces in nano? If you use nano with a language like python (as in your example) it's also a good idea to convert tabs to spaces. Edit your ~/.nanorc file (or create it) and add: set tabsize 4 set tabstospaces If you already got a file with tabs and want to convert them to spaces i recommend the expandcommand (shell): expand -4 input.py > output.py edited Aug 27 '13 at 6:51, answered Mar 12 '13 at 14:50 Sven Rojek /home/pi/.config/leafpad/leafpadrc contains : +-----+ 0.8.18.1 886 911 Monospace 10 1 1 0 +-----+ dunno how to change tabs yet install kwrite!!?? # enddoc