Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    XWayland Victory!

    Reply
    Page 18 of 31 | Prev | 8   16     17   18   19     20   28 | Next | Last
    matemana | # 171 | 2017-03-10, 05:36 | Report

    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

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 3 Users Say Thank You to matemana For This Useful Post:
    Feathers McGraw, juiceme, preflex

     
    matemana | # 172 | 2017-03-10, 21:12 | Report

    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

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 5 Users Say Thank You to matemana For This Useful Post:
    Feathers McGraw, juiceme, lal, mscion, preflex

     
    preflex | # 173 | 2017-03-25, 04:00 | Report

    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.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 15 Users Say Thank You to preflex For This Useful Post:
    bomo, eekkelund, Feathers McGraw, HtheB, Jordi, juiceme, lal, MartinK, matemana, mautz, mscion, sLumPia, ThomasAH, velox, wdehoog

     
    preflex | # 174 | 2017-03-25, 08:25 | Report

    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!

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 9 Users Say Thank You to preflex For This Useful Post:
    Amboss, bomo, eekkelund, Feathers McGraw, hhbbap, juiceme, matemana, mscion, velox

     
    preflex | # 175 | 2017-03-25, 08:58 | Report

    Sneak preview screenshot of manager app:

    Edit | Forward | Quote | Quick Reply | Thanks
    Attached Images
     
    The Following 23 Users Say Thank You to preflex For This Useful Post:
    abyzthomas, Amboss, bomo, eekkelund, Feathers McGraw, hardy_magnus, jellyroll, juiceme, Kabouik, Koiruus, lal, mariusmssj, MartinK, matemana, mautz, mrsellout, mscion, rinigus, sLumPia, stefanmohl, ThomasAH, velox, wdehoog

     
    preflex | # 176 | 2017-03-25, 22:26 | Report

    To set XFCE dpi from command line:

    xfconf-query -c xsettings -p /Xft/DPI -s 160

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 5 Users Say Thank You to preflex For This Useful Post:
    Amboss, Feathers McGraw, juiceme, matemana, mscion

     
    elros34 | # 177 | 2017-04-04, 11:05 | Report

    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/.

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by elros34; 2017-04-04 at 13:14.
    The Following 5 Users Say Thank You to elros34 For This Useful Post:
    Amboss, Feathers McGraw, juiceme, moodroid, mscion

     
    moodroid | # 178 | 2017-04-04, 15:56 | Report

    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?

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to moodroid For This Useful Post:
    juiceme

     
    elros34 | # 179 | 2017-04-04, 16:54 | Report

    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.

    Edit | Forward | Quote | Quick Reply | Thanks
    Attached Files
    File Type: txt prepare_chroot.sh.txt (987 Bytes, 99 views)
    File Type: txt ubu_chroot.sh.txt (814 Bytes, 81 views)

    Last edited by elros34; 2017-04-05 at 10:12.
    The Following 7 Users Say Thank You to elros34 For This Useful Post:
    Amboss, Feathers McGraw, juiceme, lal, moodroid, mscion, velox

     
    preflex | # 180 | 2017-04-05, 04:42 | Report

    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?

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 3 Users Say Thank You to preflex For This Useful Post:
    Amboss, Feathers McGraw, juiceme

     
    Page 18 of 31 | Prev | 8   16     17   18   19     20   28 | Next | Last
vBulletin® Version 3.8.8
Normal Logout