Issues with custom Google Chrome *.desktop file - google-chrome

I've got some issues with a custom *.desktop file for Google's Crome Browser for the Unity Quicklist. I've added some additional shortcuts for example for YouTube. The problem is that if no Chrome Window is opened it adds as I click the YouTube shortcut a new Chrome icon in the quicklist (so I have at least Chrome two times in thee list). If I click on "Open new window" or "open new incongito window" it works as it should and set the custom quicklist shortcut "as active".
The Shortcut Entry:
> [YouTube Shortcut Group]
> Name=YouTube
> Exec=/opt/google/chrome/google-chrome www.youtube.com
> TargetEnvironment=Unity
The shortcut Group is listed in the google-chrome.desktop file right after the two standard shortcut groups.
So, what is wrong? Is there any special argument I have to add (besides the '--app=' arg that not really results in a perfect solution)?

[Desktop Entry]
Version=1.0
Name=Google Chrome
GenericName=Web Browser
Comment=Access the Internet
Exec=/opt/google/chrome/google-chrome %U --blacklist-accelerated-compositing
Terminal=false
Icon=google-chrome
Type=Application
Categories=Network;WebBrowser;
MimeType=text/html;text/xml;application/xhtml_xml;x-scheme-handler/http;x-scheme-handler/https;x-scheme-handler/ftp;
X-Ayatana-Desktop-Shortcuts=phpMyAdmin;NewWindow;NewIncognito
[phpMyAdmin Shortcut Group]
Name=phpMyAdmin
Exec=/opt/google/chrome/google-chrome localhost/phpmyadmin
TargetEnvironment=Unity
[NewWindow Shortcut Group]
Name=New Window
Exec=/opt/google/chrome/google-chrome
TargetEnvironment=Unity
[NewIncognito Shortcut Group]
Name=New Incognito Window
Exec=/opt/google/chrome/google-chrome --incognito
TargetEnvironment=Unity
This works for me, I had to add the name of the shortcut to X-Ayatana-Desktop-Shortcuts=

Related

Keyboard shortcut to access Chrome bookmarks (mac)

I seem to be almost entirely mouse-free at this point, minus being able to access the Bookmarks bar in Chrome with a keyboard shortcut! I've searched the web quite a bit for an answer, but to no avail....any ideas or workaround?
EDIT: Use Firefox. You can CMD + B --> will open Bookmarks navigator, and you can type to search, hit TAB, and then arrow through results
If you are hoping to click on the actual bookmarks on your Google Chrome browser, using keyboard shortcuts, on Mac, you can make use of Mac's Keyboard shortcuts feature.
Open System settings app
Open Shortcuts section under Keyboard
Choose App shortcuts
Click +
Choose Google Chrome as application
On the title field, enter Bookmarks->{Bookmark-name-goes-here}
Set a hotkey
Save the changes and you can now use this hotkey to call that bookmark. This basically is setting a shortcut to your browser's menu item.
Holmes is an extension that allows a shortcut activated bookmark search similar to Garrett's answer but without the "read and change all the data on any websites that you visit" permission.
Install the tool then press shift+alt+H
⌘ + Option + b
or
⌘ + Shift + b
Try this shortcut
cmd+opt+B
I found a chrome plugin that is super useful and goes beyond what I was hoping for. It's called Bookmark Navigator. Here is the link https://chrome.google.com/webstore/detail/bookmark-navigator/bfibpphfhdpgkmbpkfmhdiklgcfmmkha
Below is a picture of what it looks like. The tool is summoned with cmd + b, and then you can start typing to search all of your bookmarks. You can press enter to access the bookmark at top of list, or use arrow keys to navigate further down the list.
This is the fastest and most user friendly option I have found.

Google chrome lock in fullscreen

I have a web application (directory slides) program which is preferable to run in fullscreen on google chrome. Now the problem is i would like to limit the user access to the browsers functionality so when the browser is in fullscreen i would like to lock it.
Is there any way to do these?
This is generally referred to as "Kiosk mode," and Chrome does appear to support it. From https://lifehacker.com/use-chromes-kiosk-mode-to-limit-someones-access-to-yo-1243433249:
Open up Chrome's settings.
Under "Users" click "Add new user."
Give the new profile a name and picture. Make sure "Create a desktop shortcut for this user" is checked. Click "Create."
Right-click the newly-created shortcut and select "Properties."
In the "Target" field, add "--kiosk" (no quotes) to the end.
Click "Apply."

Is there a way to add a chrome app shortcut to my bookmarks bar in Google Chrome?

Some Chrome extensions have bookmark icons that are automatically added to the bookmarks bar, but, so far as I can tell apps such as Postman can't be added directly to the shortcut bar.
If I want to launch an "app" (i.e. not one of the extensions which already show up in the toolbar) such as this, I have to open the "Apps" shortcut window, and then find the app (or launch it separately from the app launcher).
I would very much like to have a bookmark to a specific App in the bookmark bar. Is this possible?
It's not possible.
The closest implementable thing is an extension with a toolbar icon that launches specifically the app.
Or toolbar popup launchers like Apps Launcher or AppJump App Launcher and Organizer.
Not the direct answer to the question, but this question is about quickly launching signal.
Two other solutions include:
https://github.com/WhisperSystems/Signal-Desktop/pull/1262
Add a shortcut to your Launcher or Desktop
Have Signal Desktop already open
Right our Double click on your app icon
On Mac: Choose Options > Choose Keep in Dock
On Windows: Select More > Pin to taskbar
The shortcut Alt + S, however this is being Depreciated:

Google chrome, searching in resources panel is not available any more?

Just now, I noticed I can't search in resource panel.
In Google Chrome old version, press Ctrl + F and there is nice search pop-up at the bottom in resources panel just like the image showing bellow.
Is it gone permanently or it can be enable somehow?
If you are using Chrome Canary, as of this writing, follow these steps to search a tab:
Open Devtools
Press the Escape key to open the console drawer from any main tab (Resources, Source, etc).
Select the search tab on the console drawer (see image below)
Enter your search criteria
Press the Enter key

Assign the Shortcut key for Chrome Extension Option page

How can I assign my Google chrome extension option page with shortcut key.
The following works almost as good as a shortcut,
Go to location bar, press Ctrl+L
Type "ce" OR "cs",
Press Enter.
After setting it up as follows,
What I do is, I set them up as search engines on
chrome://settings/searchEngines
Name - Shortcut - URL Chrome Extensions - ce - chrome://extensions/
Name - Shortcut - URL Chrome Settings - cs - chrome://settings/
http://productforums.google.com/forum/#!topic/chrome/hqYtz15LrgQ
Hope this helps!
Currently there is no better way other than injecting content script to all pages with keypress listener. As you would imagine this approach not only isn't very effective, but wouldn't work on some pages (chrome://newtab would be the most annoying one).
Unless assigning a shortcut to your options page is crucial, I wouldn't bother doing it.
I think the options page is meant to be open only from the extension control panel links. However, to solve the shortcut part of the problem you can use the new commands API which will free you from having javascript listeners injected on every page. The shortcuts will work even if you don't have a page loaded in your tab.
You could use this autohotkey script:
#IfWinActive, ahk_class Chrome_WidgetWin_1 ; Shortcut functions only on Chrome
^q::Send, ^t chrome://extensions/ {enter} ; functioning script
#IfWinActive
The second line is the script and means that if you press Ctrl+q (^ stays for Crtl) the script opens a new Tab (Ctrl+t), type the address (chrome://extensions/) and press enter.
You can change the shortcut key changing what is before the ::.
Then I suggest you to put the file .exe in the startup folder.