Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/milanify/ubuntu-launchpad
The Ubuntu version of Apple's/MacOS Launchpad application
https://github.com/milanify/ubuntu-launchpad
apple debian debian-packages launchpad linux macos plank plank-dock plank-theme shell shell-script shell-scripts themes ubuntu
Last synced: 2 months ago
JSON representation
The Ubuntu version of Apple's/MacOS Launchpad application
- Host: GitHub
- URL: https://github.com/milanify/ubuntu-launchpad
- Owner: milanify
- License: mit
- Created: 2019-08-18T12:43:49.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-12-01T04:12:43.000Z (about 4 years ago)
- Last Synced: 2024-07-30T16:58:44.861Z (5 months ago)
- Topics: apple, debian, debian-packages, launchpad, linux, macos, plank, plank-dock, plank-theme, shell, shell-script, shell-scripts, themes, ubuntu
- Language: Makefile
- Homepage:
- Size: 188 KB
- Stars: 34
- Watchers: 3
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Ubuntu-Launchpad
The Ubuntu version of Apple's/MacOS Launchpad application. The shortcut is meant to be placed on a dock as a keyboard-free alternative to pressing Super+A.
## Installation
Install the dependency by opening Terminal and running:
```
sudo apt install xdotool
```[Download the deb installer file](https://github.com/milan102/Ubuntu-Launchpad/raw/master/launchpad-1.0.deb)
Open the deb file and proceed with installation
Open Terminal and run:
```
xdg-open /usr/share/applications
```
or navigate to the ```/usr/share/applications``` folder manually
Drag the Launchpad icon onto the dock
Done!
## Development Tutorial
In Terminal run:
```
sudo apt install dh-make devscripts
```Then run:
```
sudo gedit .bashrc
```Add your information to the end of the file (mine below, I used an URL instead of email):
```
export DEBEMAIL="https://github.com/milan102"
export DEBFULLNAME="Milan Mishra"
```Create a folder called launchpad-1.0 and place the shell script inside
- Add a .desktop file and a .png file
- Edit the .desktop file to Exec where the shell script will be placed and set Path to that folder (more on that below)From inside the launchpad-1.0 folder, run:
```
dh_make --indep --createorig --copyright mit
```Inside the newly generated debian folder:
- Create an install file that specifies where the files in launchpad-1.0 get installed to (the paths are used in the .desktop file)
- Edit the rules file and add ```override_dh_usrlocal:```
- Edit the control file by changing Section, Homepage, Depends, and DescriptionCreate a folder outside launchpad-1.0 called ```post-dh_make-files```
Back up the finalized install, rules, and control files in here so that they don't need to be edited each time on future runs of dh_make and instead can be copied+pasted into the generated debian folderFrom inside the launchpad-1.0 folder, run:
```
debuild -us -uc
```Distribute the generated .deb file as an application installer
## Notes
Thanks to https://blog.packagecloud.io/eng/2016/12/15/howto-build-debian-package-containing-simple-shell-scripts/ for providing a great starting point with regard to packaging shell scripts into deb filesIcon made by Pixel Buddha from www.flaticon.com