Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

crew-launcher need some help with icon #17

Open
2spade opened this issue Jun 22, 2022 · 7 comments
Open

crew-launcher need some help with icon #17

2spade opened this issue Jun 22, 2022 · 7 comments

Comments

@2spade
Copy link

2spade commented Jun 22, 2022

Hello Chromebrew devs,

Wow, I am loving this package manager. It has installed just about everything I wanted/needed. With the exception of Libreoffce.

So, I mounted the root-fs and dev-image (bind mount) onto ubuntu install media. Then installed Libreoffice7.3 deb file(s) onto the mounted filesystem. Unmounted then rebooted back into chromeos. Libreoffice starts from the shell and runs great!

Ok so now I want an icon launcher. First problem I noticed was that crew-launcher add would not work (saying Liberoffice was not installed). So I added 2 files to the "meta" folder - libreoffice.filelist & libreoffice.directorylist......solved that problem. Next crew-launcher add said it could not find the .desktop file. So I added the full path of the dot desktop file in libreoffice.filelist..........solved that problem.

Now, it says it can not find the icon. I have tried adding full icon path to Icon= in the desktop file...but no luck. I have tried some other things but......no luck.

I know that I am close here.....just need a hint(s)

Thanks in advance!

@2spade
Copy link
Author

2spade commented Jun 23, 2022

ok, I am making some headway based on a comment made here: #8

So, it seems like the crew-launcher only looks at the dot filelist. So I generated all the files from where libreoffice is install in /opt directory. And.....it works! Sort of, a linking icon is generated and link starts libreoffice but its the wrong icon.

@2spade
Copy link
Author

2spade commented Jun 24, 2022

ok...........figured it out! now have the correct launcher icon on my shelf that opens Libreoffice.

I did it by make a few changes to the main.rb file on my system (made a back up, of course, before doing).

I will put more detail on a future post. Actually on the crew-launcher section.

@uberhacker
Copy link
Contributor

That is great @2spade. Maybe you can submit a pull request of your changes?

@2spade
Copy link
Author

2spade commented Jun 25, 2022 via email

@uberhacker
Copy link
Contributor

Good observation. It might make sense to create a bash wrapper script to simplify the launch.

@2spade
Copy link
Author

2spade commented Jun 25, 2022 via email

@2spade
Copy link
Author

2spade commented Jun 28, 2022 via email

@Zopolis4 Zopolis4 transferred this issue from chromebrew/chromebrew May 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants