Tiny Core Linux
Tiny Core Extensions => TCE Tips & Tricks => Topic started by: aus9 on August 04, 2018, 09:14:53 PM
-
Hi
For those who like to have a look at Weston here is a possible easier way to load and start it.
I have a file in .local/bin called wl which I made executable with contents
#!/bin/sh
tce-load -i weston
XDG_RUNTIME_DIR=/run/user/1001 weston-launch
optional .....add xwayland after weston if you intent to play with things that wayland does not support natively
such as gtk2
so I exit to prompt and run
wl
standing for weston load and run
saves using the up arrow key to scroll thru my history of commands
PS I boot up with local user tc.
2) To exit, to the prompt I use keys
Ctrl (and) Alt (and) <- keys
<- means the backspace key
some sites show above as
C + A + backspace
-
Hello, could you rephrase the step-by-step on how to get to the desktop using wayland? I followed your tutorial but ended up getting generic errors.
I'm very curious to test wayland on tinycore but I don't know where to start.
-
well there are 2 desktops to try weson = regarded as a demo and sway which is a tiling desktop for wayland.
I declare that I am still a xwayland fan on both weston and sway. I know others are looking for a non-libX11/Xorg experience
each person has to choose
thats 2018 post and may needed updating.
step 1 please download and install weston.ini
If you succeed with later steps -- you get a better tray and stuff.
step 2 edit your current ~.local/bin/wl so it reads
#!/bin/sh
tce-load -i weston xwayland
# set env
########################
read USER < /etc/sysconfig/tcuser
if [ ! -d /run/user/$(id -u "$USER") ]; then
mkdir -p /run/user/$(id -u "$USER")
chown "$USER":staff /run/user/$(id -u "$USER")
chmod 700 /run/user/$(id -u "$USER")
fi
export XDG_RUNTIME_DIR=/run/user/$(id -u)
weston-launch
step 3 exit to prompt and run wl
optional....then edit the ini file to create more launchers or just run terminal commands
mine changed as I need a context menu as I have a kensington mouse that does not like copy and paste
so my changed to
[core]
xwayland=true
[xwayland]
path=/usr/local/bin/Xwayland
[keyboard]
keymap_layout=us
[shell]
num-workspaces=5
background-image=/home/tc/2wallpaper/3d.jpeg
[launcher]
icon=/usr/local/share/icons/Adwaita/48x48/apps/utilities-terminal.png
path=/usr/local/bin/lxterminal
[launcher]
icon=/usr/local/share/pixmaps/exittc.png
path=/usr/local/bin/exittc
[launcher]
icon=/usr/local/share/pixmaps/leafpad.png
path=/usr/local/bin/leafpad
[terminal]
font=DejaVuSansMono
font-size=20
after you played with weston....then try out the big boy = sway ;)
-
Hi I forgot to mention that AFAIK you can not update weston with a newer ini file
so if you choose to edit this file to test it...exit to prompt and then relaunch weston
That is opposite to sway, where you must edit within sway your config file and reload it in sway to test there are no gremlins.
-
Hi I forgot to mention that AFAIK you can not update weston with a newer ini file
so if you choose to edit this file to test it...exit to prompt and then relaunch weston
That is opposite to sway, where you must edit within sway your config file and reload it in sway to test there are no gremlins.
Thanks, but I'm still unable to reproduce. The screen goes dark with nothing.
The log doesn't help either.
-
thanks for the log. How do a get log?
confession I spent little time in weston I used it to setup sway.
if sway borks it gives info at the console, and some more if sway starts when you exit sway
2) you appear to have a nvidia card and this line looks interesting
1440x900@59.9, preferred, current, 106.5 MHz
I suggest you add the following to your weston.ini
[output]
HMDI-A-1
mode=1280x1024
3) on the off chance my XDG stuff does not work for a non-tc non-root user....I booted into gor
loaded weston.ini and copied over my wl and I got in first time.
I am suggesting we try a more basic size
-
in post 2, assuming you have adwaita-icon-theme loaded that pathway 2 file no longer exists
new file is utilities-terminal-symbolic.symbolic.png