Ubuntu :: Shortcut To Run Script?
Oct 3, 2010
i wrote a hello world script using bash and i'm trying to run this script via terminal by pressing F1, but it is not working.my hello world script is:
Code:
#!/bin/bash
echo Hello World
in the keyboard shorts of ubuntu, i have F1 as: Code:gnome-terminalhome/user/hello_world_scripti'm obviously doing it wrong, but i would like to learn the proper way
View 4 Replies
ADVERTISEMENT
May 10, 2010
I recently switched from GNOME to xfce, and I can't get working a simple keyboard shortcut to ssh to another machine.
In GNOME, I made a launcher (which gnome-do found); the first time I ran the launcher I'd get an X11 popup asking for by ssh passphrase, and then it would be saved for the rest of the GNOME session, making logins nice and fast.
In xfce, a similar launcher opens a new xfce4-terminal, which asks for the passphrase every time. I made a keyboard shortcut to "ssh -X me@server" -- this open an X11 popup for the passphrase, but no terminal, because there is no "run in terminal" option for keyboard shortcuts.
I'd be okay with running "ssh-add" at every login, but it has to be system-wide, rather than attached to one terminal instance. Passphraseless ssh is an options but a creepy one.
View 2 Replies
View Related
Jun 7, 2010
ubuntu 10.04 64bit print screen, alt+print screen,alt+f1 does nt work.i installed from scratch ubuntu few weeks ago.
View 3 Replies
View Related
Jul 30, 2010
I just downloaded flock browser as a tar.bz2 file. I extracted into a drive other than home in my pc. Then in system>preferences>main menu, I created a new item under menu>applications>internet and pointed to "flock-browser". The application works fine but I don't get that flock icon in the menu. Is there any way to get it? Its actually present in "icons" folder inside the flock folder.
View 1 Replies
View Related
Feb 20, 2011
I've tried Googling this question with no luck. I'm trying to get a program called Aptana to run as admin so I can edit my website under /opt/lampp/htdocs. Here's the link to Aptana: /home/richard/.Aptana Studio 3/.AptanaStudio3
What would I have to put into the shortcut command to run as admin?
View 5 Replies
View Related
Jul 17, 2011
I have 3 hard drives on my computer now, and a total of 6 partitions. My question is can I put a shortcut to one of them on the Unity Bar? Like the same icon you see when you mount a hard drive and it pops up in the bar.
View 4 Replies
View Related
Mar 23, 2011
How can I create a shortcut to open a terminal and launch vim (terminal version, not gvim) ?
View 4 Replies
View Related
Apr 6, 2010
I write a lot in French and I need the french accent on my ubuntu. How can I get the shortcuts I used in windows such as "alt+130" to work again? When I use them, either nothing happen or it changes my tabs in firefox and chrome, I haven't found how to override this. I don't seem to have found anything in keyboard shortcuts...
View 4 Replies
View Related
Apr 11, 2010
i set delete as a keyboard shortcut for the gnome-terminal accidentally and later changed it to ALT+T but now both DELETE and ALT+T open up a terminal its really annoying not to be able to use the delete key.....every time i press DELETE a terminal window opens up.
View 9 Replies
View Related
Jun 10, 2010
I like a lot the keyboard shortcuts that are available in Windows 7 for managing windows across multiple screens and would like to replicate them in ubuntu. So far I created shortcuts for moving windows from one screen to another.
WinKey + Left: Move active window to the left screen
wmctrl -r :ACTIVE: -e 0,0,-1,-1,-1
WinKey + Right: Move active window to the right screen
wmctrl -r :ACTIVE: -e 0,1280,-1,-1,-1
Now when you press WinKey+P in Win7 you get a nice menu where you can select if you want only monitor1, monitor2 or both. I would like to at least create shortcuts to switch between these modes. For example bind WinKey+1 to turn only monitor1 on, WinKey+2 for m2 and something else to have both monitors on.
View 1 Replies
View Related
Jun 10, 2010
In cairo-dock when I hover over the 'shortcuts' applet it shows me what's in my 'places' menu, but I have to click twice on any object to open it, and then it opens two instances of whatever I opened. As in I click once, could wait up to an hour probably, then click again and finally it opens up but twice.
View 3 Replies
View Related
Jun 11, 2010
Just installed latest ubuntu,
I want the "system monitor" to pop up on ctrl+alt+delete, I'm still damaged from long time on windows ^^
Anyways this is what i have done:
1. system > keyboard shortcuts
2. made another shortcut for "log out" (is ctrl-alt-delete default)
3. then "add" name=Ctrl-Alt-Delete and command=gnome-system-monitor
Now my new custom shortcut is disabled. How can i enable this?
View 2 Replies
View Related
Jun 20, 2010
I have a simple bash script rd.shCode:#!/bin/bashrdesktop -g 1279x757 ${1} &This is setting a specific resolution at which time devilspie moves it to the workspace I want.I am trying to run this in the run command dialog (alt-f2) as rd.sh <servername> but it does not work.My goal is to be able to create a desktop menu item/shortcut in gnome to some specific servers and/or run this from the Run Application dialog. I can run this without issue from the terminal.
View 3 Replies
View Related
Jul 8, 2010
I got this Dell Studio and the f keys are kind of odd.. first of all you have to press fn to even use them.. because theyve defaulted them to be things like: fast forward.. mute.. stuff like that.. and what makes it worse is f2 is a button that disables wifi.. so when i do alt-f2 out of habit it cuts my wifi off.. so i have to do fn-alt-f2 which just gets old.. my question is, what is the raw command for the RUN ? I'd like to assign a keyboard shortcut to it.
View 6 Replies
View Related
Nov 1, 2010
I would like to make a short cut to a webpage just like on my iPhone but I would also like to make a custom icon for it too and if possible different properties..
I want the shot cut to go also open in full screen mode as it'll be a direct link to a game I play but at the same time I don't want firefox to be in full screen by default. Is this possible to do?
View 4 Replies
View Related
Dec 22, 2010
I am experiencing problems with keyboard shortcuts. It started to happen after I installed gnome shell and switched back to gdk. the most annoying part is that every single keyboard shortcut works except the most used one AKA "run a terminal"
first I thought it had something to do with shortcuts in compiz but no. I changed the keyboard shortcut for "run a terminal" to something wild like CTRL+SHIFT+ALT+N and it still doesn't work. That command is not doing anything... Can i add my custom commands to keyboard shortcuts and how?
View 1 Replies
View Related
Jan 10, 2011
Can anyone please tell me where to fine the file containing the Keyboard Shortcuts?
View 2 Replies
View Related
Jan 17, 2011
Running Natty Narwhol. IIRC, the F1 key was the "help" shortcut. Now F1 does nothing. Is F1 supposed to be the "help" shortcut key or has this changed?
View 1 Replies
View Related
Jan 25, 2011
I'm having this problem when i want to delete an icon on my desktop.The icon won't allow me to delete it as it will show error "The specified location is not supported. I attached a screenshot of my desktop. The file that i want to delete is "g on 192.168.0.182.volume". It was a link to my shared network.I've tried delete via terminal but when i viewed my desktop using "ls -a" , the file didn't show up.Or maybe easy solution is my removing my gnome-desktop
View 9 Replies
View Related
Jan 28, 2011
Mod4' is my 'Super' key. I have assigned <Mod4>Tab to the 'launch panel main menu' shortcut command in the Ubuntu 10.10 keyboard shortcuts settings. However, whenever I press <Mod4>+Tab, my windows seem to switch as if I were pressing Alt+Tab. How can I disable this other unnecessary action for <Mod4>+Tab?
View 3 Replies
View Related
Feb 1, 2011
I frequently need to take screenshots of a game (flash-based, running inside a browser), in particular it's statistics screen which is shown when I hold the TAB key. The problem is, when I take a screenshot, either by pressing PrintScreen key or by pressing a custom-defined shortcut, the game responds to this keypress and hides its statistics screen, so the screenshot doesn't contain the information I need.I figured out how to overcome this using a custom application launcher icon; but this requires using the mouse which is rather inconvenient.define a shortcut that wouldn't be processed by the active application? Or maybe there's some screenshot utility that does this out of the box?
View 2 Replies
View Related
Feb 3, 2011
How do I disable the Alt+F8 shortcut combination in Gnome? This shortcut does "resize window". However I don't want Gnome to override that shortcut, I want to be able to use it in IntelliJ. Anyway, the obvious way to disable it, that is, remove it in the "Keyboard Shortcuts" option, does not disable it. Alt+F8 still does the resize window thing.How do I REALLY disable it?
View 3 Replies
View Related
Mar 11, 2011
I am working on creating an image to be deployed on multiple systems [URL]. While everything works great I have one very small issue relating to the shortcuts. The "master" system has been set up to use Cairo dock with a custom launcher to display the user home directory contents. So this is essentially referring to /home/user1 on the master system. While installing on a new system, this shortcut of course refers to /home/user1 while it should be /home/user2. While it is easy to correct, ideally I would like not to have to edit the shortcut as we will be deploying on about 40 systems. I tried to use the $HOME variable in the shortcut but that did not work. How to use a variable for the $HOME shortcut so it will work on all systems?
View 4 Replies
View Related
Mar 23, 2011
Is there some way that I can change the icon for a shortcut on the panel at the top of my desktop? I'm running Photoshop CS4 in Wine but I couldn't install it so I just copied the program files folder from my Windows 7 installation. Then, I just just drag-and-dropped Photoshop.exe on the panel, creating a shortcut to it. However, this will just show a generic icon for an executable file.
View 2 Replies
View Related
Apr 14, 2011
I have installed Opera 11.10 from a tar.gz file.
Can i make a shortcut to Opera in the Unity menu-pane? Even when i search for "Opera" i find nothing. I can access Opera from Alt+F2 -> Opera.
View 6 Replies
View Related
Apr 21, 2011
I want to place a couple of launchers on my desktop so when I click them a terminal opens and runs the command how do I do this?E.g I want one for tail -f /var/log/messages, and another for rtorrent
View 2 Replies
View Related
Jun 5, 2011
From Super-s to F4?
Is it possible to change the Expo(everything) shortcut from Super-S to just the F4 key?
Running - ubuntu 11.04[Unity].
View 5 Replies
View Related
Jun 11, 2011
Running 10.10 and trying to create a shortcut to an already-mounted partition on the panel. I've tried every command line argument I could think of in the "create custom launcher"'s "location" or "comment" textboxes. I've tried using the UUID. I've tried dragging the partition from Nautilus to the panel and that allows me to do that. When I execute the panel shortcut it still errors with no application associated. I tried adding "nautilus" to the command lines but still errors.
how to add a shortcut/launcher on the panel to a mounted partition?
View 5 Replies
View Related
Jul 26, 2011
I want to configure my keyboard shortcuts, but I need to get the commands for certain applications in the list. How do I do this? It appears I can't right click any icons that come up when I search for them.
View 9 Replies
View Related
Aug 2, 2011
Since Lunbuntu does not have any graphical interface to create destktop shortcuts for programs, could someone tell me plz how can I create shortcuts for wine applications from empty files?
View 9 Replies
View Related