SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
The one who made those XDG desktop files is me, and I used --foreground considering that Plasma5 anyway executes those commands in background, so I thought that's not needed the daemon instances to sink in background two times.
Anyway, looks like that Gnome4 acts different, and waits for those services to be started, so I think that's better to leave the daemon instances to sink alone in background.
If you make request for those files, I think would be nice to add just in case also "X-KDE-autostart-after=" lines. The order you know already and I'm not sure if there's also a Gnome equivalent for those lines.
Last edited by LuckyCyborg; 08-05-2022 at 04:53 PM.
I've made some changes and additions to fix a couple issues with GNOME running on Slackware.
First, I fixed custom language and keymap support in GDM. This required adding a new package, 'blocaled', and patches to 'GDM' and 'gnome-session'. The blocaled daemon is used to provide GDM with custom keymap information. The patches to GDM and gnome-session allow GDM to support sourcing standard profile scripts for both X11 and Wayland sessions and allow GDM to have its language set from /etc/profile.d/lang.sh.
The profile script patch to GDM also means that starting a Plasma Wayland session from GDM will now work properly, where before only the X11 sessions worked. Something that I should warn though: Plasma sessions overwrite some of GNOME's GTK and dconf settings in ~/.config. Please use seperate accounts for GNOME and Plasma desktops if you are switching between them. The other desktops are no problem to switch between, only Plasma causes these issues.
Installing the Update:
The slackbuilds.org repo has been updated already, so to update these packages you will have to update sbopkg with 'sbopkg -r'. Then you can use 'sbopkg -i' to install 'blocaled' from the repo, along with re-installing 'gdm' and 'gnome-session' to get the updated builds. These packages can all be updated without having to rebuild anything else from the original build queues. Please reboot after the upgrade so that the blocaled daemon can be properly started.
Note that if you used the gnome-basic queue then you will also need to install blocaled's dependency, 'libdaemon', before installing blocaled (The gnome-all queue already has libdaemon included).
I also updated the queue files so anyone building the queue files from today forward will already include blocaled and deps.
Details on Customizing GDM Language and Keymap:
GDM is now patched to always follow /etc/profile.d/lang.sh, which is the standard place to set system wide language/locale. Just set the LANG variable there and GDM will follow.
To set a custom keymap in GDM you will need to create a custom keymap file in /etc/X11/xorg.conf.d/. By default I have this keymap file set to: /etc/X11/xorg.conf.d/91-keyboard-layout-libinput.conf, which is the same name as the example keymap provided with slackware at /usr/share/X11/xorg.conf.d/91-keyboard-layout-libinput.conf. You can copy the example conf file to /etc/X11/xorg.conf.d/ and edit it to add or change the keymaps loaded by GDM (and also the X11 server). The following example sets both 'us' and 'ru' keymaps, which will be selectable in GDM after a reboot.
Note: The name of the Xorg conf file to use for blocaled's keymap is set in /etc/blocaled.conf and can be edited there if needed.
Languange and keymap settings for individual users in GNOME sessions can be set from the gnome-control-center settings as normal. A newly created user will use the system-wide setting from /etc/profile.d/lang.sh.
Here is example steps for using 'sbopkg' to install the 'gnome-all' build. Note that this is done after setting up the above groups/users, and sbopkg is synced:
Thanks for all the effort put in documenting the steps needed to build Gnome on Slackware and for putting the queue files together!
I Haven't tested Gnome yet but I have just finished the building process. One thing I've noticed is that the queue files might need updating, as instead of lua 5.1 you need lua 5.3 now. This is a separate package on slackbuilds.org called lua53.
Thanks for the info. I haven't run the queue in a couple months so it probably needs some attention.
I'll do some testing on the weekend and try to sort out lua or any other issues while running it. I'll post any updates here on this thread when that's done.
Thanks for the info. I haven't run the queue in a couple months so it probably needs some attention.
I'll do some testing on the weekend and try to sort out lua or any other issues while running it. I'll post any updates here on this thread when that's done.
Bob- just for a point of reference-- in doing any of my builds for GNOME myself, I only include the lua53 package as well, it satisfies any of the needs GNOME has with lua (I think it's only a single package that requires it even) so it is safe to say it's a "tested" dependency.
Cheers,
mac-a-r0ni/jloc0 whatever I'm called today ;)
Thanks for the info folks. I've updated the queue files on github to use lua53 instead of the older "lua" build (5.1.5).
I also did a full test build of the gnome-all queue on a clean slackware64-15.0 system with the latest slackware patches and sbo updates and can confirm that everything builds as expected again.
Tried to compile but at some point stopped with this message
[code]Found CMake: /usr/bin/cmake (3.21.4)
Run-time dependency gtk+-quartz-3.0 found: NO (tried pkgconfig and cmake)
Run-time dependency gladeui-2.0 found: NO (tried pkgconfig and cmake)
../meson.build:93:2: ERROR: Dependency "gladeui-2.0" not found, tried pkgconfig and cmake
A full log can be found at /tmp/SBo/gtksourceview-4.8.1/build/meson-logs/meson-log.txt
gtksourceview4:
Would you like to continue processing the rest of the
queue or would you like to abort? If this failed
package is a dependency of another package in the queue
then it may not make sense to continue.
(Y)es to continue, (N)o to abort, (R)etry the build?:[code]
i searched for gladeui in slack-builds but not found
Tried to compile but at some point stopped with this message
[code]Found CMake: /usr/bin/cmake (3.21.4)
Run-time dependency gtk+-quartz-3.0 found: NO (tried pkgconfig and cmake)
Run-time dependency gladeui-2.0 found: NO (tried pkgconfig and cmake)
../meson.build:93:2: ERROR: Dependency "gladeui-2.0" not found, tried pkgconfig and cmake
It seems you are missing the package "glade-3.38.2-x86_64-5", which is strange because it comes with the distro (look for slackware64/l/glade-3.38.2-x86_64-5.txz).
Perhaps you dont have a complete slackware install?
Hi, congrats @0XBf, its nice to see other people are on that same wagon
I'm not sure who's out there trying these gnome builds but they've been working great for months now and I'm happy to share them.
BTW, I have a number of updates I've been testing lately to smooth out some of the remaining kinks with slackware+gnome, and updating all my gnome builds to be version 41 (or later). That'll be about as good as it gets for slackware-15.0 since later gnome software needs a number of updates to core packages in 15.0.
I'm hoping to clean up and submit the rest of my changes this weekend. If all goes well then hopefully I can post the details in a week or so.
The meson build for gtksourceview4 should be able to find that, since Slackware's profile scripts add the /usr/lib64/pkgconfig path to the pkgconfig search path for all users.
I'm not sure who's out there trying these gnome builds but they've been working great for months now and I'm happy to share them.
BTW, I have a number of updates I've been testing lately to smooth out some of the remaining kinks with slackware+gnome, and updating all my gnome builds to be version 41 (or later). That'll be about as good as it gets for slackware-15.0 since later gnome software needs a number of updates to core packages in 15.0.
I'm hoping to clean up and submit the rest of my changes this weekend. If all goes well then hopefully I can post the details in a week or so.
Cheers,
Bob
Thanks Bob,
I am happily using Slackware with Gnome on a Surface Go tablet - seems well suited for a touch screen. It is much better than Plasma for this purpose.
Looking forward to installing the updates! Keep up the good work!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.