Botspot / pi-apps

Raspberry Pi App Store for Open Source Projects
GNU General Public License v3.0
1.95k stars 204 forks source link

Help needed : Plank (Dock) on Pi Apps #688

Closed open-sorcerer64 closed 3 years ago

open-sorcerer64 commented 3 years ago

Hi Botspot,

I want to add Plank which is a dock(like on Mac OS) but I am just a kid so I can't figure out how to make the install script Any Help will be greatly appreciated I am also a Youtuber https://www.youtube.com/channel/UCCsEfbaCHPjM0Dhx69TrJPw I was making a tutorial on it, but i thought if my viewers did it through Pi Apps it will be easy for them.

It is a dock like in MacOS, useful for people who are both mac and raspberry pi users. Or people who want to make there OS look like mac or just have a dock(like me)

It can be easily installed with sudo apt install plank compton. But the script to autostart it is complicated

Tejas Singh YT https://www.youtube.com/channel/UCCsEfbaCHPjM0Dhx69TrJPw

TheMaroonHatHacker commented 3 years ago

If you can make the script on Github that will auotstart plank, I can try and create a Pi-apps .zip for you...

ryanfortner commented 3 years ago

Maybe we can create scripts to automatically compile the latest version of plank, instead of using the outdated version from APT. Here are compile instructions if you can get them to work... https://github.com/ricotz/plank/blob/master/HACKING

Itai-Nelken commented 3 years ago

I tried to build it once but I never got it to build, dependency issues...

NoozAbooz commented 3 years ago

What if we just yoink it from TwisterOS?

ryanfortner commented 3 years ago

What if we just yoink it from TwisterOS?

Is the version on twister os the latest version?

NoozAbooz commented 3 years ago

What if we just yoink it from TwisterOS?

Is the version on twister os the latest version?

Nevermind, twister uses apt version too.

Botspot commented 3 years ago

@Tejas-Singh-py, have you tried the Pi-Apps MacOS theme? That includes a plank-style panel, a compositor, and many other graphical changes. Maybe you could instruct your viewers to start with that and then customize it?.

leha-code commented 3 years ago

There isn't much added in the latest version. My Ubuntu laptop is running the latest and I see no difference

TheMaroonHatHacker commented 3 years ago

I think most of the issue is just getting it to start by default.

NoozAbooz commented 3 years ago

I think most of the issue is just getting it to start by default.

Use a startup script to run it? rc.local?

TheMaroonHatHacker commented 3 years ago

You know, despite all I've tried, I've never got anything to do it.

Anyway, this is off topic.

Seemingly, all one needs to do is to install with apt, then get it to run on start-up (rc.local or crontab or whatever is best).

NoozAbooz commented 3 years ago

You know, despite all I've tried, I've never got anything to do it.

Anyway, this is off topic.

Seemingly, all one needs to do is to install with apt, then get it to run on start-up (rc.local or crontab or whatever is best).

Humm... are you using any different window/desktop manager like xfce instead of pixel?

Itai-Nelken commented 3 years ago

There isn't much added in the latest version. My Ubuntu laptop is running the latest and I see no difference

There is a fix to a bug that causes the animations to slow down until they don't run at all (I don't know when it was fixed, but I know it was fixed in a version newer than the apt one).

TheMaroonHatHacker commented 3 years ago

@mobilegmYT no, not at the time of trying.

I just gave up. I didn't really have a use for it anyway. I use GNOME For Pi ATM (my own project, waiting to be approved by @Botspot for Pi-apps)

ryanfortner commented 3 years ago

You know, despite all I've tried, I've never got anything to do it.

Anyway, this is off topic.

Seemingly, all one needs to do is to install with apt, then get it to run on start-up (rc.local or crontab or whatever is best).

Just for future reference, what you can do to have plank on autostart is

mkdir -p ~/.config/autostart cp /usr/share/applications/plank.desktop ~/.config/autostart/

Then reboot.

open-sorcerer64 commented 3 years ago

You know, despite all I've tried, I've never got anything to do it. Anyway, this is off topic. Seemingly, all one needs to do is to install with apt, then get it to run on start-up (rc.local or crontab or whatever is best).

Just for future reference, what you can do to have plank on autostart is

mkdir -p ~/.config/autostart cp /usr/share/applications/plank.desktop ~/.config/autostart/

Then reboot.

Hi Everyone, Thanks for he response. I have made the script for plank. It downloads Plank and Compton(Required) and auto-start both of them. Anyone of you can make the install and uninstall script.

Install Script

sudo apt install plank
sudo apt install compton
cd .config
mkdir autostart
cd autostart
sudo cp /usr/share/applications/plank.desktop ~/.config/autostart
sudo chmod +x plank.desktop
sudo chown pi:pi plank.desktop
sudo cp /usr/share/applications/compton.desktop ~/.config/autostart
sudo chmod +x compton.desktop
sudo chown pi:pi compton.desktop

Uninstall Script

sudo apt remove plank
sudo apt remove compton

Request: Please mention me and my channel in the credits section

Maybe we can create scripts to automatically compile the latest version of plank, instead of using the outdated version from APT. Here are compile instructions if you can get them to work... https://github.com/ricotz/plank/blob/master/HACKING

Linux has dependency issues, LOL

TheMaroonHatHacker commented 3 years ago

Great, thanks @Tejas-Singh-py

TheMaroonHatHacker commented 3 years ago

Here @Botspot, yet another app waiting for approval: plank.zip

open-sorcerer64 commented 3 years ago

Here @Botspot, yet another app waiting for approval: plank.zip

@TerraGitHuB Did You mentioned me

TheMaroonHatHacker commented 3 years ago

Yup, your github name plus youtube channel are referenced in the credits.

open-sorcerer64 commented 3 years ago

Yup, your github name plus youtube channel are referenced in the credits.

Thanks @TerraGitHuB Can't wait to get it approved.

open-sorcerer64 commented 3 years ago

Here @Botspot, yet another app waiting for approval: plank.zip

Hey, Terra is this file encrypted

TheMaroonHatHacker commented 3 years ago

No, shouldn't be.

TheMaroonHatHacker commented 3 years ago

Although, there's nothing in the ZIP!

I'm on it.

TheMaroonHatHacker commented 3 years ago

plank.zip

Try that one.

Itai-Nelken commented 3 years ago

@TerraGitHuB the zip permissions are broken. comments on the script: use the 'create app' button in pi-apps settings to create the app, it gives you the template scripts to get started that include all the pi-apps stuff. see my comment in the gnomeforpi issue, they mostly apply for this scripts as well.

open-sorcerer64 commented 3 years ago

@TerraGitHuB the zip permissions are broken. comments on the script: use the 'create app' button in pi-apps settings to create the app, it gives you the template scripts to get started that include all the pi-apps stuff. see my comment in the gnomeforpi issue, they mostly apply for this scripts as well.

@Itai-Nelken I used the create app thing but as I told, I don't know how to make a shell script and I can't understand the template script. Therefore, I came for help. You Can help me with the script the commands are given above

open-sorcerer64 commented 3 years ago

Install Script

sudo apt install plank
sudo apt install compton
cd .config
mkdir autostart
cd autostart
sudo cp /usr/share/applications/plank.desktop ~/.config/autostart
sudo chmod +x plank.desktop
sudo chown pi:pi plank.desktop
sudo cp /usr/share/applications/compton.desktop ~/.config/autostart
sudo chmod +x compton.desktop
sudo chown pi:pi compton.desktop

Uninstall Script

sudo apt remove plank
sudo apt remove compton

Request: Please mention me and my channel in the credits section