GithubHelp home page GithubHelp logo

echo-devim / slingswarm Goto Github PK

View Code? Open in Web Editor NEW
20.0 4.0 4.0 1.54 MB

GTK3 application launcher similar to Mac OS launchpad and Wayland compatible.

License: GNU General Public License v3.0

CMake 26.07% Vala 73.93%
application-launcher gtk3 vala wayland-compatibility

slingswarm's Introduction

Slingswarm

Slingswarm is the GTK+3 version of Slingscold, i.e. a lightweight application launcher similar to Launchpad in Mac OS X. It is also Wayland compatible.

This project was originally forked from Slingscold:

Compilation

Enter inside the build folder and execute cmake .. and after make.

Post Install

Once installed set shortcut key to access Slingswarm.

  • System -> Preferences -> Hardware -> Keyboard Shortcuts > click Add
  • Name: Slingswarm
  • Command: slingswarm-launcher

Now assign it a shortcut key, such as CTRL+SPACE.

Note: Some themes don't have the 'application-default-icon'. Slingswarm needs to have this icon, so please download it from the FlatWoken icon pack and execute the following commands:

# cp application-default-icon.svg /usr/share/icons/hicolor/scalable/apps/
# gtk-update-icon-cache /usr/share/icons/hicolor

Changelog

1.0

  • Removed libunique dependency (for Wayland compatibility)
  • Several code improvements and bug fixes
  • Ported Slingscold to GTK3

slingswarm's People

Contributors

echo-devim avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

slingswarm's Issues

Issue with Openbox

I'm using lxde on Arch Linux. When I installed slingswarm it haven't been displaying correctly - lxpanel and plank were on top of it. I have fixed this by adding this to my lxde-rc:

<application name="slingswarm-launcher"> <focus>yes</focus> <fullscreen>yes</fullscreen> </application>

So I propose you to add this to (future) troubleshooting section of the readme. There is another one, however. Sometimes launcher doesn't start with one click on it's icon (sometimes it does), so I have to click it several times to work. Same thing with launching it from terminal. Full output:

`$ slingswarm-launcher

(slingswarm-launcher:2496): Gtk-WARNING **: 20:46:57.179: Theme parsing error: gtk-contained.css:265:67: Using one color stop with linear-gradient() is deprecated.

(slingswarm-launcher:2496): Gtk-WARNING **: 20:46:57.179: Theme parsing error: gtk-contained.css:274:69: Using one color stop with linear-gradient() is deprecated.

(slingswarm-launcher:2496): Gtk-WARNING **: 20:46:57.179: Theme parsing error: gtk-contained.css:282:72: Using one color stop with linear-gradient() is deprecated.

(slingswarm-launcher:2496): Gtk-WARNING **: 20:46:57.179: Theme parsing error: gtk-contained.css:320:54: Using one color stop with linear-gradient() is deprecated.

(slingswarm-launcher:2496): Gtk-WARNING **: 20:46:57.180: Theme parsing error: gtk-contained.css:499:68: Using one color stop with linear-gradient() is deprecated.

(slingswarm-launcher:2496): Gtk-WARNING **: 20:46:57.180: Theme parsing error: gtk-contained.css:512:70: Using one color stop with linear-gradient() is deprecated.

(slingswarm-launcher:2496): Gtk-WARNING **: 20:46:57.180: Theme parsing error: gtk-contained.css:524:67: Using one color stop with linear-gradient() is deprecated.

(slingswarm-launcher:2496): Gtk-WARNING **: 20:46:57.180: Theme parsing error: gtk-contained.css:535:70: Using one color stop with linear-gradient() is deprecated.

(slingswarm-launcher:2496): Gtk-WARNING **: 20:46:57.180: Theme parsing error: gtk-contained.css:546:68: Using one color stop with linear-gradient() is deprecated.

(slingswarm-launcher:2496): Gtk-WARNING **: 20:46:57.180: Theme parsing error: gtk-contained.css:556:70: Using one color stop with linear-gradient() is deprecated.

(slingswarm-launcher:2496): Gtk-WARNING **: 20:46:57.180: Theme parsing error: gtk-contained.css:567:67: Using one color stop with linear-gradient() is deprecated.

(slingswarm-launcher:2496): Gtk-WARNING **: 20:46:57.180: Theme parsing error: gtk-contained.css:577:70: Using one color stop with linear-gradient() is deprecated.

(slingswarm-launcher:2496): Gtk-WARNING **: 20:46:57.180: Theme parsing error: gtk-contained.css:597:72: Using one color stop with linear-gradient() is deprecated.

(slingswarm-launcher:2496): Gtk-WARNING **: 20:46:57.180: Theme parsing error: gtk-contained.css:607:72: Using one color stop with linear-gradient() is deprecated.

(slingswarm-launcher:2496): Gtk-WARNING **: 20:46:57.181: Theme parsing error: gtk-contained.css:620:69: Using one color stop with linear-gradient() is deprecated.

(slingswarm-launcher:2496): Gtk-WARNING **: 20:46:57.181: Theme parsing error: gtk-contained.css:680:73: Using one color stop with linear-gradient() is deprecated.

(slingswarm-launcher:2496): Gtk-WARNING **: 20:46:57.181: Theme parsing error: gtk-contained.css:690:75: Using one color stop with linear-gradient() is deprecated.

(slingswarm-launcher:2496): Gtk-WARNING **: 20:46:57.181: Theme parsing error: gtk-contained.css:701:58: Using one color stop with linear-gradient() is deprecated.

(slingswarm-launcher:2496): Gtk-WARNING **: 20:46:57.181: Theme parsing error: gtk-contained.css:711:72: Using one color stop with linear-gradient() is deprecated.

(slingswarm-launcher:2496): Gtk-WARNING **: 20:46:57.181: Theme parsing error: gtk-contained.css:770:71: Using one color stop with linear-gradient() is deprecated.

(slingswarm-launcher:2496): Gtk-WARNING **: 20:46:57.181: Theme parsing error: gtk-contained.css:780:73: Using one color stop with linear-gradient() is deprecated.

(slingswarm-launcher:2496): Gtk-WARNING **: 20:46:57.181: Theme parsing error: gtk-contained.css:791:58: Using one color stop with linear-gradient() is deprecated.

(slingswarm-launcher:2496): Gtk-WARNING **: 20:46:57.181: Theme parsing error: gtk-contained.css:801:72: Using one color stop with linear-gradient() is deprecated.

(slingswarm-launcher:2496): Gtk-WARNING **: 20:46:57.183: Theme parsing error: gtk-contained.css:1304:68: Using one color stop with linear-gradient() is deprecated.

(slingswarm-launcher:2496): Gtk-WARNING **: 20:46:57.183: Theme parsing error: gtk-contained.css:1313:70: Using one color stop with linear-gradient() is deprecated.

(slingswarm-launcher:2496): Gtk-WARNING **: 20:46:57.183: Theme parsing error: gtk-contained.css:1322:67: Using one color stop with linear-gradient() is deprecated.

(slingswarm-launcher:2496): Gtk-WARNING **: 20:46:57.183: Theme parsing error: gtk-contained.css:1331:70: Using one color stop with linear-gradient() is deprecated.

(slingswarm-launcher:2496): Gtk-WARNING **: 20:46:57.184: Theme parsing error: gtk-contained.css:1542:73: Using one color stop with linear-gradient() is deprecated.

(slingswarm-launcher:2496): Gtk-WARNING **: 20:46:57.186: Theme parsing error: gtk-contained.css:2182:9: Not using units is deprecated. Assuming 'px'.

(slingswarm-launcher:2496): Gtk-WARNING **: 20:46:57.186: Theme parsing error: gtk-contained.css:2182:9: Expected a string.

(slingswarm-launcher:2496): Gtk-WARNING **: 20:46:57.188: Theme parsing error: gtk-contained.css:2594:72: Using one color stop with linear-gradient() is deprecated.

(slingswarm-launcher:2496): Gtk-WARNING **: 20:46:57.188: Theme parsing error: gtk-contained.css:2605:74: Using one color stop with linear-gradient() is deprecated.

(slingswarm-launcher:2496): Gtk-WARNING **: 20:46:57.188: Theme parsing error: gtk-contained.css:2614:71: Using one color stop with linear-gradient() is deprecated.

(slingswarm-launcher:2496): Gtk-WARNING **: 20:46:57.188: Theme parsing error: gtk-contained.css:2623:74: Using one color stop with linear-gradient() is deprecated.

(slingswarm-launcher:2496): Gtk-WARNING **: 20:46:57.189: Theme parsing error: gtk-contained.css:2910:55: Using one color stop with linear-gradient() is deprecated.

(slingswarm-launcher:2496): Gtk-WARNING **: 20:46:57.192: Theme parsing error: gtk-contained.css:3763:8: not a number

(slingswarm-launcher:2496): Gtk-WARNING **: 20:46:57.192: Theme parsing error: gtk-contained.css:3763:17: Using Pango syntax for the font: style property is deprecated; please use CSS syntax

(slingswarm-launcher:2496): Gtk-WARNING **: 20:46:57.192: Theme parsing error: gtk-contained.css:4014:14: not a number

(slingswarm-launcher:2496): Gtk-WARNING **: 20:46:57.192: Theme parsing error: gtk-contained.css:4014:14: Expected a string.

(slingswarm-launcher:2496): Gtk-WARNING **: 20:46:57.193: Theme parsing error: gtk-contained.css:4107:12: not a number

(slingswarm-launcher:2496): Gtk-WARNING **: 20:46:57.193: Theme parsing error: gtk-contained.css:4107:12: Expected a string.

(slingswarm-launcher:2496): Gtk-WARNING **: 20:46:57.193: Theme parsing error: gtk-contained.css:4113:14: not a number

(slingswarm-launcher:2496): Gtk-WARNING **: 20:46:57.193: Theme parsing error: gtk-contained.css:4113:14: Expected a string.

(slingswarm-launcher:2496): Gtk-WARNING **: 20:46:57.193: Theme parsing error: gtk-contained.css:4127:16: not a number

(slingswarm-launcher:2496): Gtk-WARNING **: 20:46:57.193: Theme parsing error: gtk-contained.css:4127:16: Expected a string.

(slingswarm-launcher:2496): Gtk-WARNING **: 20:46:57.193: Theme parsing error: gtk-contained.css:4132:14: not a number

(slingswarm-launcher:2496): Gtk-WARNING **: 20:46:57.193: Theme parsing error: gtk-contained.css:4132:14: Expected a string.

(slingswarm-launcher:2496): Gtk-WARNING **: 20:46:57.193: Theme parsing error: gtk-contained.css:4210:16: not a number

(slingswarm-launcher:2496): Gtk-WARNING **: 20:46:57.193: Theme parsing error: gtk-contained.css:4210:16: Expected a string.

(slingswarm-launcher:2496): Gtk-WARNING **: 20:46:57.193: Theme parsing error: gtk-contained.css:4250:12: not a number

(slingswarm-launcher:2496): Gtk-WARNING **: 20:46:57.194: Theme parsing error: gtk-contained.css:4250:12: Expected a string.
**
ERROR:arraylist.c:968:gee_array_list_real_get: assertion failed: (index >= 0)
Aborted (core dumped)
`
gtk-warnings appear even when everything works fine, though the last error shows up when slingswarm doesn't launch. And the number '968' is also always the same

gee_array_list_real_get: assertion failed

I get the following bug:

 ERROR:arraylist.c:1181:gee_array_list_real_get: assertion failed: (index >= 0)
 Bail out! ERROR:arraylist.c:1181:gee_array_list_real_get: assertion failed: (index >= 0)
 Aborted (core dumped)

Similar bug reports issued throughout in vala applications. Possible cause explained here

There is a fix in this link but I don't know how to apply it in this case.

How to configure launcher?

Hi, I'm very impressed with your work. Now, I want to ask some tips to configure the launcher. It's possible? Which files I must edit? Which parameters I can set? Many thanks for your work!

make error

make[2]: *** [CMakeFiles/slingswarm-launcher.dir/build.make:95: CMakeFiles/slingswarm-launcher.dir/slingshot.c.o] Error 1make[1]: *** [CMakeFiles/Makefile2:73: CMakeFiles/slingswarm-launcher.dir/all] Error 2

Build Error

Whenever I try to build it is is outputing
`CMake Error at /usr/share/cmake-3.17/Modules/FindPackageHandleStandardArgs.cmake:164 (message):
Could NOT find Vala (missing: VALA_EXECUTABLE)
Call Stack (most recent call first):
/usr/share/cmake-3.17/Modules/FindPackageHandleStandardArgs.cmake:445 (_FPHSA_FAILURE_MESSAGE)
cmake/vala/FindVala.cmake:55 (find_package_handle_standard_args)
CMakeLists.txt:25 (find_package)

-- Configuring incomplete, errors occurred!`

I really want to use this because I want an applications menu for plank

You want make a release?

In order to include in AUR repository and/or into Arch/Manjaro you build a release tag ?

Best
Stefano Capitani

Sorting completely random

Is there any way to have the launcher sort alphabetically? There seems to be no logic to the display sequence.

icons list is exceeding screen size

First of all, thank you for reviving slingscold project. I like it. I cloned this repository and built the application but when I launch it, application icon list exceeds screen on the right. Former slingscold used to exit when I click on empty area.
It would be faster if we could hide it instead of launching it every time. D-bus provides such a feature, but I don't know how to apply it.
Rastersof application launcher does it like

dbus-send --session --print-reply --dest=com.rastersoft.panther /com/rastersoft/panther/remotecontrol 'com.rastersoft.panther.remotecontrol.DoShow'

I tested it, it's pretty fast.

Build doesn’t load to src

Wouldn’t the build want to install directly to /src so the slingswarm-launcher command would work system wide from the get go?

Is this something that Is configurable through the installation files?

Installation missing libray libgnome-menu-3.0

Hi, when I try to install the launcher typing

 cmake ..

I get the error message : No package 'libgnome-menu-3.0' found

I tried to install the package via "sudo apt install libgnome-menu-3.0", I get the message : libgnome-menu-3-0 is already the newest version (3.13.3-11ubuntu2).

I am working on Ubuntu 18.10, Budgie desktop.

Is there any solution to it?

Rainer

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.