Coder Social home page Coder Social logo

home-sweet-gnome / dash-to-panel Goto Github PK

View Code? Open in Web Editor NEW
3.7K 57.0 273.0 23.99 MB

An icon taskbar for the Gnome Shell. This extension moves the dash into the gnome main panel so that the application launchers and system tray are combined into a single panel, similar to that found in KDE Plasma and Windows 7+. A separate dock is no longer needed for easy access to running and favorited applications.

License: GNU General Public License v2.0

JavaScript 98.50% CSS 0.76% Makefile 0.74%

dash-to-panel's Introduction

   

Introduction

Dash to Panel is an icon taskbar for Gnome Shell. This extension moves the dash into the gnome main panel so that the application launchers and system tray are combined into a single panel, similar to that found in KDE Plasma and Windows 7+. A separate dock is no longer needed for easy access to running and favorited applications.

Beyond that, just about every aspect of the panel is fully customizable. From positioning and scaling panel elements to running indicators to multi-monitor display, to window previews and even intellihide, Dash to Panel has everything you need to make your workspace feel like home.

Features

Customizable appearance
screenshot
Hide & show panel elements and set their positions, sizes & colors

Customizable running indicators
Metro Ciliora/Dashes
Ciliora Squares/Segmented
Dashes Dots/Solid
Set position, style, weight & color of running indicators to easily and quickly identify focused and unfocused applications

Live Previews on Hover
screenshot
Hover over the launcher icon for an open application to get a live window preview

Launch by Number
Optionally launch your favorite applications via keyboard

Panel Intellihide
Intellihide
Hide and reveal the panel according to your set preferences

Additional Features Feature Implemented
Add "Show Desktop" button to panel
Isolate running apps by workspaces and/or monitors
Custom click behaviors (launch new window, cycle open windows, minimize, etc)
Integrate native Gnome appMenu into right-click secondary menu
Multi-monitor support
Dynamic transparency
Ungroup application windows
Export and import settings

Installation

To install the most recent official release: Visit Dash-to-Panel at GNOME Extensions

To install a development version from source, please see the Installation wiki page.

FAQ

How do I customize the panel? See the Wiki

How do I embed my bottom left notification drawer into the panel like a system tray? Top Icons Plus or (K)StatusNotifierItem/AppIndicator Support

How do I add a traditional start menu? Arc Menu

How do I disable the hot corner? No Topleft Hot Corner

How do I move the notifications to somewhere other than the top center? Notification Banner Reloaded

How do I display Minimize & Maximize buttons? In the Tweak Tool application, turn on Windows > Titlebar Buttons > Minimize & Maximize.

How do I reset the extension to its default settings? dconf reset -f /org/gnome/shell/extensions/dash-to-panel/.

Themes

While this extension works well with most popular Gnome Shell themes, the following themes are known to have explicitly added custom styles for this extension:

Compatibility

This extension has been tested with Gnome 3.18+.

This extension manipulates the Gnome Main Panel, aka Top Bar. So, most other extensions which operate on the top bar should be compatible.

Volunteers needed!

This extension could be even better with your help! Any items in the issue tracker labelled help wanted or good first issue are up for grabs. For more info, see the Contributing wiki page.

Credits

This extension is developed and maintained by @jderose9 and @charlesg99.

Significant portions of code in this extension were derived from Dash-to-Dock.

Additional credits: This extension leverages the work for ZorinOS Taskbar (used in ZorinOS) to show window previews and allow the dash from Dash-to-Dock to be embedded in the Gnome main panel. Code to set anchor position taken from Thoma5/gnome-shell-extension-bottompanel. Pattern for moving panel contents based on Frippery Move Clock by R M Yorston. Ideas for recursing child actors and assigning inline styles are based on code from the extension StatusAreaHorizontalSpacing.

Thanks to the following people for contributing via pull requests:

  • @franglais125 for launching apps by number (w/ overlay), bug fixes, and issue support
  • @LinxGem33 and @sbarrett322 for artwork, logos, screenshots and design effort
  • @dziku1337 for peek mode in window previews
  • @robrobinbin for configuring appMenu on/off in the panel
  • @MartinPL for toggling favorites on/off in panel
  • @jackwickham for thumbnail middle and right click actions
  • @abakkk for centering the taskbar icons in the panel, and animated taskbar hovering
  • @quasoft for changing of font weight of ungrouped application titles
  • @jordanribera for using icon's dominant color as running indicator color
  • @tper0700 for dynamically building context menu based on system capabilities
  • @levacic for configurable minimized application title font color
  • @l3nn4rt for toggling workspace switch popup
  • @hlechner for adjustable show desktop line color and window preview icon size
  • @ArtyomZorin for animated urgent icons
  • @jvpessoa10 for additional click window cycle options
  • @marksvc for assigning percent of display for panel length
  • @philippun1 for GNOME 40 support 🚀
  • @HaselLoyance for toggle for notification counter badge
  • @rastersoft for Desktop Icons NG integration

Bug Fixes:

@imrvelj, @Teslator, @bil-elmoussaoui, @brandon-schumann, @sw9, @rockon999 , @lexruee, @3v1n0, @freeroot, @moqmar, @ArtyomZorin, @lkc0987, @saibotk, @vanillajonathan, @Zkdc, @leebickmtu, @l3nn4rt, @Melix19, @Aikatsui, @melix99, @kyrillzorin, @oneshadab, @CorvetteCole, @vantu5z, @spectreseven1138

Documentation Improvements:

@BoQsc, @zakkak, @dandv

Translations:

@frnogueira / @victorwpbastos / @vagkaefer (pt_BR), @zeten30 (cs), @franglais125 / @calotam / @oeramirez (es), @LaurentTreguier / @SolarLiner (fr), @elsieholmes (uk), @hosiet (zh_CN), @jonnius / @linuxr01 / @daPhipz (de), @urbalazs / @pappfer (hu), @crayxt (kk), @pkomur / @MartinPL / @alex4401 (pl), @AlexGluck / @GoodNike / @rjapolov / @vantu5z (ru), @sicklylife-jp / @ryonakano / @nexryai (ja), @oltulu / @TeknoMobil / @daenney (tr), @sbadux / @kowalski7cc / @l3nn4rt (it), @OriginCode / @pan93412 (zh_TW), @ojn (sv), @frandieguez (gl), @kuroehanako / @MarongHappy (ko)

License & Terms

Dash to Panel is available under the terms of the GPL-v2 or later license See COPYING for details.

dash-to-panel's People

Contributors

abakkk avatar alewicki95 avatar alex4401 avatar alexgluck avatar amereyeu avatar andyholmes avatar artyomzorin avatar charlesg99 avatar franglais125 avatar frnogueira avatar goodnike avatar hlechner avatar hosiet avatar jderose9 avatar jonnius avatar l3nn4rt avatar laurenttreguier avatar lexruee avatar marksvc avatar martinpl avatar nexryai avatar philippun1 avatar pkomur avatar serdarsaglam avatar sicklylife-jp avatar solarliner avatar tper0700 avatar vantu5z avatar xalt7x avatar zeten30 avatar

Stargazers

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

Watchers

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

dash-to-panel's Issues

Show panel in all monitors

Hi, It would be great if there was a setting to choose whether to show the panel in all monitors. The same setting could also give the option to show the panel in a specific monitor. Right now the panel only appears on the primary monitor.

Thanks.

popup-menu class used

Please don't use the popup-menu class for this panel/taskbar. It is semantically incorrect and causes issues with some themes.

initial release

Would you mind creating a tag/release of an initial version? It would be helpful for those wishing to create system packages.

use the dash-to-dock containers and css classes

Right now this extension doesn't replicate the exact containers and classes of the dash-to-dock extension and as a result doesn't benefit if a theme has a style for the dash-to-dock extension.

Swarm Animation is partially disabled

If we unchecked the "Animate Show Applications" swarm animation
will be disabled in case
A. We click the 9-dot button
B. We +A

Swarm animation wont be disabled in case
A. We click the 9-dot button when we are in windows overview
B. We press to leave application overview

Furthermore in a kinda different bug, swarm animation always starts and ends from the left side, when the 9-dot button is on the bottom

Windows Thumbnails are too large

and also there is a lots of padding between them.
can be an option so we can make them smaller, and compact (reduce padding / margin)

Problem in Fedora 25

After installing the extension, in tweak tools, the extension tells me, "Error loading the extension". I have uninstalled it several times. Then, he tells me the following error:

  ReferenceError: Config is not defined

Stack trace:
  InitTranslations @ / home / killer / .local / share / gnome-shell / extensions / dash-to-panel @ jderose9.github.com / convenience.js: 50
  Init @ / home / killer / .local / share / gnome-shell / extensions / dash-to-panel @ jderose9.github.com / prefs.js: 401
  Application <._ getExtensionPrefsModule @ resource: ///org/gnome/shell/extensionPrefs/main.js: 75
  Wrapper @ resource: ///org/gnome/gjs/modules/lang.js: 178
  Application <._ selectExtension @ resource: ///org/gnome/shell/extensionPrefs/main.js: 89
  Wrapper @ resource: ///org/gnome/gjs/modules/lang.js: 178
  Application <._ onCommandLine @ resource: ///org/gnome/shell/extensionPrefs/main.js: 239
  Wrapper @ resource: ///org/gnome/gjs/modules/lang.js: 178
  Main @ resource: ///org/gnome/shell/extensionPrefs/main.js: 377
  @

: 1

App icons respond inconsistently to touches when "Show window previews on hover" is on

I'm really loving this extension on my convertible laptop (Late 2016 Kaby Lake HP Spectre x360, Fedora 25, GNOME 3.22) because the double-height bottom bar provides much bigger touch targets when using the machine in tablet mode.

However, touch behavior on app icons is inconsistent: sometimes simple touches are interpreted as a left-click (good), sometimes as a click-and-hold. Seems like the threshold for interpreting something as a click-and-hold is too low.

Actual tap-and-hold (touch and hold finger there for a full second or longer) is correctly interpreted as a click-abd-hold/right-click 100% of the time.

Everything on the right-side of the panel responds to touches perfectly, including extensions that put things there (OpenWeather, Topicons Plus).

I really love this extension and would be happy to work with you to debug the issue.

[Feature request] square focus indication

I would like to request an additional focus indication for open/active/inactive windows. The bar and dots used now are imo not clear enough, especially the dots (where I have to look closer at the panel to see them).
So I think, a square around the icons is comfortable for the eyes and looks good (my opinion). Am not requesting to replace the one used now, but rather an option to choose which one to use, so that people who like 'the bar/dots' can keep using it.
See screenshot for how it could look like ;)
screenshot_20170128_145224

Option to Move Panel to Left or Right / Vertical Panel

In today's world where 16x9 1080p monitors are ubiquitous, vertical real estate is precious. Unity defaults to one. Windows 10, KDE, and Dash-to-Dock(which this is based on) allows vertical panels. Please consider enabling this option for your widescreen users.

[feature request] Smart Hiding

Well that's it. Will be extra sexy
Now it excludes heavyweight dash-to-dock + task-bar.
FAVORITE EXTENSION.

maybe option to play with opacity, but not sure.
Love!

Icons too small on HiDPI screen

I use a Macbook pro with Window scaling set to 2 in the gnome tweak tool. The icons don't look like they are being scaled like the rest of the Gnome Shell interface. Screenshot as follows:

screenshot from 2017-01-09 07-28-04

High gnome-shell CPU consumption with topicons-plus

On my environment (Fedora 25/Wayland), the extension causes a high gnome-shell CPU consumption (almost 100% on one core) as long as it is enabled with the Topicons-plus extension (I am the author of this extension).

A quick guess is that it might be competing on a similar setting.

Otherwise: very nice extension, I would love to use it. Thank you ;-)

Make dots for background applications bigger

I have a hard time seeing the dots that are used for background applications. Would it be possible to make them a bit wider then they are now? Admittedly part of this is because I use a theme with a darker color for selection color, as a result it doesn't standout well against the black background of the panel.

GNOME Version Support

Hi,

I am trying to use your extension on my Ubuntu 16.04 LTS but the GNOME Tweak Tool is telling me that the extension is incompatible with the shell version. My version of GNOME is 3.18.5.

I'm presuming that this is compatible with 3.20, but if it is backwards compatible with 3.18 it would be nice to use. Otherwise perhaps adding a note to the readme with version support would be good.

Cheers.

Ability to move notifications pop-up

Hi, thanks a lot for your extension.

Is it possible to add functionality to move notification to bottom right corner?
Because as for now it's not convenient to see notification on the top center position.

Thanks.

Severe Lag on Specific Hardware while also using Dynamic Panel Transparency extension

I am experiencing a severe lag in many functions of GNOME Shell while this extension is enabled.
This occurs though, only on my laptop. On my desktop there are no issues whatsoever.
I have nearly the same software setup on both my laptop and desktop (Solus, GNOME 3.22, extensions, etc.), and I had attempted to disable the other extensions, to make sure that the issue is not because of a compatibility issue with one of the extensions.
The lag is present both on X-Server and Wayland, and had also existed on GNOME 3.20.

My laptop is a Lenovo IdeaPad 300 15", running on an Intel Core i5-6200U without any dedicated GPU's, if that helps.

Delay before appearance of window preview

When I'm running my cursor along my window icons, the window previews appear very quickly which is unnecessary and doesn't look very nice. I'd like if there was a ~0.5s delay before activating the window preview.

A simple fade-in transition would go well too.

This extension causes documents opened from global search to appear in separate gedit windows

Fedora 25 + GNOME 3.22 + Kernel 4.10-rc3

Steps to reproduce:

  1. Open Gedit with some text document
  2. Use GNOME's global search to find and open another text document

Without this extension, the second document opens in the existing Gedit window.
With this extension, the second document opens in a new Gedit window.

There's already a separate GNOME extension that produces "new instance" behavior, so there's no need to re-implement it in this one, if that's what's going on here.

Collaborative Work !

Hi jderose9

I recently came across your extension dash-to-panel, fantastic job by the way.
I’m the developer of OSX-Arc collection and I’m currently working on a menu for Gnome 3 based on the zorinOS menu I was wondering if you would be interested in collaborating on this project I’ve made a small start so far but would be nice to have an extra pair of eyes on this as JavaScript is not my native programming language I’m doing OK but slower than what Id like :) (I’m from a computer science background).

Link to the project -Arc Menu

Kind Regards - LinxGem33

Appearance -> "Tray Font Size" is not applied to the input language indicator on load

I am running Antergos Linux (64-bit) with Gnome version 3.22.2 at 4K resolution with Tweaks -> Fonts -> Scaling Factor set to 1.50 and Tweaks -> Windows -> HiDPI -> Window Scaling set to 2.
I have 3 input sources set: English (US), Russian and Japanese (Anthy). I adjusted the tray font size and set it to 16px because the original size was too small in 4K. Everything works fine when you change the value, but after restarting Gnome the styles are not applied to the language indicator.

I can always reproduce this issue just by restarting gnome-shell (by typing 'r' in the "Enter a Command" dialog).

Please check the screenshot. I have some experience with gjs and can test any workarounds for that if needed.

Right now I have open Dash-To-Panel settings every time I boot my computer and set the tray font size manually.

screenshot from 2017-01-15 12-16-24

Integrate AppMenu into launcher

In my option GNOME 3 had many design flaws, but through the years many of these were solved. However one of the last things still bugging me is the AppMenu.

I don't like the menu on the panel, but I hate the fall back mode as a colourful, out-of-place icon on the window itself even more. I tweaked your extension to add the menu back to the panel, in the right container where it doesn't bother me too much, and I'm quite happy with that.

afbeelding

I was wondering however if it is possible to integrate the items of the AppMenu in the right-click menu of the launcher. This would be a more optimal solution, in my opinion.

afbeelding

What do you think? Do you think this is possible?

Sidebar

Hi,
Would it be possible to add support to position the bar on the left side of the screen, along with options for top and bottom?

Thanks

0 px App Icon Margin not working

The minimal App Icon Margin I can set is 1 px, setting it to 0 px has no effect (the previous setting is kept). I've tested it with 3.20 and 3.22.

Btw: Awesome extension! Thank you so much :)

Bug: Applications not scrollable if "Animate Show Applications" is disabled

Applications not scrollable if "Animate Show Applications" is disabled.

Way to reproduce:

  • go with the mouse to the top left corner or press the Windows key
  • search for some application and launch it
  • open applications menu with the "Show Applications" button that dash to panel provides
  • appliactions are not scrollable

Workaround:

  • go with the mouse to the top left corner or press the Windows key
  • a hide applications animation will occur and now applications can be scrolled again

Dragging Files Between Windows

Would it be possible to allow for files to be dragged between windows? It would be nice to be able to drag a file from one window, hover it over the icon or preview of a second window, and have the second window be brought to the front. This would be helpful for dragging files from a file manager to Google Drive.

Cycle windows should focus in LRU order

  • App A
    • window 1
    • window 2
  • App B
    • window 3

Clicking two times on A brings window 2 to the front. Clicking on B switches to window 3. Now clicking on A again brings windows 1 again, but I think it should be window 2 (the one which was last recently used).

Sometimes thumbnails disappear

Sometimes when I mousein to app icon and try to move cursor to thumbnails, they disappears. Please check the video.

Ubuntu 16.10

Package: gnome-shell
Version: 3.22.2-1ubuntu1~ubuntu16.10.1

Quick access to options

Instead of going to Tweak Tool, finding Dash To Panel extension and then open preferences, can be a "Preferences" menu option when we right click the 9-dot button? Or if someone has disabled it, when we right click somewhere in the empty panel space?

I think though that the best way is just by right click on 9-dots, rather anywhere on the panel. So if someone has disabled that, perhaps not getting that option is okay

Move the tray panel to the right

It should be great to have the extensions on the right
capture d ecran de 2017-01-08 15-47-55
If you don't want to do this, i can create an extension to change it position :)

Window preview inconsistent behavior with flatplat theme

When using the flatplat theme, hovering an open app icon and slowly moving the cursor towards the preview popup will make the popup disappear. It makes the window selection very hard, even when moving the cursor fast.

It seems there is a gap between the popup and the taskbar. I can't reproduce this issue with the default theme.

nana-4/materia-theme#101

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.