Active Topics

 


Reply
Thread Tools
Posts: 163 | Thanked: 279 times | Joined on Feb 2017 @ Tbilisi, Georgia (caucasus)
#171
Originally Posted by mscion View Post
Oops! You are right. I had cut and pasted the wrong part of the error message when writing the post. The path begins with /usr/share... Regardless, the warning was due to the file name. I'll edit my post. Thanks!
I searched that file on places error gave me but did not find, i found that file on github i even wanted to create it but i did not. It was working and i left it.

preflex

i used xfce on my nexus and that setting in fonts does not change anything. now i tried this on my nexus 4 and everything is so much better.

1 everything is much bigger and easy to use.
2 terminal in arc linux works

Nexus 4 is amazing device for SFOS and this too. Aliendalvik works on it without issues, google play, video playback, camera everything works. I even think to have nexus 4 as my daily driver not nexus 5 haha
 

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)
#172
Originally Posted by preflex View Post
It's not emulated. It's just a chroot. The kernel (and some other resources, hence the bind mounts) are shared.

See: https://en.wikipedia.org/wiki/Chroot
You can use this script, it needs only one argument and it's either 'terminal' or 'startlxde'

You do not need two separate scripts.

HTML Code:
#!/bin/bash

if [[ "$1" != "terminal" ]] && [[ "$1" != "startlxde" ]]; then
	echo "No known args, please pass correct argument."
	echo "for terminal only 'terminal'"
	echo "for GUI 'startlxde'"
	exit
fi

mount --bind /dev /opt/easychroot/Arch/dev
mount --bind /dev/pts /opt/easychroot/Arch/dev/pts
mount --bind /proc /opt/easychroot/Arch/proc
mount --bind /run /opt/easychroot/Arch/run
mount --bind /sys /opt/easychroot/Arch/sys
mount --bind /var/lib/dbus /opt/easychroot/Arch/var/lib/dbus
mount --bind /var/run/dbus /opt/easychroot/Arch/var/run/dbus
mount --bind /tmp /opt/easychroot/Arch/tmp
mount --bind /dev/shm /opt/easychroot/Arch/dev/shm
#mount --bind /etc/ssl/certs /opt/easychroot/Arch/etc/ssl/certs
mount --bind /home/nemo/.config/pulse /opt/easychroot/Arch/home/nemo/.config/pulse
mount --bind /home/nemo /opt/easychroot/Arch/home/nemo/real_home
mount --bind /home/nemo/Downloads /opt/easychroot/Arch/home/nemo/Downloads
mount --bind /home/nemo/android_storage /opt/easychroot/Arch/home/nemo/android_storage
mount --bind /home/nemo/Music /opt/easychroot/Arch/home/nemo/Music
mount --bind /home/nemo/Videos /opt/easychroot/Arch/home/nemo/Videos
mount --bind /home/nemo/Pictures /opt/easychroot/Arch/home/nemo/Pictures
mount --bind /home/nemo/Documents /opt/easychroot/Arch/home/nemo/Documents

if [ $1 == 'terminal' ]; then
	chroot /opt/easychroot/Arch /bin/bash
fi

if [ $1 == 'startlxde' ]; then
	chmod 1777 /dev/shm
	resolution=`cat /sys/class/graphics/fb0/modes | grep -o -P '(?<=U:).*(?=p)'`
	x=${resolution%%x*}
	y=${resolution##*x}
	echo "selected screen resolution"
	echo $y $x
	sleep 3
	chroot /opt/easychroot/Arch bash /usr/share/easychroot/scripts/start_xwayland_user_shell.sh $y $x $1
fi
 

The Following 5 Users Say Thank You to matemana For This Useful Post:
preflex's Avatar
Posts: 172 | Thanked: 628 times | Joined on Apr 2010 @ Albuquerque, NM, USA
#173
DPI FIX!

QT_WAYLAND_FORCE_DPI="160" kwin_wayland --xwayland ...

This will make your title bars nice and big. Use whatever value you'd prefer
If you use xfce4, you should also set it in settings->appearance->fonts.


Also, my manager app is coming along well, and should see an alpha release shortly.
__________________
Leap before you look.
 

The Following 15 Users Say Thank You to preflex For This Useful Post:
preflex's Avatar
Posts: 172 | Thanked: 628 times | Joined on Apr 2010 @ Albuquerque, NM, USA
#174
Bonus round:

I messed around with Ubuntu Zesty Beta 2 rootfs from http://cdimage.ubuntu.com/ubuntu-bas.../zesty/beta-2/
It works ... mostly.

Unlike Archlinux, chromium does not work.
However, also unlike Archlinux, firefox does work!
__________________
Leap before you look.
 

The Following 9 Users Say Thank You to preflex For This Useful Post:
preflex's Avatar
Posts: 172 | Thanked: 628 times | Joined on Apr 2010 @ Albuquerque, NM, USA
#175
Sneak preview screenshot of manager app:
Attached Images
 
__________________
Leap before you look.
 

The Following 23 Users Say Thank You to preflex For This Useful Post:
preflex's Avatar
Posts: 172 | Thanked: 628 times | Joined on Apr 2010 @ Albuquerque, NM, USA
#176
To set XFCE dpi from command line:

xfconf-query -c xsettings -p /Xft/DPI -s 160
__________________
Leap before you look.
 

The Following 5 Users Say Thank You to preflex For This Useful Post:
Posts: 578 | Thanked: 994 times | Joined on Dec 2012
#177
I have compiled glibc 2.23 using crosstool-ng for those who have 3.0 kernel. In ubuntu 17.04 there is 2.24 version but it requires 3.2 kernel, however 2.23 works.

Also, I had to forget something because you need to create few symlinks from /lib/arm-linux-gnueabihf/*so* to /lib/.

Last edited by elros34; 2017-04-04 at 13:14.
 

The Following 5 Users Say Thank You to elros34 For This Useful Post:
Posts: 63 | Thanked: 106 times | Joined on Mar 2017
#178
Originally Posted by elros34 View Post
I have compiled glibc 2.23 using crosstool-ng for those who have 3.0 kernel. In ubuntu 17.04 there is 2.24 version but it requires 3.2 kernel, however 2.23 works.

Also, I had to forget something because you need to create few symlinks from /lib/arm-linux-gnueabihf/*so* to /lib/.
Excellent, thanks. If you get time, could we have a quick Ubuntu setup guide, or would I be better waiting for preflex's installer?
 

The Following User Says Thank You to moodroid For This Useful Post:
Posts: 578 | Thanked: 994 times | Joined on Dec 2012
#179
Basically steps are the same like on arch. You have to unpack ubuntu rootfs to directory and install bunch of packages.
The best would be to work together (in github or here) to create well working build and chroot scripts.

I have attached my scripts but they need improving before execute.
Attached Files
File Type: txt prepare_chroot.sh.txt (987 Bytes, 103 views)
File Type: txt ubu_chroot.sh.txt (814 Bytes, 85 views)

Last edited by elros34; 2017-04-05 at 10:12.
 

The Following 7 Users Say Thank You to elros34 For This Useful Post:
preflex's Avatar
Posts: 172 | Thanked: 628 times | Joined on Apr 2010 @ Albuquerque, NM, USA
#180
Originally Posted by elros34 View Post
I have compiled glibc 2.23 using crosstool-ng for those who have 3.0 kernel. In ubuntu 17.04 there is 2.24 version but it requires 3.2 kernel, however 2.23 works.Also, I had to forget something because you need to create few symlinks from /lib/arm-linux-gnueabihf/*so* to /lib/.
For which devices is this an issue?
__________________
Leap before you look.
 

The Following 3 Users Say Thank You to preflex For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 22:48.