Coder Social home page Coder Social logo

Comments (6)

keevitaja avatar keevitaja commented on May 18, 2024

So by launching Google twice will result in 2 windows? If yes, then Ubuntu Dash has the same feature... So IMHO it is expected behavior!

from albert.

ravanscafi avatar ravanscafi commented on May 18, 2024

It could act like the Alt + Tab behavior, would make it easier to navigate without remembering/hunting down where the App is on Alt Tab.

from albert.

keevitaja avatar keevitaja commented on May 18, 2024

It has nothing to do with Albert. Please see the launcher in /usr/share/applications

from albert.

ravanscafi avatar ravanscafi commented on May 18, 2024

It's the default behavior of Alfred, a well accepted one.
It could be at least possible with a modifier key, the intention of Albert is to improve a person's workflow, right? So when I say "Sublime Text", just bring it to me, if it's open, that's the one I want, if it is not, just open it.

from albert.

ManuelSchneid3r avatar ManuelSchneid3r commented on May 18, 2024

Well I think this feature would be cool, but there is no chance for albert doing this without introducing a lot of hackish and especially DE dependant code. Responsible for this desktop feature is the desktop environment and its subprograms. OS X handles applications different than Linux. The mentioned behavior is general to the OSX applications, not only when started through alfred. (Check the dock) In Linuxland apps are started with dekstop entries and, as keevitaja mentioned, the commands are specified in the desktop entries in /usr/share/applications. It is up to an application how they handle several executions of the same process, e.g. Thunderbird will have your desired behaviour, xterm will not and chromium will let you specify it with a commandline switch.

Maybe in the far future, when the pluginsystem is more mature there will be a plugin that implements this feature and maybe if you are interested and patient you could write it 👍 😄

from albert.

ravanscafi avatar ravanscafi commented on May 18, 2024

Sure, I'll look into it once it's done.
I didn't know that this was the default behavior on OS X, it makes things really easier (but perhaps brings other problems? 😉).
I just thought that we could use something as simple as wmctrl -a "APPNAME" or save the proccess PID when launched and use it somehow.

from albert.

Related Issues (20)

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.