LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Bodhi
User Name
Password
Bodhi This forum is for the discussion of Bodhi Linux.

Notices


Reply
  Search this Thread
Old 08-18-2019, 03:21 PM   #1
the_waiter
Bodhi Developer
 
Registered: Jun 2018
Location: Banská Bystrica, Slovakia
Distribution: Bodhi Linux
Posts: 533

Rep: Reputation: 404Reputation: 404Reputation: 404Reputation: 404Reputation: 404
Compton compositor as module


Hello there

As you know the Moksha desktop lacks any compositor. According Jeff, the default one is buggy so he removed it from the code. Of course it is not rare I/we explain a method how to enable compton compositor on the forum for people who want to have transparent conky or simply just a shadow effects, want to solve some video tearing or any other reasons.

So, I decided to make a module which is a simple "container" for the compton compositor. It will simplify the several steps method to just two steps (just one in case it will became a part of Bodhi ISO file).

1. install compton
2. try to find compton.conf file somewhere on Internet
3. copy the file to ~/.config dir
4. try to add compton to applications list after start
5. restart the PC to use it

Now it should be
1. install moksha-module-comptonmod (not yet in repo)
2. load the compton module in the module section

This is an easy (1/2 day of work) solution in the meantime we look at buggy default compositor.

I hope you will enjoy it

Stefan

https://i.imgur.com/3LoDoE7.jpg
https://github.com/thewaiter/comptonmod

Last edited by the_waiter; 08-18-2019 at 03:34 PM.
 
Old 08-18-2019, 03:33 PM   #2
hemlocktree
Member
 
Registered: Aug 2018
Location: Northern Exposure
Distribution: Bodhi 5 & debian 9 LXDE
Posts: 719

Rep: Reputation: 308Reputation: 308Reputation: 308Reputation: 308
Thanks stefan!
 
Old 08-18-2019, 06:35 PM   #3
Randy4bodhi
Member
 
Registered: Jun 2018
Location: Northeastern Indiana
Distribution: Ubuntu with custom LXDE-GTK & Bodhi Linux
Posts: 80

Rep: Reputation: Disabled
Very nice!
 
Old 08-19-2019, 12:58 PM   #4
the_waiter
Bodhi Developer
 
Registered: Jun 2018
Location: Banská Bystrica, Slovakia
Distribution: Bodhi Linux
Posts: 533

Original Poster
Rep: Reputation: 404Reputation: 404Reputation: 404Reputation: 404Reputation: 404
Hello again

Compton module package in the Bodhi testing repository for your testing. I will appreciate your feedback.
In case you have already compton added to the startup apps list, remove it to avoid conflict.

I provide only amd64 package version. Sorry for that...

Stefan

http://packages.bodhilinux.com/bodhi...le-comptonmod/

Last edited by the_waiter; 08-19-2019 at 01:01 PM.
 
1 members found this post helpful.
Old 08-19-2019, 09:45 PM   #5
enigma9o7
Member
 
Registered: Jul 2018
Location: Silicon Valley
Distribution: Bodhi 5 (Ubuntu 18.04)
Posts: 334

Rep: Reputation: Disabled
Thanks!

As you may recall I had been using compton without a compton.conf for a while and that cleaned up some of my issues, so this is definately useful for people who were in my position a year ago trying to make the bankground transparent.

Other things in bodhi I've noticed can be set transparent when compton running include the background of terminology and shelves.

Anyways,I just did the
Code:
sudo apt install moksha-module-comptonmod
and removed from my startup commands, and about to reboot to test. I guess I didnt do a full test as I didnt remove compton or my .conf in advance, didn't think of that til after.

Question is - can I sudo apt uninstall compton now? (Is the program built into the module, or still need it around?)
 
Old 08-19-2019, 11:15 PM   #6
the_waiter
Bodhi Developer
 
Registered: Jun 2018
Location: Banská Bystrica, Slovakia
Distribution: Bodhi Linux
Posts: 533

Original Poster
Rep: Reputation: 404Reputation: 404Reputation: 404Reputation: 404Reputation: 404
Hello Enigma

1. Yes, your situation was one of the reasons which motivated me to write this compton module
2. sudo apt install moksha-module-comptonmod will work properly if user switches to testing repository
3. of course package does include compton dependency and will install it.
It does not make sense removing compton after installing the package. The module won't work without compton.
4. I use my compton.conf file I am satisfied with. Feel free to replace it in this directory:
/usr/lib/x86_64-linux-gnu/enlightenment/modules/comptonmod or simply a destination where your modules are installed

Stefan

Last edited by the_waiter; 08-19-2019 at 11:18 PM.
 
Old 08-20-2019, 04:10 AM   #7
Randy4bodhi
Member
 
Registered: Jun 2018
Location: Northeastern Indiana
Distribution: Ubuntu with custom LXDE-GTK & Bodhi Linux
Posts: 80

Rep: Reputation: Disabled
Testing it. But I may need a config file. Have a black section accross the top of my screen.
Attached Thumbnails
Click image for larger version

Name:	ielUWlA.png
Views:	20
Size:	85.8 KB
ID:	31161  
 
Old 08-20-2019, 07:51 AM   #8
the_waiter
Bodhi Developer
 
Registered: Jun 2018
Location: Banská Bystrica, Slovakia
Distribution: Bodhi Linux
Posts: 533

Original Poster
Rep: Reputation: 404Reputation: 404Reputation: 404Reputation: 404Reputation: 404
Is the clock inside the engage gadget? If yes, try to unload the engage module please. This used to happen with ecomorph also. I will try when I get home. Thanx for reply btw

PS: try to play with compton.conf file
PS2: what an ugly systray module on your shelf. What theme do you use? I will fix it for you

Last edited by the_waiter; 08-20-2019 at 08:12 AM.
 
Old 08-20-2019, 05:36 PM   #9
Randy4bodhi
Member
 
Registered: Jun 2018
Location: Northeastern Indiana
Distribution: Ubuntu with custom LXDE-GTK & Bodhi Linux
Posts: 80

Rep: Reputation: Disabled
Quote:
Originally Posted by the_waiter View Post
Is the clock inside the engage gadget? If yes, try to unload the engage module please. This used to happen with ecomorph also. I will try when I get home. Thanx for reply btw

PS: try to play with compton.conf file
PS2: what an ugly systray module on your shelf. What theme do you use? I will fix it for you
That is the issue. I use a mix of 3 themes. I made it match the shelf. Better?
Attached Thumbnails
Click image for larger version

Name:	NdQVFBt.png
Views:	13
Size:	234.9 KB
ID:	31170  
 
Old 08-20-2019, 05:47 PM   #10
the_waiter
Bodhi Developer
 
Registered: Jun 2018
Location: Banská Bystrica, Slovakia
Distribution: Bodhi Linux
Posts: 533

Original Poster
Rep: Reputation: 404Reputation: 404Reputation: 404Reputation: 404Reputation: 404
Better

As far as engage issue is concerned, the solution is trivial. Do this:

sudo nano /usr/lib/x86_64-linux-gnu/enlightenment/modules/comptonmod/compton.conf

and change line 61
no-dock-shadow = false;
to
no-dock-shadow = true;

Now your clock can be put back on your engage.

I will repack the package and we all will be happy

Stefan

Last edited by the_waiter; 08-20-2019 at 05:51 PM.
 
Old 08-20-2019, 05:56 PM   #11
Randy4bodhi
Member
 
Registered: Jun 2018
Location: Northeastern Indiana
Distribution: Ubuntu with custom LXDE-GTK & Bodhi Linux
Posts: 80

Rep: Reputation: Disabled
Quote:
Originally Posted by the_waiter View Post
Better

As far as engage issue is concerned, the solution is trivial. Do this:

sudo nano /usr/lib/x86_64-linux-gnu/enlightenment/modules/comptonmod/compton.conf

and change line 61
no-dock-shadow = false;
to
no-dock-shadow = true;

Now your clock can be put back on your engage.

I will repack the package and we all will be happy

Stefan
That's easy. I thought maybe I'd have to lose engage so I rearanged some shelf positions. But I like engage because when I mouse over the clock it zooms so I can read it. LOL!
Attached Thumbnails
Click image for larger version

Name:	7fmZCtz.png
Views:	8
Size:	172.0 KB
ID:	31171  
 
Old 08-20-2019, 06:00 PM   #12
the_waiter
Bodhi Developer
 
Registered: Jun 2018
Location: Banská Bystrica, Slovakia
Distribution: Bodhi Linux
Posts: 533

Original Poster
Rep: Reputation: 404Reputation: 404Reputation: 404Reputation: 404Reputation: 404
Enjoy mate

Stefan
 
Old 08-23-2019, 02:34 PM   #13
the_waiter
Bodhi Developer
 
Registered: Jun 2018
Location: Banská Bystrica, Slovakia
Distribution: Bodhi Linux
Posts: 533

Original Poster
Rep: Reputation: 404Reputation: 404Reputation: 404Reputation: 404Reputation: 404
Fixed package in testing repository. Also added 32 bit package.

Enjoy guys

Stefan

http://packages.bodhilinux.com/bodhi...le-comptonmod/

Last edited by the_waiter; 08-23-2019 at 02:49 PM.
 
1 members found this post helpful.
Old 09-12-2019, 08:22 PM   #14
enigma9o7
Member
 
Registered: Jul 2018
Location: Silicon Valley
Distribution: Bodhi 5 (Ubuntu 18.04)
Posts: 334

Rep: Reputation: Disabled
Quote:
Originally Posted by the_waiter View Post
Fixed package in testing repository. Also added 32 bit package.

http://packages.bodhilinux.com/bodhi...le-comptonmod/
I tried the 32-bit as a module on one of my legacy machines after OS reinstall. I don't appear to have /usr/lib/x86_64-linux-gnu tho; where is the conf file? I want to try to get rid of the dark shadow behind conky, it used to be transparent background...
 
Old 09-13-2019, 06:44 AM   #15
the_waiter
Bodhi Developer
 
Registered: Jun 2018
Location: Banská Bystrica, Slovakia
Distribution: Bodhi Linux
Posts: 533

Original Poster
Rep: Reputation: 404Reputation: 404Reputation: 404Reputation: 404Reputation: 404
No, the folder for 32 bit OS is different. I will tell ya when I get home, or simply find out the compton.conf file in /usr folder.

S

EDIT:
/usr/lib/i386-linux-gnu/enlightenment/modules/comptonmod/compton.conf

Last edited by the_waiter; 09-13-2019 at 02:15 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Compton shadows and the LXDE menus tpprynn Programming 1 03-29-2016 05:53 AM
[SOLVED] Icewm and compton GreenFireFly Slackware 8 02-27-2015 03:28 PM
Make Slackware Xfce use compton for compositing holden87 Slackware 2 11-29-2014 09:30 PM
[SOLVED] Weird issue with compton moisespedro Slackware 10 04-21-2014 04:47 PM

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

All times are GMT -5. The time now is 08:21 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration