The Following 3 Users Say Thank You to elros34 For This Useful Post: | ||
|
2017-10-23
, 11:29
|
Posts: 1,196 |
Thanked: 1,413 times |
Joined on Aug 2011
|
#212
|
The Following User Says Thank You to n950 For This Useful Post: | ||
|
2017-10-23
, 13:27
|
Posts: 1,196 |
Thanked: 1,413 times |
Joined on Aug 2011
|
#213
|
o@Sailfish ~]$ devel-su Password: [root@Sailfish nemo]# sh DeskChroot.sh 1920 1080 startxfce4 : command not found 2: does not existint /home/nemo/Arch/dev does not existint /home/nemo/dev/pts does not existint /home/nemo/Arch/proc does not existint /home/nemo/Arch/run does not existint /home/nemo/Arch/sys does not existint /home/nemo/var/lib/dbus does not existint /home/nemo/var/run/dbus does not existint /home/nemo/Arch/tmp does not existint /home/nemo/Arch/dev/shm does not existint /home/nemo/Arch/home/nemo/.config/pulse does not existint /home/nemo/Arch/home/nemo/real_home does not existint /home/nemo/Arch/home/nemo/Downloads does not existint /home/nemo/Arch/home/nemo/android_storage does not existint /home/nemo/Arch/home/nemo/Music does not existint /home/nemo/Arch/home/nemo/Videos does not existint /home/nemo/Arch/home/nemo/Pictures does not existint /home/nemo/Arch/home/nemo/Documents : command not found 21: chmod: cannot access `/dev/shm\r': Aucun fichier ou dossier de ce type rm: cannot remove '/run/user/100000/wayland-0.lock': No such file or directory chown: cannot access '/dev/shm': No such file or directory /usr/share/easychroot/scripts/start_xwayland_user_shell.sh: line 12: dbus-lsunch: command not found declare -x AG_PROVIDERS="/usr/share/accounts/providers" declare -x AG_SERVICES="/usr/share/accounts/services" declare -x AG_SERVICE_TYPES="/usr/share/accounts/service-types" declare -x BOOTSTATE="USER" declare -x DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/100000/dbus/user_bus_socket" declare -x EGL_DRIVER="egl_gallium" declare -x EGL_PLATFORM="wayland" declare -x G_BROKEN_FILENAMES="1" declare -x HISTCONTROL="ignoredups" declare -x HISTSIZE="1000" declare -x HOME="/root" declare -x HOSTNAME="" declare -x HYBRIS_LD_LIBRARY_PATH="/usr/libexec/droid-hybris/system/lib:/vendor/lib:/system/lib" declare -x LANG="fr_FR.utf8" declare -x LIPSTICK_OPTIONS="-plugin evdevtouch:/dev/touchscreen -plugin evdevkeyboard:keymap=/usr/share/qt5/keymaps/ droid.qmap" declare -x LOGNAME="nemo" declare -x LS_COLORS="no=00:fi=00:di=00;34:ln=00;36:pi=40;33:so=00;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;3 7;41:ex=00;32:*.cmd=00;32:*.exe=00;32:*.com=00;32:*.btm=00;32:*.bat=00;32:*.sh=00;32:*.csh=00;32:*.tar=00;31:*.tgz=00;3 1:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.zip=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.bz=00;31:*.tz=00;31:*.rp m=00;31:*.cpio=00;31:*.jpg=00;35:*.gif=00;35:*.bmp=00;35:*.xbm=00;35:*.xpm=00;35:*.png=00;35:*.tif=00;35:" declare -x MANAGERPID="4607" declare -x NOTIFY_SOCKET="/run/user/100000/systemd/notify" declare -x OLDPWD declare -x PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/home/nemo/bin" declare -x PWD="/" declare -x QMLSCENE_DEVICE="customcontext" declare -x QML_FIXED_ANIMATION_STEP="no" declare -x QSG_FIXED_ANIMATION_STEP="no" declare -x QTCONTACTS_MANAGER_OVERRIDE="org.nemomobile.contacts.sqlite" declare -x QT_DF_BASE="0.5" declare -x QT_DF_BASEDEVIATION="0.025" declare -x QT_DF_RANGE="0.08" declare -x QT_DF_SCALEFORMAXDEV="0.37" declare -x QT_DF_SCALEFORNODEV="0.6" declare -x QT_GSTREAMER_CAMERABIN_FLAGS="15" declare -x QT_GSTREAMER_CAMERABIN_SRC="droidcamsrc" declare -x QT_GSTREAMER_PLAYBIN_FLAGS="0" declare -x QT_IM_MODULE="Maliit" declare -x QT_MESSAGE_PATTERN="[%{if-debug}D%{endif}%{if-info}I%{endif}%{if-warning}W%{endif}%{if-critical}C%{endif}%{i f-fatal}F%{endif}] %{function}:%{line} - %{message}" declare -x QT_OPENGL_NO_BGRA="1" declare -x QT_QPA_PLATFORM="wayland" declare -x QT_WAYLAND_COMPOSITOR_NO_THROTTLE="1" declare -x QT_WAYLAND_DISABLE_WINDOWDECORATION="1" declare -x QT_WAYLAND_FORCE_DPI="96" declare -x QT_WAYLAND_RESIZE_AFTER_SWAP="1" declare -x SESSION_TARGET="default.target" declare -x SHELL="/bin/bash" declare -x SHLVL="4" declare -x TERM="xterm" declare -x USER="root" declare -x WAYLAND_DISPLAY="../../display/wayland-0" declare -x XDG_RUNTIME_DIR="/run/user/100000" /usr/share/easychroot/scripts/start_xwayland_user_shell.sh: line 13: cannot redirect standard input from /dev/null: No such file or directory No backend specified through command line argument, trying auto resolution unable to open lockfile /run/user/100000/wayland-0.lock check permissions FATAL ERROR: could not create Wayland server xhost: unable to open display ":0" dbus-launch: fatal error setting up standard fds: Failed to open /dev/null: No such file or directory declare -x DISPLAY=":0" declare -x HOME="/home/nemo" declare -x HOSTNAME="" declare -x LANG="fr_FR.utf8" declare -x LOGNAME="nemo" declare -x LS_COLORS="no=00:fi=00:di=00;34:ln=00;36:pi=40;33:so=00;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;3 7;41:ex=00;32:*.cmd=00;32:*.exe=00;32:*.com=00;32:*.btm=00;32:*.bat=00;32:*.sh=00;32:*.csh=00;32:*.tar=00;31:*.tgz=00;3 1:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.zip=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.bz=00;31:*.tz=00;31:*.rp m=00;31:*.cpio=00;31:*.jpg=00;35:*.gif=00;35:*.bmp=00;35:*.xbm=00;35:*.xpm=00;35:*.png=00;35:*.tif=00;35:" declare -x MAIL="/var/mail/nemo" declare -x OLDPWD declare -x PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/home/nemo/bin" declare -x PWD="/" declare -x SHELL="/bin/bash" declare -x SHLVL="1" "eclare -x SUDO_COMMAND="/usr/sbin/bash /usr/share/easychroot/scripts/start_de.sh startxfce4 declare -x SUDO_GID="0" declare -x SUDO_UID="0" declare -x SUDO_USER="root" declare -x TERM="xterm" declare -x USER="nemo" declare -x USERNAME="nemo" declare -x XDG_RUNTIME_DIR="/run/user/100000" /usr/share/easychroot/scripts/start_de.sh: line 8: cannot redirect standard input from /dev/null: No such file or direc tory /usr/share/easychroot/scripts/start_de.sh: line 8: $'startxfce4\r': command not found : command not found 24: : command not found 25: [root@Sailfish nemo]
The Following User Says Thank You to n950 For This Useful Post: | ||
|
2017-10-23
, 14:51
|
Posts: 1,196 |
Thanked: 1,413 times |
Joined on Aug 2011
|
#214
|
[root@Sailfish nemo]# cd Arch [root@Sailfish Arch]# ls ArchChroot.sh bin DeskChroot.sh etc lib mnt proc run srv tmp var ArchLinuxChrootFS-armv7.tar.gz boot dev home ManChroot.sh opt root sbin sys usr [root@Sailfish Arch]#
Sailfish ~]$ devel-su Password: [root@Sailfish nemo]# sh ArchChroot.sh : command not found 2: does not existint /home/nemo/Arch/dev does not existint /home/nemo/Arch/dev/pts does not existint /home/nemo/Arch/proc does not existint /home/nemo/Arch/run does not existint /home/nemo/Arch/sys does not existint /home/nemo/Arch/var/lib/dbus does not existint /home/nemo/Arch/tmp does not existint /home/nemo/shm does not existint /home/nemo/Arch/home/nemo/.config/pulse does not existint /home/nemo/Arch/home/nemo/real_home does not existint /home/nemo/Arch/home/nemo/Downloads does not existint /home/nemo/Arch/home/nemo/android_storage does not existint /home/nemo/Arch/home/nemo/Music does not existint /home/nemo/Arch/home/nemo/Videos does not existint /home/nemo/Arch/home/nemo/Pictures does not existint /home/nemo/Arch/home/nemo/Documents : command not found 20: chroot: cannot run command «*/bin/bash\r*»: Aucun fichier ou dossier de ce type : command not found 22: : command not found 23: [root@Sailfish nemo]#
The Following User Says Thank You to n950 For This Useful Post: | ||
|
2017-11-20
, 19:20
|
Posts: 163 |
Thanked: 279 times |
Joined on Feb 2017
@ Tbilisi, Georgia (caucasus)
|
#215
|
|
2017-11-20
, 19:36
|
Posts: 163 |
Thanked: 279 times |
Joined on Feb 2017
@ Tbilisi, Georgia (caucasus)
|
#216
|
I tried again to get Maemo UI running in ArchLinux chroot (built from https://github.com/fremantle-gtk2) with XWayland. It's still too hacky, but UI itself is pretty smooth. What I tried is modifying Cogl Xlib winsys to connect both to X server and Wayland, but initializing EGL with Wayland instead, so libhybris Wayland platform can be used.
http://i.imgur.com/JyloVey.jpg
Some LXDE apps look surprisingly nice with Sapwood theme engine, by the way. I wonder if anyone would be interested to get this working with chenliangchen's keyboard device.
|
2017-11-20
, 20:20
|
Posts: 163 |
Thanked: 279 times |
Joined on Feb 2017
@ Tbilisi, Georgia (caucasus)
|
#217
|
I have updated scripts for create/use ubuntu. There are also basic configurations for kwin, weston and qxcompositor.
Use it with caution!
https://github.com/elros34/sailfish_ubu_chroot
Would be nice to have touch friendly configurations for lxde, xfce or other desktop environments.
Thanks go to preflex and TheKit.
|
2017-11-20
, 20:34
|
Posts: 578 |
Thanked: 994 times |
Joined on Dec 2012
|
#218
|
|
2017-11-20
, 21:34
|
Posts: 163 |
Thanked: 279 times |
Joined on Feb 2017
@ Tbilisi, Georgia (caucasus)
|
#219
|
You must be more verbose. Does ubu_create.sh finished without errors? Try ubu_close.sh and then ubu_chroot.sh once again. You can also uncomment set -x from ubu_* scripts and in image /usr/share/ubu_chroot/
For gui try ubu_install.sh (qxcompositor, lxde) and read instruction about qxcompositor on openrepos.
BTW slimport support is not in master branch and is untouched since eons.
rm /run/user/100000/wayland-0.lock chmod 1777 /dev/shm export XDG_RUNTIME_DIR=/run/user/100000 export $(dbus-lsunch) QT_WAYLAND_FORCE_DPI="160" kwin_wayland --xwayland --height "$Height" --width "$Width" & ##listen for $DISPLAY and pass it sleep 10 export DISPLAY=:0 xhost + sudo -u nemo bash /usr/share/easychroot/scripts/start_de.sh "$Start_DE"
Start_DE="$1" export XDG_RUNTIME_DIR=/run/user/100000 export $(dbus-launch) export DISPLAY=:0 $Start_DE & sleep 10
|
2017-11-20
, 21:52
|
Posts: 578 |
Thanked: 994 times |
Joined on Dec 2012
|
#220
|
i can't install anything
The Following 5 Users Say Thank You to elros34 For This Useful Post: | ||
df -h /media/sdcard/
df -h /media/sdcard/52e641ba-23bf-430c-846a-f69a7624d46a