Sticky Finger’s menu for 2.8″ screens by JPearn

Overview Forums Sticky Finger’s Kali-Pi Sticky Finger’s menu for 2.8″ screens by JPearn

  • This topic has 14 replies, 2 voices, and was last updated 5 years, 1 month ago by Dempers. This post has been viewed 4030 times
Viewing 9 reply threads
  • Author
    Posts
    • #1114
      Re4son
      Keymaster

      Good news everyone:

      JPearn has adjusted the menu for a 2.8″ screen and it looks great.
      He himself calls it “still a bit rough around the edges” but I reckon we can run with it.

      The zip file with the modified scripts can be downloaded here:
      http://www.whitedome.com.au/download/menu_kali_2.8.zip

      Just copy the files over the originals in the root directory and you should be ready to go.

      I’ll include the source in my github when I get around it.

      A round of applause to JPearn for the hard work.

      Many thanks,
      Re4son

    • #1315
      Re4son
      Keymaster

      JPearn has adjusted the menu for a 2.8″ screen and it looks great.

    • #1377
      Gaven
      Guest

      Hey re4son! Love the tutorial, great stuff. I picked up a capacitive 2.8 off adafruit. Is there an easy way to copy the Jpearn files over like a wget or git clone to xfer the files over and then unzip them? Also having a capacitie over resisitive screen shouldn’t affect things too much right? Thanks in advance!

    • #1379
      8aplus
      Guest
      wget http://www.whitedome.com.au/download/menu_kali_2.8.zip
      unzip menu_kali_2.8.zip
      cd menu_kali_2.8
      cp menu_* /home/pi/pitftmenu

      Regards Pat

    • #1422
      Re4son
      Keymaster

      Hi everyone,

      Effective today menu_kali_2.8 is now included in the pitftmenu repo. No additional zip files required.
      You just have to do the last two lines in 8aplus’ post:

      cd menu_kali_2.8
      cp menu_* /home/pi/pitftmenu

      Hope that helps,
      Re4son

    • #1441
      Dempers
      Guest

      Hi Re4son – many thanks for putting this excellent guide together! Extremely helpful for newbies like myself – very excited as I managed to get it all working last night. Unfortunately I think I broke something somehow as the touchscreen interface is completely non-responsive now…

      Everything boots fine, and the 2.8″ interface comes up as before but no matter what I press nothing happens…

      Any ideas on where to start troubleshooting?

      Thanks in advance

      D

    • #1442
      Re4son
      Keymaster

      Hi Dempers,

      Life would be boring without breaking anything 😉
      Have you got the Adafruit PiTFT 2.8″?
      If so, you should be able to fix it by running the re4son-pi-tft-setup tool again.
      Once done, edit the /boot/config.txt and remove the duplicate section.

      That should do.

      I always destroy something, that why I always backup my SD card before any change 😉

      Hope that helps,
      Re4son

      • #1451
        Dempers
        Guest

        Thanks for the quick response!

        I’ve edited the /boot/config.txt (turns out there were about 6 or 7 duplicated entries so I wiped the whole thing and started over). Now I’m getting pygame errors on reboot (something about not being able to open mouse) so I’m re-running the installation instructions currently (hoping it will work).

        Meantime, I wanted to ask if the ’28r’ or ’28c’ versions in the setup tool will work for the PiTFT Plus 2.8″ Capacitive touchscreen?

        Best
        D

    • #1452
      Re4son
      Keymaster

      It will.
      28c is for the 2.8″ capacitive touchscreen

      Just to make sure you should download the latest kernel package and use the setup tool in the “tools” directory.

      Good luck,
      Re4son

      • #1453
        Dempers
        Guest

        dang it…. re-ran the whole setup and I’m still getting that error-message (everything else runs perfectly – that’ll teach me to mess with something that works..)

        any ideas?

        traceback reports:

        File “/home/pi/pitftmenu/menu_kali-1.py”, line 11, in <module>
        pygame.display.init()
        pygame.error: Unable to open mouse

    • #1458
      Re4son
      Keymaster

      what happens if you install an older kernel over the top? I’d try this one:
      http://whitedome.com.au/download/Kali-Pi-Kernels/re4son_kali-pi-tft_kernel_1.20160323-1.tar.gz

      That’s to make sure that my latest kernel upgrade didn’t introduce problems with the touch drivers.

      Please let me know how you go with that, even if it doesn’t make a difference so we can rule that out for the future.

      Next I would delete /boot/config.txt and download the old helper from Adafruit via github:

      git clone https://github.com/adafruit/Adafruit-PiTFT-Helper

      and run

      cd Adafruit-PiTFT-Helper
      adafruit-pitft-helper -t 28c -u /root

      Please let me know how you go,
      Re4son

      • #1461
        Dempers
        Guest

        Okay, so I’ve spent this whole time rebuilding from scratch…takes 24 hours to do (must be a poor choice of SD card).

        I’ve used the older build of the kernel like you said – seems to be working fine (though admittedly I’m still installing openvas…. 26 hours and counting…

        Will report back this evening. Hopefully..

        • #1462
          Dempers
          Guest

          S-C-O-R-E!!!

          It’s up and running!!!

          Mate, I cannot thank you enough for this. I’ll be doing my CEH exam in a couple of weeks and I really needed this to be working.

          Pure awesomeness!

    • #1463
      Re4son
      Keymaster

      Good to hear.
      Which kernel did you end up using?

      • #1464
        Dempers
        Guest

        0323 – I’m not upgrading….

        “If it works, don’t try to fix it”

        I really do appreciate the help though. I’m proficient with Mac and Win, but this Linux stuff is killing me…

Viewing 9 reply threads
  • You must be logged in to reply to this topic.