Results 1 to 9 of 9

Thread: Kali for Raspberry Pi 7inch Display

  1. #1
    Join Date
    2016-Mar
    Posts
    1

    Question Kali for Raspberry Pi 7inch Display

    Hello, just a quick question.

    How do i rotate the display 180 degrees on xfce desktop environment? My 7inch display is upside down with the power cable at the bottom making it cause to bend on my custom stand,

    I tried using xrandr command in terminal but it couldnt detect the offical 7inch display made by Raspberry Pi foundation.
    i also tried the display setting which doesnt show a dropdown menu.

    Thanks

  2. #2
    Join Date
    2016-Apr
    Posts
    2
    I have the same problem.

    But want to rotate not only the xfce display, I want to rotate the whole screen 180 degrees from the beginning of the booting. I want the terminal and the xfce rotated.

  3. #3
    Join Date
    2014-Feb
    Posts
    309
    Does the 7" display use fbtft ? If so you probably need to pass something like "rotate=180" when the module gets probed. This could be done similar to how we do with the rpi-tft image as seen here:

    https://github.com/offensive-securit...pi-tft.sh#L239

    Note that it's only a possible example, and you should NOT just copy and paste that line into such a file on your system. I don't have a 7" display for the rpi, so I don't know how it is set up.

  4. #4
    Join Date
    2015-Nov
    Location
    Australia
    Posts
    445
    Just add the following line to your "/boot/config.txt":

    Code:
    # Rotate screen 180 for 7" touch screen
    lcd_rotate=2

    don't forget to mount /boot first via

    Code:
    mount /dev/mmcblk0p1 /boot
    Hope that helps,
    Re4son

  5. #5
    Join Date
    2016-Apr
    Posts
    2
    Quote Originally Posted by re4son View Post
    Just add the following line to your "/boot/config.txt":

    Code:
    # Rotate screen 180 for 7" touch screen
    lcd_rotate=2

    don't forget to mount /boot first via

    Code:
    mount /dev/mmcblk0p1 /boot
    Hope that helps,
    Re4son
    Great!
    It worked.
    Thank you.

    I did not mount /dev/mmcblk0p1 /boot.
    So I did not see the "right" boot folder with the right config.txt.
    Without the mounting there is a boot folder but with another config.txt and it seems to be the wrong config.txt. But after the mounting everything went the way I wanted to.


    Thank you.
    Last edited by mcfly777; 2016-04-11 at 16:31.

  6. #6
    Join Date
    2016-Jul
    Posts
    10
    sorry to bring up a thread that is almost 4 months old but im still having the same issue with the rotated screen.. just built my Pi with 7" official display, the latest arm image from the kali website, i was able to do the basics with no issues (apt-get update, apt-get upgrade, apt-get install kali-linux-full and apt-get dist-upgrade) but when i try to do the fix posted by reason. i dont get a config.txt file .. has anything changed since this post was made with the kali image???

  7. #7
    Join Date
    2015-Nov
    Location
    Australia
    Posts
    445
    Hi k13pt0,

    don't worry about not having a config.txt. Just create it.
    It'll work, trust me.
    Make sure you mount /boot first though.

    Have fun,
    Re4son

  8. #8
    Join Date
    2016-Jul
    Posts
    10
    you rock re4son!!! Finally got the screen to flip right side up.. thanks a lot.

  9. #9
    Did you buy a display frame from Amazon? There have been defective cheap displays frames that've been circulating from there.

    Here's the link, check the reviews:
    https://www.amazon.ca/Pimoroni-Raspb.../dp/B0164C3M84

    They manufactured it wrong LOL

Similar Threads

  1. Using kali on Raspberry Pi, using LG smart tv to display
    By tmf33uk in forum Installing Archive
    Replies: 0
    Last Post: 2021-11-06, 07:35
  2. Kali Linyux + Raspberry Pi 4 + i2c 0.96 OLED Display
    By bobster316 in forum ARM Archive
    Replies: 0
    Last Post: 2021-10-16, 08:13
  3. Kali Linux + Raspberry Pi 4 + 0.96 OLED Display
    By bobster316 in forum Installing Archive
    Replies: 0
    Last Post: 2021-10-16, 07:44
  4. Replies: 0
    Last Post: 2017-08-18, 17:19

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •