LinuxQuestions.org
Review your favorite Linux distribution.
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 03-19-2018, 07:30 AM   #691
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,059

Rep: Reputation: Disabled

Quote:
Originally Posted by orbea View Post
Would you mind elaborating on what features are missing?
All features shipped in:
ccsm
compiz-bcop
compiz-plugins-main
compizconfig-python
libcompizconfig

plus extra plugins.

Attached is a pic of compiz running in MATE and the CCSM

As an aside in Mate mate-tweaks allows to easy switch the window manager, here choosing between marco, metacity and compiz, the formers with or whithout compositor.
Attached Thumbnails
Click image for larger version

Name:	compiz.jpg
Views:	63
Size:	248.7 KB
ID:	27219  
 
Old 03-19-2018, 07:57 AM   #692
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,059

Rep: Reputation: Disabled
Quote:
Originally Posted by atelszewski View Post
The hardest part:
Quote:
The lifetime of the directory MUST be bound to the user being logged in. It MUST be created when the user first logs in and if the user fully logs out the directory MUST be removed. If the user logs in more than once he should get pointed to the same directory, and it is mandatory that the directory continues to exist from his first login to his last logout on the system, and not removed in between. Files in the directory MUST not survive reboot or a full logout/login cycle.
I just checked, both without and with a display manager (in runlevels 3 and 4, in Slackware parlance).
  • After a reboot there is no directory /dev/shm/didier.
  • It is created as soon as I log in as didier.
  • Its content is preserved after I log out.
  • Its content is preserved after a new log in.
It seems me that it is exactly the specified behavior.

Of course if you never reboot you'll have to clean the house yourself but this is a desktop specification, not a server one.
 
Old 03-19-2018, 08:13 AM   #693
orbea
Senior Member
 
Registered: Feb 2015
Distribution: Slackware64-current
Posts: 1,950

Rep: Reputation: Disabled
@Didier Spaier Thanks for the details, but that doesn't really help me understand the use cases that aren't possible with the older compiz.

Also I don't think compiz would need to be removed for someone to update it at slackbuilds.org. My understanding is that it would be fine as long as the info file contains REQUIRES="%README%" and the README explicitly explains that it conflicts with the compiz package included in the main tree. You can look at pkgconf for a example which conflicts with and replaces pkg-config in the main tree.
 
Old 03-19-2018, 08:20 AM   #694
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,059

Rep: Reputation: Disabled
Quote:
Originally Posted by orbea View Post
@Didier Spaier Thanks for the details, but that doesn't really help me understand the use cases that aren't possible with the older compiz.
I am not sure I can give a good response. I have been told that the new one is more accessible to visually impaired users using the Orca screen reader or a Braille device but am not able to elaborate on that right now.

I will just add that as a packages provider it's less work for me to maintain just one package
 
Old 03-19-2018, 08:31 AM   #695
atelszewski
Member
 
Registered: Aug 2007
Distribution: Slackware
Posts: 948

Rep: Reputation: Disabled
Hi,

Quote:
Originally Posted by Didier Spaier View Post
  • Its content is preserved after I log out.
versus

Quote:
It MUST be created when the user first logs in and if the user fully logs out the directory MUST be removed.
--
Best regards,
Andrzej Telszewski
 
Old 03-19-2018, 09:17 AM   #696
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,059

Rep: Reputation: Disabled
Well, I don't know what exactly is a "full log out".

Does it means that the user is no more recorded in /var/run/utmp? But not all apps write this file, and after having logged out and killed all processes owned by didier with "killall -u didier", "users" only output "root" but "grep didier /var/run/utmp" still matches.

In my understanding "fully log out" should practically mean that there is no remaining process owned by didier.

One could check that periodically in a cron job, that would then remove or propose to remove /dev/shm/didier and its content. However I think that would rather be the admin's duty to write it than done by something shipped in Slackware. I could be wrong of course, that's just an opinion and I am ready to hear other ones.

Last edited by Didier Spaier; 03-19-2018 at 09:22 AM.
 
Old 03-19-2018, 11:10 AM   #697
kjhambrick
Senior Member
 
Registered: Jul 2005
Location: Round Rock, TX
Distribution: Slackware64 15.0 + Multilib
Posts: 2,159

Rep: Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512
Quote:
Originally Posted by Didier Spaier View Post
Well, I don't know what exactly is a "full log out".

Does it means that the user is no more recorded in /var/run/utmp? But not all apps write this file, and after having logged out and killed all processes owned by didier with "killall -u didier", "users" only output "root" but "grep didier /var/run/utmp" still matches.

In my understanding "fully log out" should practically mean that there is no remaining process owned by didier.

One could check that periodically in a cron job, that would then remove or propose to remove /dev/shm/didier and its content. However I think that would rather be the admin's duty to write it than done by something shipped in Slackware. I could be wrong of course, that's just an opinion and I am ready to hear other ones.
Hoo Boy ...

That is a tough question to answer, let alone being a tough programming nut to crack

There was quite an uproar a while back when that infamous new init program changed the long standing default behavior of *IX ... killed background processes after user logs out

The XDG Base Directory Specification requirement that you and atelszewski posted is pretty clear ( It MUST be created when the user first logs in and if the user fully logs out the directory MUST be removed. )

But as you said, the hard part is what does 'fully logged out' really mean ?

ick.

-- kjh

Last edited by kjhambrick; 03-19-2018 at 11:57 AM. Reason: default
 
1 members found this post helpful.
Old 03-19-2018, 12:02 PM   #698
atelszewski
Member
 
Registered: Aug 2007
Distribution: Slackware
Posts: 948

Rep: Reputation: Disabled
Hi,

In my opinion, this happens when the last process, for the particular user, exits.

--
Best regards,
Andrzej Telszewski
 
Old 03-19-2018, 12:23 PM   #699
gmgf
Senior Member
 
Registered: Jun 2012
Location: Bergerac, France
Distribution: Slackware
Posts: 2,215

Rep: Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002
gparted-0.31.0:

https://sourceforge.net/projects/gpa...parted-0.31.0/
https://sourceforge.net/projects/gpa...ar.gz/download
 
Old 03-19-2018, 01:46 PM   #700
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,059

Rep: Reputation: Disabled
Quote:
Originally Posted by atelszewski View Post
In my opinion, this happens when the last process, for the particular user, exits.
Which could very well occur no sooner than when the machine is rebooted...

Often when I type userdel for a not logged in user, It fails because there are still running processes started on behalf of this user.
 
Old 03-19-2018, 02:48 PM   #701
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,100

Rep: Reputation: 4177Reputation: 4177Reputation: 4177Reputation: 4177Reputation: 4177Reputation: 4177Reputation: 4177Reputation: 4177Reputation: 4177Reputation: 4177Reputation: 4177
Quote:
Originally Posted by atelszewski View Post
The hardest part:
Quote:
The lifetime of the directory MUST be bound to the user being logged in. It MUST be created when the user first logs in and if the user fully logs out the directory MUST be removed. If the user logs in more than once he should get pointed to the same directory, and it is mandatory that the directory continues to exist from his first login to his last logout on the system, and not removed in between. Files in the directory MUST not survive reboot or a full logout/login cycle.
I think that part of the xdg specification is written to work specifically for one reason

https://wiki.archlinux.org/index.php...r#How_it_works

can I ask for which use case you think it will be useful to implement?
 
1 members found this post helpful.
Old 03-19-2018, 03:02 PM   #702
atelszewski
Member
 
Registered: Aug 2007
Distribution: Slackware
Posts: 948

Rep: Reputation: Disabled
Hi,

Quote:
Originally Posted by ponce View Post
can I ask for which use case you think it will be useful to implement?
I wasn't thinking beyond being specification exact.
Only that ;-)

--
Best regards,
Andrzej Telszewski
 
Old 03-19-2018, 03:48 PM   #703
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-15.0
Posts: 2,687

Rep: Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375
Quote:
Originally Posted by orbea View Post
I'm a bit ignorant. Would you mind elaborating on what features are missing?

My personal limited use case for compiz is to stop screen tearing with some wine games that have a broken native vsync when not using a window manager (Where I would use compton instead).
As Dider mentioned, he is using the 0.9 branch which does combine all of companion packages and extras into a single source. However Slackware is using the 0.8 branch which still splits all of the extra packages mentioned above into their own separate sources. Compiz alone isn't necessarily "missing" anything, it is just that the full suite of compiz packages make for a more robust experience. As far as the new 0.8.14 version of compiz, there hasn't been any ABI changes to the code so you can still use the older 0.8.8 with the newer packages if you want, but the newer version of compiz has better support for things like Mate, gtk3/metacity themes, emerald, and various bug fixes.

Also I have used both 0.9 and the 0.8 branches of compiz on 14.2 and in my experience 0.8 is still the more stable of the two, but YMMV if you wanted to try it. I will say that I do like that 0.9 combines everything into one package.

Last edited by Daedra; 03-19-2018 at 03:49 PM.
 
2 members found this post helpful.
Old 03-19-2018, 09:58 PM   #704
Ne01eX
Member
 
Registered: Mar 2018
Location: Ekaterinburg region, Ural, Russian Federation
Distribution: Slackware, RTK GNU/Linux
Posts: 173

Rep: Reputation: 22
Exclamation

GStreamer 1.14.0 has been released!

What new? A LOT OF! MORE! Look here for more details.

For download, look here:

gstreamer-1.14.0.tar.xz
gstreamer-1.14.0.tar.xz.asc
gstreamer-1.14.0.tar.xz.sha256sum
gst-plugins-base-1.14.0.tar.xz
gst-plugins-base-1.14.0.tar.xz.asc
gst-plugins-base-1.14.0.tar.xz.sha256sum
gst-plugins-good-1.14.0.tar.xz
gst-plugins-good-1.14.0.tar.xz.asc
gst-plugins-good-1.14.0.tar.xz.sha256sum
gst-libav-1.14.0.tar.xz
gst-libav-1.14.0.tar.xz.asc
gst-libav-1.14.0.tar.xz.sha256sum

Also, may be interest:

gst-plugins-ugly-1.14.0.tar.xz
gst-plugins-ugly-1.14.0.tar.xz.asc
gst-plugins-ugly-1.14.0.tar.xz.sha256sum
gst-plugins-bad-1.14.0.tar.xz
gst-plugins-bad-1.14.0.tar.xz.asc
gst-plugins-bad-1.14.0.tar.xz.sha256sum



Also, maybe included into Slackware 15.0 x264 and x265 codecs from videolan.org

The software that will need to be rebuilt for use latest version of GStreamer:

pidgin
tumbler



And army of software, that uses pulseaudio.

To speed up the build, listen to this:

https://www.youtube.com/watch?v=oP_oxc4WS9A

Last edited by Ne01eX; 03-19-2018 at 10:19 PM. Reason: Link to youtube for excellent build. ;-)
 
Old 03-19-2018, 10:28 PM   #705
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,235

Rep: Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320
May I suggest jq (the command-line json parser) again?
 
1 members found this post helpful.
  


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
[SOLVED] Requests for -current (20151216) rworkman Slackware 3441 12-28-2017 03:50 PM

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

All times are GMT -5. The time now is 05:03 PM.

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