Posts: 578 | Thanked: 994 times | Joined on Dec 2012
#211
Originally Posted by n950 View Post
I would like to install it on my micro sd card on my Jolla 1.

I have copy the gz file to media/sdcard/

tar -xzvf ArchLinuxChrootFS-armv7.tar.gz
(inside sdcard dir)

Do i need to exctract files on /media/sdcard/ dir or
/media/sdcard/52e641ba-23bf-430c-846a-f69a7624d46a dir?
I'm pretty sure /media/sdcard/ is your rootfs and /media/sdcard/52e641ba-23bf-430c-846a-f69a7624d46a is your sd card. You can confirm it using:
df -h /media/sdcard/
df -h /media/sdcard/52e641ba-23bf-430c-846a-f69a7624d46a

Originally Posted by n950 View Post
Now the dir is about 8 GB why?

how to reduced it? Cause my storage now is full.
I know nothing about arch but maybe clean some package manager cache.
Originally Posted by n950 View Post
Since i have Manjaro installed i can't enter in mass storage mode when i plug usb on my pc why? hiw to resolve that? i can only with developer mode.
You can't use sdcard and mass storage simultanuesly. First you must unmount Manjaro or reboot phone. Better use mtp or sftp (filezilla).
 

The Following 3 Users Say Thank You to elros34 For This Useful Post:
Posts: 1,196 | Thanked: 1,413 times | Joined on Aug 2011
#212
Hi,

is it possible to run Archlinux on Xperia X with SFOS 2.1.3.5?

https://github.com/Preflex/easy-chro...ases/tag/0.0.2

Anybody try?
 

The Following User Says Thank You to n950 For This Useful Post:
Posts: 1,196 | Thanked: 1,413 times | Joined on Aug 2011
#213
I put extract files tar.gz archlinux in
/home/nemo/Arch/

Here is my error:

Code:
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]
How to resolve this problem?
 

The Following User Says Thank You to n950 For This Useful Post:
Posts: 1,196 | Thanked: 1,413 times | Joined on Aug 2011
#214
Code:
[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]#
Code:
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]#
This sh file doesn't work
 

The Following User Says Thank You to n950 For This Useful Post:
Posts: 163 | Thanked: 279 times | Joined on Feb 2017 @ Tbilisi, Georgia (caucasus)
#215
Originally Posted by preflex View Post
Sneak preview screenshot of manager app:
How is that project now? Is the app finished?
 

The Following 3 Users Say Thank You to matemana For This Useful Post:
Posts: 163 | Thanked: 279 times | Joined on Feb 2017 @ Tbilisi, Georgia (caucasus)
#216
Originally Posted by TheKit View Post
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.
How did you rotate screen?

I installed arch chroot againg and i am going to buy slimport cable i want to attach this to a monitor to have some PC like experience on my Nexus 5
 

The Following 2 Users Say Thank You to matemana For This Useful Post:
Posts: 163 | Thanked: 279 times | Joined on Feb 2017 @ Tbilisi, Georgia (caucasus)
#217
Originally Posted by elros34 View Post
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.
I run ubu_chroot.sh but it says this

/.ubuntu already mounted
chrooting

Failed to open /sfos/usr/libexec/droid-hybris/system/: No such file or directory. Aborting!

groups: cannot find name for group ID 990
groups: cannot find name for group ID 992
groups: cannot find name for group ID 994
groups: cannot find name for group ID 997
groups: cannot find name for group ID 1000
groups: cannot find name for group ID 1002
groups: cannot find name for group ID 1003
groups: cannot find name for group ID 1005
groups: cannot find name for group ID 1006
groups: cannot find name for group ID 1013
groups: cannot find name for group ID 1023
groups: cannot find name for group ID 1024


Oh it chrooted but in console mode. How can i start GUI in landscape mode?
I want landscape mode for arch linux but i wanted to try if it works so i chose qxcompositor.
I also have installed this package on my sfos device https://openrepos.net/content/elros34/qxcompositor
 

The Following 2 Users Say Thank You to matemana For This Useful Post:
Posts: 578 | Thanked: 994 times | Joined on Dec 2012
#218
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.
 

The Following 4 Users Say Thank You to elros34 For This Useful Post:
Posts: 163 | Thanked: 279 times | Joined on Feb 2017 @ Tbilisi, Georgia (caucasus)
#219
Originally Posted by elros34 View Post
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.
I can't edit those files in /usr/share/ubu_chroot/ Ubuntu does not have vi, vim, nano, nothing! and i can't install anything. I removed whole sailfish_ubu_chroot folder and git cloned and ran ubu_create but it did not take that much time as in first run. How to remove completely everything?

I read instruction but do not understand. I have arch linux chroot working with GUI is it easy to modify for landscape mode?


First it runs this
chroot /opt/easychroot/Arch bash /usr/share/easychroot/scripts/start_xwayland_user_shell.sh $y $x $1


Code:
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"
and here is start_de.sh

Code:
Start_DE="$1"

export XDG_RUNTIME_DIR=/run/user/100000
export $(dbus-launch)
export DISPLAY=:0
$Start_DE &
sleep 10
 

The Following 2 Users Say Thank You to matemana For This Useful Post:
Posts: 578 | Thanked: 994 times | Joined on Dec 2012
#220
As mentioned earlier for arch you would need to build xwayland with wl_seat.patch otherwise touch will not work.
I can't help if you don't provide me logs from your ubuntu installation (set -x or manual installation).
Code:
i can't install anything
is not useful at all. Removing sailfish_ubu_chroot is enough to clear everything provided you unmount image without errors.

For landscape mode:
host:
qxcompositor --wayland-socket-name ../../display/wayland-1
chroot:
WAYLAND_DISPLAY=../../run/display/wayland-1 # for arch it can be different path
Xwayland &

Join to #sailfishos, it will be faster.

Last edited by elros34; 2017-11-20 at 22:22.
 

The Following 5 Users Say Thank You to elros34 For This Useful Post:
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 12:37.