LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-01-2022, 09:51 PM   #46
0XBF
Member
 
Registered: Nov 2018
Distribution: Slackware
Posts: 770

Original Poster
Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872

Quote:
Originally Posted by LuckyCyborg View Post
WHAT? Where's the Gnome Media Player? And Gnome4 have a nice one!

@0XBF, you don't watch videos?

Monsieur, a Media Player is a fundamental application!

You know well, the people buys computers for music, videos and Facebook. And torrents - note that I do not talk about the Slackware ISOs here.
When I started building out GNOME I followed the BLFS GNOME chapter and used their package list, which is a little trimmed down still and doesnt include the video player (totem). BLFS helped limit the package count for what I needed to submit and maintain on SBo, and it provides a decent GNOME desktop. I have also been using alienBOB's restricted vlc package for years so I didnt have a need to build another video player.

I was hoping that posting about this "GNOME on SBo" project here in the forums that it would drum up interest and maybe attract some other people to add gnome builds they like to use to SBo...

Quote:
Originally Posted by LuckyCyborg View Post
I used the gnome-all queue and it did the job. Of course, I added manually all changes reccomented by @0XBF for users and rc scripts. So, now posting from Wayland/Gnome4 which is the default session, as I expected.
This version of GNOME comes with a udev rule to disable wayland for certain versions of the nvidia driver, but otherwise it indeed uses wayland by default. On my laptop it runs on Wayland, on my desktop it detects my nvidia and only Xorg is available. YMMV

Quote:
Originally Posted by LuckyCyborg View Post
However, two issues to report:

1. the gnome-terminal (Terminal) acts crazy (illegible console) unless you chose a custom color scheme for it.
I haven't seen gnome-terminal do that, but I've only tested gnome on three machines so far. Is there something you can do to reproduce it? I could try troubleshooting if I could get it to do the same. Also might be worth comparing gnome-terminal in X11 versus Wayland. There can be some differences with Wayland operation due to profile scripts not being sourced. If it works in X11 but not Wayland then thats where I would start looking.

Quote:
Originally Posted by LuckyCyborg View Post
2. I'm pretty sure that Gnome4 is fully capable to restore the previous open applications on sessions - both in Wayland and X11, both in Ubuntu and OpenSUSE. This Gnome build did NOT.

True, there's a little config change to activate the restoring the applications on sessions, and there's a guide:

https://vitux.com/how-to-automatical...ion-in-debian/
I primarily used BLFS as a guide, along with referencing Artix for the patches. I didnt see anything in building gnome-session about restoring previous sessions. I wonder if this is something that ubuntu patches in? I tried to build everything as vanilla as upstream provides it, minus a couple patches to get GNOME to work with elogind. Thanks for posting the instructions. If that works then it gives users the option to set up restoring previous sessions.
 
Old 08-01-2022, 09:53 PM   #47
0XBF
Member
 
Registered: Nov 2018
Distribution: Slackware
Posts: 770

Original Poster
Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
Quote:
Originally Posted by ZhaoLin1457 View Post
I have increased the zram device to 3GB and I use the cleanup option for sbopkg. Until now, the build goes fine. My Atom x4 behaves surprising decently at full load, and I'm able to do a small browsing while this build runs.
Thanks for the report. I'd be curious to know the full build time on a machine like that.
 
Old 08-03-2022, 03:57 PM   #48
0XBF
Member
 
Registered: Nov 2018
Distribution: Slackware
Posts: 770

Original Poster
Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
@LuckyCyborg
I'm testing out a patched version of gnome-session that adds sourcing of all the profile scripts for a gnome wayland session. I basically copied what sddm does and applied to gnome-session. With this version of gnome-session, the /etc/profile, /etc/profile.d and $HOME/.{bash_profile,profile} scripts are properly sourced.

The default from before was for gnome on wayland to depend on a systemd daemon to provide it this environment info, which causes issues with gnome-terminal and a number of other things that depend on environment variables. Now that issue is removed.

If you want to test out this patched gnome-session, you can get a copy and build it from my repo here: https://github.com/0xBOBF/gnome-slac.../gnome-session Just build and use upgradepkg to switch to this version.

Theres some other people testing this out at the moment but so far it fixes several issues in GNOME/wayland without systemd. I also plan on pushing the changes to SBo but for now here it is.
 
Old 08-03-2022, 04:26 PM   #49
LuckyCyborg
Senior Member
 
Registered: Mar 2010
Posts: 3,531

Rep: Reputation: 3369Reputation: 3369Reputation: 3369Reputation: 3369Reputation: 3369Reputation: 3369Reputation: 3369Reputation: 3369Reputation: 3369Reputation: 3369Reputation: 3369
Quote:
Originally Posted by 0XBF View Post
@LuckyCyborg
I'm testing out a patched version of gnome-session that adds sourcing of all the profile scripts for a gnome wayland session. I basically copied what sddm does and applied to gnome-session. With this version of gnome-session, the /etc/profile, /etc/profile.d and $HOME/.{bash_profile,profile} scripts are properly sourced.

The default from before was for gnome on wayland to depend on a systemd daemon to provide it this environment info, which causes issues with gnome-terminal and a number of other things that depend on environment variables. Now that issue is removed.

If you want to test out this patched gnome-session, you can get a copy and build it from my repo here: https://github.com/0xBOBF/gnome-slac.../gnome-session Just build and use upgradepkg to switch to this version.

Theres some other people testing this out at the moment but so far it fixes several issues in GNOME/wayland without systemd. I also plan on pushing the changes to SBo but for now here it is.
OK, I will do.

BTW, how can be build (and upgraded) only the updated packages with a sbopkg queue? It's even possible?

I confess that I did not used too much SBo and sbopkg.

Last edited by LuckyCyborg; 08-03-2022 at 04:34 PM.
 
Old 08-03-2022, 04:44 PM   #50
0XBF
Member
 
Registered: Nov 2018
Distribution: Slackware
Posts: 770

Original Poster
Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
I'm not sure about updating packages with sbopkg. I use a few subsets of sbopkg's functionality but I'm not an expert at it.

If you want steps to build and test the gnome-session package I am talking about, this should work for you:

1. In a temporary working directory clone the testing branch of my repo:
Code:
git clone --branch testing https://github.com/0xBOBF/gnome-slackware-15.0.git
2. Navigate to the gnome-session directory and run the slackbuild as root. The following should do:
Code:
cd gnome-slackware-15.0/slackbuilds/gnome-session/
source gnome-session.info 
wget $DOWNLOAD
su <to root priv for building and installing>
sh gnome-session.SlackBuild 
upgradepkg --reinstall --install-new /tmp/gnome-session-42.0-x86_64-1_SBo.tgz
Then logout and login again. You can remove the cloned repo after.
 
Old 08-03-2022, 04:55 PM   #51
LuckyCyborg
Senior Member
 
Registered: Mar 2010
Posts: 3,531

Rep: Reputation: 3369Reputation: 3369Reputation: 3369Reputation: 3369Reputation: 3369Reputation: 3369Reputation: 3369Reputation: 3369Reputation: 3369Reputation: 3369Reputation: 3369
Quote:
Originally Posted by 0XBF View Post
I'm not sure about updating packages with sbopkg. I use a few subsets of sbopkg's functionality but I'm not an expert at it.

If you want steps to build and test the gnome-session package I am talking about, this should work for you:

1. In a temporary working directory clone the testing branch of my repo:
Code:
git clone --branch testing https://github.com/0xBOBF/gnome-slackware-15.0.git
2. Navigate to the gnome-session directory and run the slackbuild as root. The following should do:
Code:
cd gnome-slackware-15.0/slackbuilds/gnome-session/
source gnome-session.info 
wget $DOWNLOAD
su <to root priv for building and installing>
sh gnome-session.SlackBuild 
upgradepkg --reinstall --install-new /tmp/gnome-session-42.0-x86_64-1_SBo.tgz
Then logout and login again. You can remove the cloned repo after.
Thanks, but I figured out already how to use manually your SlackBuild. My question was about sbopkg.
 
Old 08-03-2022, 05:00 PM   #52
0XBF
Member
 
Registered: Nov 2018
Distribution: Slackware
Posts: 770

Original Poster
Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
Well the changes here are just in this repo and not submitted yet, so they cant really be queued up using sbopkg yet (without hacking sbopkg's repos). Once the changed build is submitted to slackbuilds.org then you can just run 'sbopkg' in its dialog mode and check for package upgrades. gnome-session can be upgraded without affecting anything else from the previous build queue. All thats changed with this patch is the wrapper script that comes with gnome-session so that it sources profile scripts.
 
Old 08-03-2022, 05:03 PM   #53
LuckyCyborg
Senior Member
 
Registered: Mar 2010
Posts: 3,531

Rep: Reputation: 3369Reputation: 3369Reputation: 3369Reputation: 3369Reputation: 3369Reputation: 3369Reputation: 3369Reputation: 3369Reputation: 3369Reputation: 3369Reputation: 3369
Quote:
Originally Posted by 0XBF View Post
Well the changes here are just in this repo and not submitted yet, so they cant really be queued up using sbopkg yet (without hacking sbopkg's repos). Once the changed build is submitted to slackbuilds.org then you can just run 'sbopkg' in its dialog mode and check for package upgrades. gnome-session can be upgraded without affecting anything else from the previous build queue. All thats changed with this patch is the wrapper script that comes with gnome-session so that it sources profile scripts.
Thanks!

When I'll arrive home I will do this rebuild. Now I'm in the way to home.

Last edited by LuckyCyborg; 08-03-2022 at 05:08 PM.
 
1 members found this post helpful.
Old 08-03-2022, 05:07 PM   #54
0XBF
Member
 
Registered: Nov 2018
Distribution: Slackware
Posts: 770

Original Poster
Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
Quote:
Originally Posted by LuckyCyborg View Post
Thanks!

When I arrive home I will do this rebuild. Now I'm in the way to home.
It should take care of those gnome-terminal issues. Some other things that it fixes are firefox and gnome-terminal properly following the system light/dark theme that you can select with gnome-tweaks, as well as some other things like flatpaks appearing properly in the application menus.
 
Old 08-03-2022, 05:09 PM   #55
LuckyCyborg
Senior Member
 
Registered: Mar 2010
Posts: 3,531

Rep: Reputation: 3369Reputation: 3369Reputation: 3369Reputation: 3369Reputation: 3369Reputation: 3369Reputation: 3369Reputation: 3369Reputation: 3369Reputation: 3369Reputation: 3369
Quote:
Originally Posted by 0XBF View Post
It should take care of those gnome-terminal issues. Some other things that it fixes are firefox and gnome-terminal properly following the system light/dark theme that you can select with gnome-tweaks, as well as some other things like flatpaks appearing properly in the application menus.
Maybe this fixes the nutty terminal, too.

I will test with a brand new user account.
 
Old 08-03-2022, 06:26 PM   #56
LuckyCyborg
Senior Member
 
Registered: Mar 2010
Posts: 3,531

Rep: Reputation: 3369Reputation: 3369Reputation: 3369Reputation: 3369Reputation: 3369Reputation: 3369Reputation: 3369Reputation: 3369Reputation: 3369Reputation: 3369Reputation: 3369
Okay, I tested this, building and installing the patched gnome-session.

Honestly, I did not seen any difference and the gnome-terminal continues to have its issue and this both in Wayland and X11.

This happens when it's enabled "use colors from system theme" and it manifests as an illegible console with strange artifacts. Quite strange, I cannot make a screenshot - in screenshot everything is OK.

BTW, I've used since beginning that blocaled - I should do something regarding it?

PS. Also the session's restoring of open applications does not work, as previous. Both in Wayland and X11.

Let me explain what I mean: did you remember that in KDE4 or Plasma5, IF you leave an application (i.e. a Firefox window) open and you logout or shutdown/restart the computer, when you start the KDE desktop back, the application leaved open is reopened automatically?

Same is capable Gnome, with the note that Plasma5 still has issues under Wayland, BUT Gnome4 should work like a charm even under Wayland. This work under Ubuntu or OpenSUSE, if you activate that particular option (which I presented you) via DConf.

https://wiki.gnome.org/Projects/Sess...t/GnomeSession

Last edited by LuckyCyborg; 08-03-2022 at 06:47 PM.
 
Old 08-03-2022, 06:47 PM   #57
0XBF
Member
 
Registered: Nov 2018
Distribution: Slackware
Posts: 770

Original Poster
Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
Quote:
Originally Posted by LuckyCyborg View Post
Okay, I tested this, building and installing the patched gnome-session.

Honestly, I did not seen any difference and the gnome-terminal continues to have its issue and this both in Wayland and X11.

This happens when it's enabled "use colors from system theme" and it manifests as an illegible console with strange artifacts. Quite strange, I cannot make a screenshot - in screenshot everything is OK.

BTW, I've used since beginning that blocaled - I should do something regarding it?
Blocaled was my first attempt at solving this problem. It's something that the BLFS guys made to get gnome working in wayland and it expects systemd style config files like /etc/locale.conf. The problem is that these are not present in slackware so I also made a script to generate the expected configs. It's never been the proper solution in my opinion so I never submitted it to SBo.

The gnome-session solution I am working on is meant to replace blocaled and use the existing profile files from slackware instead. You should removepkg blocaled and remove the /etc/locale.conf file that the blocaled package created at install. After removing, reboot the system to make sure the blocaled system dbus service is no longer running.
 
Old 08-03-2022, 06:48 PM   #58
LuckyCyborg
Senior Member
 
Registered: Mar 2010
Posts: 3,531

Rep: Reputation: 3369Reputation: 3369Reputation: 3369Reputation: 3369Reputation: 3369Reputation: 3369Reputation: 3369Reputation: 3369Reputation: 3369Reputation: 3369Reputation: 3369
Quote:
Originally Posted by 0XBF View Post
The gnome-session solution I am working on is meant to replace blocaled and use the existing profile files from slackware instead. You should removepkg blocaled and remove the /etc/locale.conf file that the blocaled package created at install. After removing, reboot the system to make sure the blocaled system dbus service is no longer running.
OK, this way I will do.
 
Old 08-03-2022, 06:51 PM   #59
0XBF
Member
 
Registered: Nov 2018
Distribution: Slackware
Posts: 770

Original Poster
Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
Quote:
Originally Posted by LuckyCyborg View Post
PS. Also the session's restoring of open applications does not work, as previous. Both in Wayland and X11.

Let me explain what I mean: did you remember that in KDE4 or Plasma5, IF you leave an application (i.e. a Firefox window) open and you logout or shutdown/restart the computer, when you start the KDE desktop back, the application leaved open is reopened automatically?

Same is capable Gnome, with the note that Plasma5 still has issues under Wayland, BUT Gnome4 should work like a charm even under Wayland. This work under Ubuntu or OpenSUSE, if you activate that particular option (which I presented you) via DConf.

https://wiki.gnome.org/Projects/Sess...t/GnomeSession
I'm still looking for a solution to that restore session problem. This gnome-session patch is just to fix profile scripts. I'm not sure if this restore session is something that other distros configure as a custom tweak on their end but if I dig something up I'll let you know.
 
Old 08-03-2022, 07:02 PM   #60
LuckyCyborg
Senior Member
 
Registered: Mar 2010
Posts: 3,531

Rep: Reputation: 3369Reputation: 3369Reputation: 3369Reputation: 3369Reputation: 3369Reputation: 3369Reputation: 3369Reputation: 3369Reputation: 3369Reputation: 3369Reputation: 3369
Quote:
Originally Posted by 0XBF View Post
I'm still looking for a solution to that restore session problem. This gnome-session patch is just to fix profile scripts. I'm not sure if this restore session is something that other distros configure as a custom tweak on their end but if I dig something up I'll let you know.
In fact, it restores the session! With a delay of one minute or more.

After I removed blocaled & Co. while restarting the computer, I have started another box to deLILOficate it (I move everything to GRUB2 after last bootloader adventures) and this was a work around several minutes.

For my surprise, looking back, I found the Gnome4 test box with the session restored. After at least one minute. Should have done it immediately like Gnome4 do in Ubuntu.

BTW, the session restoring should be a stock/standard option, from my knowledge. The link given by me (and which describes how the Gnome4 sessions works) is right on to official Gnome documentation.

Last edited by LuckyCyborg; 08-03-2022 at 07:12 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
openbox on slack13.37 (x86) -- Thanks to linuxquestions.org, slackbuilds.org & many vectrum Linux - Member Desktop Screenshots 5 02-03-2013 12:22 PM
Slackware 12, Opera, slackbuilds.org TL_CLD Slackware 6 08-15-2007 03:44 AM
[slackbuilds.org] slackware repository idea arcanex Slackware 5 05-19-2007 09:19 PM
Use SlackBuilds.org or my own hosting to offer up SlackBuilds? hollywoodb Slackware 6 11-30-2006 08:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:32 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration