sciancio / connectionmanager2 Goto Github PK
View Code? Open in Web Editor NEWSimple GUI app for Gnome 3 that provides a menu for initiating SSH/Telnet connections
Simple GUI app for Gnome 3 that provides a menu for initiating SSH/Telnet connections
When I click on the connection manager settings, the preferences window pops up. However, when I click on "Add Host", "Add App" or "Add SubMenu" nothing happens. Clicking on "Add Separator" causes a separator to appear. I have also made sure that the ~/.connmgr file exists and has the correct permissions. I tried deleting that file and a new one was successfully created after bringing up the Connection Manager Preferences and adding a separator.
I am running Ubuntu 12.04 64-bit with Gnome 3.4.1 and Python 2.7.3.
The readme.md file says that the plugin version is 0.7.3. I even tried installing the latest version from the git repository with the same result.
Looking Glass reports no errors, and the plugin itself reports no errors.
README.md has become outdated and incorrect. The following:
Copy the tarball to $HOME/.local/share/gnome-shell/extensions and unpack it. A directory called [email protected] should be created.
should be reworded to something like this:
Download the zip file to $HOME/.local/share/gnome-shell/extensions and unpack it. A directory called connectionmanager2-master should be created. Rename it to [email protected]
.
Although I am pretty happy with Guake and Terminator support - which rocks, I am thinking about moving to LilyTerm. As I do not want to leave this pretty cool Gnome extension, I am asking: any plans to support that?
Unfortunately I have no idea how to open up a new tab in LilyTerm beside keybindings :(
Hi,
I am on Debian Wheezy, which has currently GNOME 3.2.1.
I experience the following:
If no hosts are in the list, the button seems to do nothing.
If one enrty is existent, I get the seperator for imported config, but nothing is imported.
When the PC is locked, the ConnectionManager is fully functional. This allows anyone to see the configured ssh and what is worse, launching the connections. When the user unlocks the account, all connections are open.
I think that is better that ConnectionManager can not be used from lockscreen.
I've just found your extension and tried to use it importing my .ssh/config profiles but it only creates an empty "Imported_from_SSH_config" folder.
How can I debug whats going wrong?
On RHEL7.6 (Gnome 3.28) the latest version of comnection manager does not load:
2019-05-08T10:00:49.637228+02:00 bn2lts101 journal: Extension
"[email protected]" had error: SyntaxError: JSON.parse:
unexpected character at line 1 column 2 of the JSON data
Which JSON data could that be? How to debug the issue?
The ssh configuration should be read/write from/to ~/.ssh/config, so this configuration could also be used for the ssh command line client or any other program which uses this configuration.
So this also had the advantage that ssh connections should be already configured if a ~/.ssh/config file exists when starting connectionmanager for the first time
While gnome-terminal is working quite fine it is missing some features that terminator offers out of the box. As currently only the profile selection is somewhat bound to gnome-terminal it would be nice to also add support for different terminal applications like terminator.
For implementation it would probably make sense to abstract the call to the terminal program and decide based on a global (or if you think it's worth it) also a per session config which terminal program to start.
They way the command line options would need to be assemlbed would be taken care by the abstraction to do the actual call to start the terminal application.
Perhaps you should specify that it requires python2-gconf in order to work..?
Hello would it be possible to provide rxvt support for the terminals? It's one of the terminals I use quite a lot.
urxvt = unicode rxvt support
urxvt-256color = one with 256 colors support.
thanks
Finally I replaced it by argos (https://extensions.gnome.org/extension/1176/argos/)
Made my own Connection manager
Hi,
any plans on supporting 3.12?
I would have a timid feature request: adding gauke support. Guake is a top-down terminal for Gnome which is capable of running tabs.
It would be really neat if Connection Manager could have an option to use Guake by default (like terminator support), and open up a new tab on the running Guake terminal. In bash, this is really easy to manage, eg.:
guake --new-tab --rename-tab=$NAME.OF.THE.TAB --execute-command="ssh $PARAMETERS" &
Would open up a new tab in the running Guake instance, name that tab and execute an initial command there.
I am just not familiar with python unfortunately, but I am sure this could be solved easily with some kind of system call.
That is: get password from a keyring and use it to connect.
I installed it from extensions.gome.org and wanted to give it a spin, but unfortunately the settings window doesn't open when I click on the icon and select “Connection Manager Settings”.
There is a problem with profile set in Connection Manager Settings.
If I want to add new host I must fill "Title", "Host" "Profile" and "Protocol", but there is a problem with "Profile" - I don't have option to choose, then I get info: You must enter title/host/profile.
I had old .connmgr file, but I've backup it and there is no change.
I'm using Gnome Terminal with your Extension.
Maybe there is other file that CM stores some config parameters?
Yesterday I've migrated to Fedora 19 (backup of all home directory and install on clean disk). Of course I've deleted old version and installed newest from github.
Please consider setting an icon instead of the 'CM' label. Nothing terribly wrong. But
personally I find its placement near the user status indicator a little confusing when
trying to find the CM. This will require of bundling a '.svg' file with the extension.
I've commented at: 247bf61#commitcomment-781066
Code snippet at: https://gist.github.com/1450230.js
After Gnome 3.8.2 in Fedora 19 64 bit goes into the screensaver mode and you return from it the font size in connectionmanager is very large making it impossible to use and items in subfolders.
I usually have to create two entries in for each host, one for my normal user and one for our deployment user. It would be great if I could clone an entry and then edit the new entry. Maybe append clone or dup to the title.
Just upgraded to Fedora 26 and connection manager in gnome-shell doesn't want to work. I updated shell-version in metadata.json to match the gnome-shell 3.24 and still no joy.
Looking glass reports this error:
TypeError: Search.SearchProvider is undefined.
Would really like to get this extension working, I use it extensively at home and work.
Just 'upgraded' to Ubuntu 12.10 (gnome-shell 3.7.1) and my favourite extension no longer works. Oh man :( Please could support for gs3.7 be added?
Please provide a 3.6 gnome-shell support, thanks
I had to change the Gnome version in metadata.json file and all worked except the CM Search. This is a really useful feature, especially when having a lot of connection settings.
This is my environment:
Let me know how can I help.
This is a great extension - unfortunately it shows as incompatible in gnome 3.18 (fedora 23)
Title pretty much says it all... how do I collect information to help you debug this?
not able to use connection manager after updating to current centOS release. Before it works fine.
Nov 28 15:24:05 lnx-rbg04 journal: JS WARNING: [resource:///org/gnome/shell/ui/extensionSystem.js 71]: reference to undefined property "[email protected]"
Nov 28 15:24:05 lnx-rbg04 org.gnome.Software: 14:24:05:0936 Gs no app for changed [email protected]
Nov 28 15:24:05 lnx-rbg04 journal: JS WARNING: [/home/fb/.local/share/gnome-shell/extensions/[email protected]/extension.js 100]: Too many arguments to function GLib.file_get_contents: expected 1, got 3
Nov 28 15:24:05 lnx-rbg04 journal: Extension "[email protected]" had error: TypeError: this.child.Name.quote is not a function
I cannot activate "Connection manager" in Gnome 3.24.2. (Fedora 26)
It tells me "error loading extension". If you require any further information, tell me how I can provide it.
CM -> Connection Manager Settings
connmgr.py execute python2, but link to python not exist.
It crashes on Ubuntu 14.04 right after trying to add something on the configuration window after the installation. Could not debug on looking glass, probably because of the python dependencies.
Thanks,
Hi,
I often use your extension and it would be really nice if it could be possible to specify connection parameters, e.g. the connection port for ssh. Since some of the parameters might be specific to the application used to connect (ssh, mosh, ...) it would be sufficient to let the user specify the parameters in a raw fashion.
Thanks,
Arianna
Hi sciancio,
It's a great extension, and a good point to include terminator as an alternative to native terminal.
Using it I saw it didn't open the connections in tabs when selecting terminator, and I saw in the wiki it's a limitation in the design. In the wiki you say terminator doesn't support tabs, but I'd say it does, at least in the release I'm using (0.95-1 in Ubuntu 11.10).
I was wondering if this feature could be included in a future release.
By the way, i just tried to edit the js code, and remove the restriction, and it is working for me. (Not sure if it should be the only change, or if this change can have collateral damages.)
Line 453, before:
if ( (this._menu_open_tabs) && (!this._terminator_as_terminal) ) {
Line 453, after:
if (this._menu_open_tabs) {
Thanks.
Lovely extension. I'm using the GitHub version on 3.8. Problem occurs when I open the GUI, and click on any of the Add App, Add Host, Add SubMenu or Clone It buttons. The GUI always closes. My menu was originally created in 3.6. So, I don't see to be able to edit it. I can insert separators through, but thats about it. Ideas?
Arch Linux x64 with gnome 3.6 python2-gconf installed.
It wasn't working after enabling off the extensions website and I installed python2-gconf which made it work for a period of time. After some web browsing it stopped working again. Even after restarting the shell and a restart of the PC I can't get the settings to open.
What could I do to troubleshoot this?
My .ssh/config looks like this:
Host example.de
HostName example.de
User them
Host example.com example.org
User me
However, ConnectionManager is not able to parse it. I did a look into the code, and there are a couple of problems here:
Host example.com example.org
is not translated into two entries, but only oneHostName
entry, the previous entry is reused.All in all this results into
example.com example.org
containingme@[email protected]
Expected behavior would be:
Host
by \s+ and create entry for each of resulting itemsHostName
is not set, use value of Host
(that is the current item) insteadGiven the above example, the following result is expected:
example.de
: [email protected]
example.com
: [email protected]
example.org
: [email protected]
On ssh menu there was the ability to use -> www.example.com | tee $HOME/ssh_logs/www.log
this would write to a logfile. It seems that when this is used the connection just ceases after login. are there any shell characters needed to prevent this?
Some people find it useful to run their ssh-deamons on other ports than 22.
Is there a way to show an icon for apps in CM Search? Currently they just show up as ...
for me.
It seems this is not up to date with the latest Gnome 3.8
Fails to load after restarts consistently and showing the following in error in looking glass:
TypeError: this.viewSelector.removeSearchProvider is not a function
It seems to load properly after refreshing it from github but on subsequent restarts fails the above error.
FYI, I'm using Fedora 30 beta
Hi,
Any chance you would consider making the extension Cinnamon compatible, or bundle some instructions how to get it to work with Cinnamon?
I have tried; linuxmint/cinnamon#103
But this does not seem to work.
If you need some debug information, please let me know how to collect that for you.
Using cinnamon-1.6.7 on Fedora 18.
Gr, J
Since it is built on the idea of sshmenu, it would be nice if it could import the sshmenu config file.
It would be really cool if hosts could be reached by mosh besides bare ssh. It can be found on Github too.
I am aware of the fact that this can be done ATM too by adding connections as applications instead of hosts, just created this ticket to ask if you'd ever plan to add this option to your great piece of Gnome extension :)
Python crashes when adding host or folder
My environment:
Ubuntu 13.10 saucy
GNOME Shell 3.8.4
Python 2.7.5+
/var/log/syslog :
LPersa kernel: [ 3967.061547] traps: python2[5365] trap int3 ip:7fe86c58c3d9 sp:7ffff58a1390 error:0
First off. this is awesome. Thanks for the hard work. I noticed a bug when I was tabbing through open applications. The title for the connection manager windows in Conmgr.py and the icon is a missing icon.
Thanks again.
Option to keep terminal open after command execution
When we set a "username @ hostname command" to run the command automatically on the terminal, the terminal is automatically closed, a good option would be for the terminal not to automatically close, I say this because I have the following scenario:
I have 2 environments being homologation and production, for the approval environment I have direct access through the ssh connection but for production there is no the same direct access, it is necessary access to the maintenance environment to access the production environment, so I would like it to be possible do something like:
user @ hostname "ssh username @ hostnameProductionMachine / bin / bash"
So by performing a 'hop' on the maintenance machine and then connecting to a production machine.
I cannot use a different port other than the default. Could you implement an interface for that?
Using that version on my debian sid with gnome-shell 3.26 works fine except the icons size.
if i modify the stylesheet.css i can reduce the size but the big icons come back again and i dont know why ?
May be a solution here ?
As far as I see all commands are run in a new window by default (for gnome-terminal
and terminator
), or I have screwed up my configuration. Any idea how to get new tabs instead of windows by default?
The "Open all as tabs" button is working fine.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.