Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Readers > Amazon Kindle > Kindle Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 08-03-2017, 12:17 PM   #16
knc1
Analog Forever!
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 15,253
Karma: 16999999
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Quote:
Originally Posted by zaoqi View Post
KT3 supports Debian 9!
Which is not even relevant if trying to build software that will run on the Kindles using their pre-installed libraries as shipped in their system images.

When you are talking about what will run on a Kindle, inside of a chrooted system (which does not refer to the pre-installed libraries), many things are possible.

Even the original KT will run IBM-360/370/390 code under OS-360 or VMS-360.
See: "Mainframe in a zipper case."

What it will run, in your word "supports", has zip to do with what can be built under it to run on the firmware that ships with the Kindle.
knc1 is offline   Reply With Quote
Advert
Old 08-11-2017, 05:41 AM   #17
zaoqi
github.com/zaoqi
zaoqi does all things with Zen-like beautyzaoqi does all things with Zen-like beautyzaoqi does all things with Zen-like beautyzaoqi does all things with Zen-like beautyzaoqi does all things with Zen-like beautyzaoqi does all things with Zen-like beautyzaoqi does all things with Zen-like beautyzaoqi does all things with Zen-like beautyzaoqi does all things with Zen-like beautyzaoqi does all things with Zen-like beautyzaoqi does all things with Zen-like beauty
 
Posts: 50
Karma: 32020
Join Date: Mar 2017
Location: Hangzhou Zhejiang China
Device: KT3,Kobo Aurd HD
match-keyboard doesn't work on Debian 9.
zaoqi is offline   Reply With Quote
Old 08-11-2017, 07:42 AM   #18
knc1
Analog Forever!
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 15,253
Karma: 16999999
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Quote:
Originally Posted by zaoqi View Post
match-keyboard doesn't work on Debian 9.
So fix it.
Just reporting "does not work" with no additional information leaves the resolution in your own hands.

You really should take your problems to a site in your own language.
Come back when you have something finished to show.
knc1 is offline   Reply With Quote
Old 08-21-2017, 12:00 PM   #19
zaoqi
github.com/zaoqi
zaoqi does all things with Zen-like beautyzaoqi does all things with Zen-like beautyzaoqi does all things with Zen-like beautyzaoqi does all things with Zen-like beautyzaoqi does all things with Zen-like beautyzaoqi does all things with Zen-like beautyzaoqi does all things with Zen-like beautyzaoqi does all things with Zen-like beautyzaoqi does all things with Zen-like beautyzaoqi does all things with Zen-like beautyzaoqi does all things with Zen-like beauty
 
Posts: 50
Karma: 32020
Join Date: Mar 2017
Location: Hangzhou Zhejiang China
Device: KT3,Kobo Aurd HD
start-x:
What's Xephyr?
zaoqi is offline   Reply With Quote
Old 08-21-2017, 12:03 PM   #20
zaoqi
github.com/zaoqi
zaoqi does all things with Zen-like beautyzaoqi does all things with Zen-like beautyzaoqi does all things with Zen-like beautyzaoqi does all things with Zen-like beautyzaoqi does all things with Zen-like beautyzaoqi does all things with Zen-like beautyzaoqi does all things with Zen-like beautyzaoqi does all things with Zen-like beautyzaoqi does all things with Zen-like beautyzaoqi does all things with Zen-like beautyzaoqi does all things with Zen-like beauty
 
Posts: 50
Karma: 32020
Join Date: Mar 2017
Location: Hangzhou Zhejiang China
Device: KT3,Kobo Aurd HD
Can I use xfce?
zaoqi is offline   Reply With Quote
Old 08-21-2017, 12:44 PM   #21
knc1
Analog Forever!
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 15,253
Karma: 16999999
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Quote:
Originally Posted by zaoqi View Post
start-x:
What's Xephyr?
Quote:
Originally Posted by zaoqi View Post
Can I use xfce?
That is like asking:
"What is Google?"

Try using whatever web search engine your country allows.
Or setup an encrypted VPN to another country and use what is available outside of your country.

This site is not an embedded computer systems school.
You would be much better off if you used any of the many ways available to learn about basic embedded computer systems.

Last edited by knc1; 08-21-2017 at 12:47 PM.
knc1 is offline   Reply With Quote
Old 08-21-2017, 06:26 PM   #22
theol0403
Enthusiast
theol0403 knows what time it istheol0403 knows what time it istheol0403 knows what time it istheol0403 knows what time it istheol0403 knows what time it istheol0403 knows what time it istheol0403 knows what time it istheol0403 knows what time it istheol0403 knows what time it istheol0403 knows what time it istheol0403 knows what time it is
 
Posts: 28
Karma: 2010
Join Date: Feb 2017
Device: Kindle PW3
I can answer that without being condesending

From what I know, Xephyr is a virtual X server that creates a virtual screen and than displays its content as a application.
The kindles, being linux, run on a X window manager. X decides what goes on top, the DPI (pixel density), and manages everything about the windows including dragging and resizing windows.

So you ask, why not just have all my linux graphic applications display to the kindle X server directly? You can't because the kindle X server needs a special syntax. For an application to show on the kindles you need to name the application something like L:D_N:application_ID:Chess
Look up "xorg" here for an explanation of this syntax.

So if you have an application named "Chess" it won't show without all this other labeling.

Now you have two options: Either change the source code and recompile everything with this title or use a realtime name changer such as fronter (look this up here too).

Or you can run something like Xephyr (there are others).

Xephyr is a program which you can name it what you want in the commandline. It outputs in a kindle X window at the top level, the kindle treats it as a application. Then it opens a second X desktop server on port 1 (kindle X server is port 0). Then you specify what screen you want debian to output to, and all your normally named debian programs you can apt-get run on the kindle screen through this server.

Hope this helps
theol0403 is offline   Reply With Quote
Old 08-24-2017, 11:40 AM   #23
zaoqi
github.com/zaoqi
zaoqi does all things with Zen-like beautyzaoqi does all things with Zen-like beautyzaoqi does all things with Zen-like beautyzaoqi does all things with Zen-like beautyzaoqi does all things with Zen-like beautyzaoqi does all things with Zen-like beautyzaoqi does all things with Zen-like beautyzaoqi does all things with Zen-like beautyzaoqi does all things with Zen-like beautyzaoqi does all things with Zen-like beautyzaoqi does all things with Zen-like beauty
 
Posts: 50
Karma: 32020
Join Date: Mar 2017
Location: Hangzhou Zhejiang China
Device: KT3,Kobo Aurd HD
Can I use xfce?
xfce doesn't work in ubuntu.

...
/usr/bin/dbus-launch terminated abnormally without any error message

...
xfconfd
...
$XDG_CONFIG_DIRS(..."/etc")
...xfce4-session ...
----------------------------------Quit

#!/bin/bash
export DISPLAY=:0
Xephyr :1 -title "L:A_N:application_ID:xephyr_O:R_PC:N" -screen 800x600 -cc 4 -dpi 167 -nocursor &
sleep 3
export DISPLAY=:1
/etc/init.d/dbus start &
/usr/bin/xfce4-session
/etc/init.d/dbus stop
sleep 3

Last edited by zaoqi; 08-24-2017 at 12:00 PM.
zaoqi is offline   Reply With Quote
Old 08-24-2017, 08:53 PM   #24
theol0403
Enthusiast
theol0403 knows what time it istheol0403 knows what time it istheol0403 knows what time it istheol0403 knows what time it istheol0403 knows what time it istheol0403 knows what time it istheol0403 knows what time it istheol0403 knows what time it istheol0403 knows what time it istheol0403 knows what time it istheol0403 knows what time it is
 
Posts: 28
Karma: 2010
Join Date: Feb 2017
Device: Kindle PW3
Quote:
Originally Posted by zaoqi View Post
Can I use xfce?
xfce doesn't work in ubuntu.

...
/usr/bin/dbus-launch terminated abnormally without any error message

...
xfconfd
...
$XDG_CONFIG_DIRS(..."/etc")
...xfce4-session ...
----------------------------------Quit

#!/bin/bash
export DISPLAY=:0
Xephyr :1 -title "L:A_N:application_ID:xephyr_O:R_PC:N" -screen 800x600 -cc 4 -dpi 167 -nocursor &
sleep 3
export DISPLAY=:1
/etc/init.d/dbus start &
/usr/bin/xfce4-session
/etc/init.d/dbus stop
sleep 3
Xfce will probably work. I have experimented with other desktop environments like lxde and it worked. This is debian not ubuntu.

Okay I installed xfce and it worked.

  1. Set up debian from attached smalldebian.ext3, matchbox-dos.zip, installdebian.txt (sh)
  2. apt-get install xfce4
  3. enter :
    Code:
    export DISPLAY=:0
    Xephyr :1 -title "L:D_N:application_ID:xephyr" -screen 1068x1448 -cc 4 -dpi 300 -nocursor &
  4. in a new shell:
    Code:
    export DISPLAY=:1
  5. Code:
    startxfce4
  6. It worked!
Attached Thumbnails
Click image for larger version

Name:	xfce.png
Views:	97
Size:	162.5 KB
ID:	158669  
theol0403 is offline   Reply With Quote
Old 08-25-2017, 03:47 AM   #25
zaoqi
github.com/zaoqi
zaoqi does all things with Zen-like beautyzaoqi does all things with Zen-like beautyzaoqi does all things with Zen-like beautyzaoqi does all things with Zen-like beautyzaoqi does all things with Zen-like beautyzaoqi does all things with Zen-like beautyzaoqi does all things with Zen-like beautyzaoqi does all things with Zen-like beautyzaoqi does all things with Zen-like beautyzaoqi does all things with Zen-like beautyzaoqi does all things with Zen-like beauty
 
Posts: 50
Karma: 32020
Join Date: Mar 2017
Location: Hangzhou Zhejiang China
Device: KT3,Kobo Aurd HD
Quote:
Originally Posted by theol0403 View Post
Xfce will probably work. I have experimented with other desktop environments like lxde and it worked. This is debian not ubuntu.

Okay I installed xfce and it worked.

  1. Set up debian from attached smalldebian.ext3, matchbox-dos.zip, installdebian.txt (sh)
  2. apt-get install xfce4
  3. enter :
    Code:
    export DISPLAY=:0
    Xephyr :1 -title "L:D_N:application_ID:xephyr" -screen 1068x1448 -cc 4 -dpi 300 -nocursor &
  4. in a new shell:
    Code:
    export DISPLAY=:1
  5. Code:
    startxfce4
  6. It worked!
install.x.sh
Code:
#!/bin/sh
root=/mnt/base-us/root
img=$root.ext3
mkdir -p $root
fsck.ext3 $img
mount -o loop $img $root || exit

cat > $root/root/inst.sh << 'EOF'
apt update
apt install -f -y
apt full-upgrade -y
apt install -y locales
sed -i '/zh_CN.UTF-8/s/^#//' /etc/locale.gen
locale-gen zh_CN.UTF-8
apt install xserver-xephyr xfce4 -y
EOF
cat >> $root/etc/apt/apt.conf << 'EOF'
APT::Install-Recommends "0";
APT::Install-Suggests "0";
APT::Sandbox::User root;
EOF
cat > $root/usr/local/bin/start-x-flip << 'EOF'
#!/bin/bash
export DISPLAY=:0
Xephyr :1 -title "L:A_N:application_ID:xephyr_O:R_PC:N" -screen 800x600 -cc 4 -dpi 167 -nocursor &
sleep 3
export DISPLAY=:1
startxfce4
EOF

chmod +x $root/root/inst.sh
umount $root

/mnt/us/chroot.sh root/inst.sh

mount -o loop $img $root || exit
rm $root/root/inst.sh
umount $root
Ubuntu17.04: https://www.mobileread.com/forums/sh...d.php?t=289801

Last edited by zaoqi; 08-25-2017 at 03:55 AM.
zaoqi is offline   Reply With Quote
Old 08-25-2017, 03:49 AM   #26
zaoqi
github.com/zaoqi
zaoqi does all things with Zen-like beautyzaoqi does all things with Zen-like beautyzaoqi does all things with Zen-like beautyzaoqi does all things with Zen-like beautyzaoqi does all things with Zen-like beautyzaoqi does all things with Zen-like beautyzaoqi does all things with Zen-like beautyzaoqi does all things with Zen-like beautyzaoqi does all things with Zen-like beautyzaoqi does all things with Zen-like beautyzaoqi does all things with Zen-like beauty
 
Posts: 50
Karma: 32020
Join Date: Mar 2017
Location: Hangzhou Zhejiang China
Device: KT3,Kobo Aurd HD
It worked.

apt install dbus
zaoqi is offline   Reply With Quote
Reply

Tags
debian, jessie, kindle, pw3, qemu

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Glo Where's Debian GNU/Linux image for Kobo Glo?哪里有Kobo Glo的Debian GNU/Linux镜像? zaoqi Kobo Developer's Corner 0 04-09-2017 03:33 AM
Easy debian install with prebuilt image. Xqtftqx Kindle Developer's Corner 67 02-07-2017 06:49 PM
Tools Using built-in imagemagick to crop an image nasser Kindle Developer's Corner 12 08-07-2016 10:18 AM
K5 WebReaderViewer - built in image/frame/string/html viewer for kindle Aeris Kindle Developer's Corner 13 11-05-2013 03:11 AM
More memory for qemu image Mackx iRex Developer's Corner 2 06-27-2010 03:20 PM


All times are GMT -4. The time now is 12:02 AM.


MobileRead.com is a privately owned, operated and funded community.