deadd This is a topic that many people are looking for. passionistsisters.org is a channel providing useful information about learning, life, digital marketing and online courses …. it will help you have an overview and solid multi-faceted knowledge . Today, passionistsisters.org would like to introduce to you Deadd: Windows Like Desktop Independent Notification Center. Following along are instructions in the video below:
“I ve been running dumps since pretty much the first day that i had notifications notifications on linux. But it s not the only notification daemon out there and today re going to take a look at a full blown notification center called the dead notification center or also known as the linux notification center. So if you new to the channel. You know what to do and let s jump right into it so first thing.
I think i should actually describe what a notification center is so if you ve ever used windows. You know how you have that dock on the side that has all of your notifications in it that s pretty much what this isn t this seems to be pretty much what it s inspired by as well so if we have a look at it. This is on the github page right here. We ll go through a bit more of it in just a moment.
But this is how it actually looks and my version of it looks pretty much the same. I ve just changed. The background color and also have a different level of blur. But it s very much like the windows notification at the center or i m not sure what it s called on windows the notification dock whatever it s called but yeah it s it s a very windows esque thing so if you re coming from windows.
Maybe. This is something that you re going to be interested in running or maybe. You actually care about not just seeing your notifications when they happen. But you also want to see them for a little while after because then you could also do things like clear them.
When you re done with them basically. So this isn t a perfect program and i m gonna talk about the problems. I have with it. But it has seriously improved since when i first heard about it so one of those improvements that i m talking about is this right here.
So. If you know this is actually an image for the album art in spotify. And also a little icon for spotify. As well so this will happen with kdenlive and various other programs.
That actually have icons for stuff. So what was happening before was that it wasn t actually pulling in the images from like notify send and all of the standard ways of creating notifications. What it was doing instead was relying on something called notify senpai. Which some notification centers.
Do use the problem is and some programs. Do use. But the problem with that is that not every single one of them does so if you only have images from this non standard feature then it s not really gonna work properly for those programs that don t use that feature. But now it will actually pull in those images from the standard method.
So we ve spotify here. Let s just play a couple of tracks. So as you can see we have the album art and we have the little icon. Now if you don t like this you can obviously disable it as well and i ve slightly modified by default it doesn t actually have a margin around the edge.
Which i m not a big fan of so i ve added that margin and i ll show you how to do all of that it s actually really really simple. So let s just quit out of this okay so the way you customize actually before we get to that if you want to start it then just start like you d start any other program. There s nothing too special about that and that goes for auto starting it as well if you re running dance right now or some of the notification. Damon and you want to swap this one in all you have to do is replace whatever.
It was with this program and it would just slot right in just fine. So if you want to toggle. It you can use this command. I ve just got my bound to super easy so that s how i m doing that right here.
But we ll get back to that in just a moment. If you d like to install this program. It is available on the air. You are so go ahead.
And do that there is a good version of it and also a bin version feel free to install either version. It doesn t really matter or you could go the manual installation. Route and handle the dependencies yourself okay so. The configuration is where this program gets what s the best way to describe it i m gonna say a little confusing.
So it uses two ways to configure. It one is you ve got the configuration file and through that you can do a lot of the aesthetic configuration and most of the regular configuration..
So like all. The features and stuff so. If you notice these buttons down here all of this is handled through the config file. But some of the aesthetic configuration is handled through the gtk.
3 dot css file now i don t know why some of its there and some of it s in the configure if i was writing this myself. I would probably put all of the aesthetics in one place or the other but for some reason. There s some stuff mixed across so i ll show you so i ll show you what that sort of stuff is but just know that it s not exactly the cleanest method. So let s just bring up back in fig files.
So it is actually i ll go through the standard method of doing it just so you guys can see where it is so go into my config folder. And we go down to dead. So. It isn t a folder called dead.
With two days on the end. And then the config file is called dead calm. So once again with also two days. I know it s also called the linux node j.
son center. I guess there was a name change at some point. But the actual repo didn t have its name change. But whatever.
It s called the dead notification center at this point okay so for the configuration files is a couple of different sections. So we ve got the notification center section. We ve got the notification center notification pop up this is what i mean by terrible name but we ll get back to the terrible name in just a moment. We ve got the colors section.
And we ve got the bottom section. So i ll briefly go into what each of these sections do and just yeah. What you can actually do in them. So.
The notification center section. Will actually be used for the actual notification center. Here. So you can set a margin for inside a width.
You can use markup in it you can ignore transient. I m not sure ignore transient actually means. But you can do that you can guess the icon from the app. Name as well.
Now this probably shouldn t be in the notification center section. Because this also relates to the actual notifications themselves. But it s here this isn t the most well thought out program. But it s definitely getting there so the notification center notification pop up once again terrible name this is for actually configuring lis pop ups.
So if we just make a notification pop up. So this will let you configure this right here. So not all of the configuration for this can be handled in the configure. Some of its going to be handled in that gtk file.
So you can do things like set. A monitor for that and set the icon size and set a maximum image size so the icon size is the little icon so that was the spotify icon. The image size is say if you are using spotify you have the album art or if someone sends you a message on discord that would be their profile picture. So that s what the images and for colors.
This is where you can actually modify the colors of the notification center and also the pop ups. The one problem here is you can t change the color for a normal notification and the normal notification in the notification center. The reason. I say this is a problem is because you can do that with critical so for critical in center.
This is the background color for a critical notification when it s actually in the notification center and the critical is for just when it pops up. Now here s another point where it s really poorly named so we ve got critter and critical color..
So critical is the background color critical color is the foreground color. Anything that has color on the end. I ve noticed that s the foreground color. Why it s not foreground and background.
I don t know but just know that that s how that works and the interesting part is the button so this is part of the reasons. Why you d want in notification. The center as opposed to just notifications so in here you can actually define buttons. So we ve got a shutdown button a reboot button and a screen lock button.
I m obviously not going to press either of these two. But if i press screen lock. What that s going to do is actually lock my screen. So the way that this works is it s pretty easy you just have a colon separated list of strings.
So for the labels. We have shutdown. Reboot and screen lock. And then in the command section.
You just assign a command to that label. So we have sudo shutdown is assigned to the first label sudo reboot second label better lock screen third label and you can just keep doing that and you can have multiple rows. You can define how many buttons are in a row. You can change the bottom height.
The margin between the buttons. There s a lot of little configuration you can do with this you can also change things like the button background color and the hover color and all of that stuff. So you might have noticed that the font is missing here. But the font.
I m using isn t something you ve probably seen before this is jetbrains mono. The font doesn t really matter. The point is you can t configure. The font within the actual config file.
Before we get to the gtk file. One thing. I should mention is that the transparency actually is controlled in the config file. So if you notice all of my colors.
I m setting with rgb a so that s red green blue alpha so that s how i m setting the colors so i ve got my rgb colors and then the last number on here is the transparency. Level so i ve got 08. Which is 80 because that s just what i m doing with everything else in my system. So let s just go to a clean desktop and you should get a clear view of that so as you can see you can see right through this personally.
I m a big fan of this but maybe you don t want any transparency and if you don t you can either just use the rgb setter you can use a hex value or if you want to use rgb. A just set this value to one and that s a hundred percent opacity. So let s just go have a look at that gtk css file. And see what we can do over there so if you don t know what this file is basically.
It s in your config folder. It i don t think it s generated by the. Fold. Actually but it ll be in a folder called gtk 30.
And if it s not here just make this if the fold is not here also obviously just make it so i ve got a couple of settings in here. Nothing too crazy you re also going to have to have a look into what sort of css you can do in gtk. I don t know if is the entirety of css3 or if it s a subset of it so don t look at the gtk documentation about what sort of css you can actually do now as for setting basic things like the font family the foreground color. The margin all of this stuff that works perfectly fine when you re setting it in the css.
But as i said it may not be full css3 so go check the gtk documentation for what you can do now one last thing. I wanted to mention about the config file is that on the github page. There are comments above basically every single settings. So if you want to have an easier time setting this i would honestly recommend just copying the entire config into your config file.
And then you can actually get comments for and then if you need to you can obviously delete as you need to do it. But i m not going to go into every single thing that you can configure today..
So. If you want a better understanding of it then go look at the get up page. If people want a second video. I m more than happy to do it.
But for the time being the github page. Should suffice. So let s go have a look at those actual css class names. So they re all documented right here.
And they re all pretty simple they re really long. But they re all pretty simple. So. The app.
Name is this little app. Name right down. Here. This is spotify.
The body is the main body of text. So this coldrain side effects. The title is the bit at the top right here. The image is the image on the left.
And the icon is this little spotify icon or kdenlive or whatever. Other icons. You have there and the only thing that changes between the notifications and the notifications in center. So.
This is notification in center. So for the incentive ones you just use in center for the regular notifications you just use notification. And when it is in the center. You also have a time on there and you can configure that one as well with this line right here now.
There s also the button close is this little button on the side near so you can configure that however you want to as well now for the notification center. You can configure the time and the date. There s not much else you can do with it. There s not really much else in here.
Because the buttons are controlled in the config file. So i m actually covering up these buttons are controlled in the config file not in the css files. So it wouldn t make sense to be i d configure them here as well it still doesn t make sense. Why you use the css at all and not just do everything in the config file.
It would be much easier like that but that s just how this program is written at this stage. Now the last thing. I wanted to mention is that you probably do want to bind a key to actually open up the notification center. You just run this command right here.
So if we just bring that up in a terminal. We just run that that opens notification center. We ran it again it closed the notification center. So bind that however you feel like doing it i have found it within sx hkd.
You can obviously do it. However you bind keys in your system. But let s go down. Here kill.
Where is it so all i ve done is just bound that to super ii. And all it does is just run that command i should probably check if it s open. But it doesn t really matter if it s not open it s just gonna fail anyway so i guess it couldn t hurt to just show you how to launch the program. When you actually launch a window manager now.
It s really easy to do and i m not actually running it as my main notification daemon right. Now as you ll see through the way that i m setting it so i like to launch stuff through my ex inner darcy..
There s plenty of other ways to do and someone s going to complain about this method. But this is how i m going about doing it so right now i m using dunst. But if you want to launch the dead notification center. Just go dead notification.
The center and then make sure you actually launch it as a background process because if you don t your window manager is just going to lock. When that program launches so as i said i m running duns you could put anything in here. So this isn t just for the dead. Notification center or just for dunst you could use something like tw mn or a bunch of the other notification demons.
It doesn t really matter this method of launching. It actually has no ties to the specific notification name. And so i reckon that s pretty much everything on to talk about so as i said earlier this program isn t perfect especially when it comes to variable names. I know they re bad because i ve written program to have variable names of this path they need to be fixed and when they are that i think it ll be a really really good program.
One thing. I didn t mention as well is that there s a man page as well there s just nothing in it so yeah. There s no man page basically. So you have to go to the github page to find out how to configure.
It which is a little annoying. But i guess it s not the worst thing at least. There is some form of documentation somewhere so there s some other problems like i want to be able to set a border around notifications like dunst can and there s no way to set a default icon. So if you want to have a default icon for normal notifications like you can do and dance.
There s no way to do that at this stage. But if that sort of stuff doesn t really matter to you i think that this is a really cool notification daemon and if you do want a notification center. I don t know about too many other programs that do it that aren t directly tied to a desktop environment. Because i didn t mention this earlier as well there s a bunch of stuff forgot to mention this has no ties to any desktop environment.
It does use gtk. So. If you prefer running qt apps. Then that s going to be a problem for you.
But besides that there s no ties to like to gnome or to kde or xfc like some of the other notification. Daemons and notification centers. Have so if you want a notification center. Without those ties.
This is probably your best bet. So i reckon that s pretty much everything for this video. So if you like this video. Remember to smash that like button and leave me a comment down below letting me every think.
If you want to see more videos like this remember to subscribe and engler back and down below because it ll really help the channel out i m now aiming for 10000. Subs and any help be really appreciated up on that corner. I ve got the playlist those videos in so go check that out if you want to see other videos like this down below. I ve got my social links.
So my discord and my telegram. So go check that out if you want a chat with me or get various video updates. I ve also got my support links down below. So that s my patreon and all of my other various donate links so feel free to check those out if you do want to support the channel.
But as always it s entirely optional you don t have to support the channel. If you don t want to and lastly. I ve got my alternate video platform. So my bit tube and my library so feel free to check those out if you want to see my videos on a platform.
That isn t youtube. So i think that s for no everything for me and uh. ” ..
Thank you for watching all the articles on the topic Deadd: Windows Like Desktop Independent Notification Center. All shares of passionistsisters.org are very good. We hope you are satisfied with the article. For any questions, please leave a comment below. Hopefully you guys support our website even more.