I want to make a keyboard shortcut that runs the following command:
Code: smplayer /tmp/Flash* This is to play things as ..... videos etc. in smplayer using vdpau instead of the laggy flashplayer
The wildcard * works in terminals, but not in the command of the shortcut or in the Alt-F2 launcher... Could anyone point me to what I could write instead?
Note: I have made a thread similar to this before, but the title/contents were too botched to repair.I know that using C-r you can search for past bash commands containing a particular string, but how would you search for past bash commands matching a particular regular expressionIs there a keyboard shortcut for that or do you have to use a shell command?
I was following a guide to stop Ubuntu from always asking the root password. And apparently i messed something up in vsudo edit or something like that i was in... So now when i put in a sudo command i get this...
Quote:
>>> /etc/sudoers: syntax error near line 18 <<< sudo: parse error in /etc/sudoers near line 18 sudo: no valid sudoers sources found, quitting
I am learning linux commands. I just wanted to see what happens when I type
Code:
The screen became blank. Keyboard was not responding. I couldn't do a proper shutdown. I switched off computer by pulling out the plug. When I restarted, I heard a series of beeps (approximately 10 beeps). Then I was dropped to the grub prompt. The problem now is I can not type anything into the grub prompt, because the character 'c' is continously printed across the screen like this:
Code:
I couldn't stop the character 'c' from printing (I tried pressing Esc, Ctrl+C)
The solution is easy. I can reinstall grub from a livecd. Or even reinstalling the entire operating system wouldn't take more than 30 minutes. But I want to know:
1) What exactly happened to grub? What stage does this error belong to (1, 1.5 or 2)? What is the error number?
I am trying to start a script via a keyboard shortcut.The trouble is, it runs fine when i start it from the terminal, either by opening a terminal and starting it there or by "double-click", but when I use the shortcut it loads, but doesn't work properly. This is probably because it asks for user input, which would be put in the terminal window.Is there a way to start a script in a terminal window by default?
I would like to make a keyboard shortcut to execute the following command:
Code: /usr/bin/xdotool key XF86MonBrightnessDown The command, when run from a terminal, works perfectly. However, when run via a keyboard shortcut, the command fails to execute. how I can execute my command with a keyboard shortcut. I am running Ubuntu 10.10 Netbook Edition with Unity-2d.
I'm using Xubuntu 10.04 Lucid Lynx, and I'm trying to setup a keyboard shortcut for xfce4-terminal. I've read a million threads and articles telling me how to do it (go to settings >> keyboard >> application shortcuts tab and click add), but when I open that interface there is no "add" button, although the interface is a table that impliesn in its appearance that things can be added to it.
I've recently upgraded a laptop of mine from 10.10 to 11.04 (Natty), and am having a few issues with it. I don't know how many of these are related to using Unity and how many are just due to the upgrade, but one of the main bugbears is keyboard shortcuts. I have always set the F12 key so that it opens a terminal window. I did this through the settings > Keyboard Shortcuts interface, but although I can (apparently) set this in Unity, it doesn't work. The setting is there, listed, but pressing F12 doesn't open a terminal. Neither does it if I set it to any other key.
I can create a new entry, to start xterm with F12, which works fine but this isn't quite the same as a terminal (it appears different on screen.) I also discover that CTRL+ALT+T doesn't open a terminal window either (as is suggested in a very useful list here: [URL] Have I missed something? Or am I being thick? (Quite possible ... )
I upgraded to 11.04 today and wanted to reconfigure so that I could have the desktop cube again. Once I started trying to switch my settings for the cube configuration compiz asked whether I wanted to turn off various features and apparently among them was the control bar on the side and top of the screen. Now I log in to Ubuntu and I get my workspace and that's it. No control bars, just the workspace. I need to know a few things:
1) Has anyone else had this problem?
2) How do I get into the terminal from keyboard commands?
3) What terminal commands do I need to bring back at least the main toolbar so I can access programs.
is it possible (and how) to create keyboard shortcut/binding that would give window-focus back to Tilda terminal? Currently, it is necessary to LMB-click inside Tilda (or at least drag mouse-cursor over Tilda) to resume typing.
I am having issues with Update Manager after cancelling an Update.The Update Manager shows a number of required updates, but when I click on Install Updates... Nothing happensWhen I launch sudo dpkg --configure -a in a terminal I receive the following message:dpkg: status database area is locked by another process.On another forum i saw something regarding a gksu.lock file that needed to be deleted... but I can't find any such file....If I try to launch update manager via a terminal: sudo update-manager I get the following error:
requiredDownload could not be calculated: E:Unable to parse package file /var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_karmic-updates_main_binary-amd64_Packages (2), E:Unable to parse package file /var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_karmic-updates_main_binary-amd64_Packages (1), E:Unable to parse package file /var/lib/apt/lists
Having a problem with sudo. I'm down as a user who can run all commands as root provided I enter my password. The relevant line from my /etc/sudoers file :
Code:
user1 ALL=(ALL) ALL
There are several commands that I run quite frequently such as mount and fdisk but would like to avoid having to enter a password each time I use them. What would be the appropriate change to the sudoers file ?
UPDATE: I neglected to scroll down to the bottom of the /etc/sudoers file where there was the line :
Code:
%admin ALL=(ALL) ALL
and since user1 was a member of the admin group any predeeding lines were being overidden by this. Commenting out this line and adding
in windows I can use Putty to create a shortcut which loads a predefined profiles to log into a specific server. How can I do it in Ubuntu? (Instead of click on the terminal icon to open it, type ssh
Customer asked me to create a menu for linux he also asked me to do this: Open like a command like where a user can execute commands...so for this the users have sudo enabled. The code below works OK. But it has an issue when a command is executed but the command does not need sudo
Like for instance Code: cd / sudo: cd: command not found
How can I allow a user to execute all commands when a command does not need sudo Code: echo -e "Press Control+C to finish" #echo -e " " while true; do read whichcmd?"Insert Command: " sudo $whichcmd done
I have debian lenny, when I run an application is slow to load (example: iceweacel open and it takes, I can hold him iceweacel work normally), I tried to change from gnome to another and the same thing, went down some services (samba, squid) and nothing. I open a terminal and it takes, I want to duplicate it and do it fast. From a terminal without X (tty1) with root run mc and moves quickly, also run as root "sudo mc" and takes to boot.Any action done with sudo it takes to run.
Can not be what it takes to make starting the applications, not the PC because it is new, and from one moment to another I began to pass this
The sudoers file is fine, in the log's nothing unusual, since other PC take long to enter samba.
I did some digging on the sudo command and I do know the config file is /etc/sudoers Read the manual for sudoers and found out that I must use visudo to edit the file I read some of the examples at the bottom of the file and tried entering my own account in following the example. one of the commands I was trying to allow my account to perform without root login is the mount command So I tried adding this in (kreid8 /bin/mount ALL) I then saved & exited the file and logged out of root and tried sudo mount -t vfat /dev/sdc1 /media. I got an error saying I had to be root in order to do that But when I use the visudo -l option it shows that I have that privellege. Did I edit the file incorrectly?
On the Mac, I use Command + ` (the tilda) to cycle through windows in the current application (eg terminal or chrome). It's like alt + tab except only for the current application's windows. (possibly on compiz but without any flashy exposee like graphics)?
puplet is forever reminding me when it's time to run "yum update", which is fine, but I'm forced to click the little x to dismiss the dialog.Is there a keyboard shortcut or command that can dismiss it for me? I'm running GNOME 2.16.0 on RHEL5.
I use ctrl + shift + s to launch synaptic in KDE. That works wonderful and it is standardized on all my systems. I want to define the same in gnome, so that it does not matter if I'm in gnome or KDE.Where can I do this?Now before you start mentioning, I am familiar with keyboard launchers like launchy or gnome do (but have to admit that I don't know that much what gnome do does in all extents), so I am not looking for a program that launches an app after typing a few letters. I want exactly that keyboard combination, everything else will not do it.
I just mention that, because it happens all the time that I see in my posts that I ask: How can I do B with Y? I don't want to use Z. (specifically asking the question) and then hear as an answer: you can do B with Z!And I am always tempted to answer: That is not what I asked, I asked something specific and got an answer that does not concern it.
I want to use the Control + windows key on my keyboard to do a killall firefox-bin. What I've done so far is gone in to gconf-editor, and under apps->metacity->keybinding_commands I made command 1 as killall firefox-bin and under global_keybindings, run_command_1 I have <Control><Super_L> . What am I doing wrong?
When ctrl alt d or the icon on the bottom left corner is pressed, it sometimes doesn't show the desktop and instead restores hidden windows. Is there a way to access the desktop directly, without only one shortcut ? I was also wondering how useful are these hidden windows (sometimes, the icon in the application bar is bar after being idle for a while).
I was working on something important in 11.2 and did a "zypper up" in the terminal in the background. I wasn't paying that much attention to it, I believe it was an update to 11.3. After returning to the computer after about one hour the windows were behaving strangely and the machine wasn't very responsive. I decided to reboot. Now at login I have neither mouse nor keyboard. I have switched the keyboard to PS2 model, no difference. If someone could help me with booting to run level 3 from the grub menu perhaps I could change some settings there to make everything work. I really regret doing the update. It would be very important for me to be able to get back in to machine with spending as little time as possible on this. Could I reverse the update? This machine is very important for me and my family for their daily communication, but currently I have very little time to fix this. My quick fix was to install Kubuntu 10.10 so I could resume working, but I would really need to get back in to 11.2.
since a recent upgrade to Mandriva 2010.1 I am not able to 'sudo' as administrator or when I use the 'root' password. I am the only user on this machine (Dell Inspiron 530S multi-booted with Window's Vista Home Premium, Ubuntu 10.4, and Mandriva 2010.1). I can get into the 'Manage Users' section of the control center by authenticating as 'root' but I can't access 'sudoers file' from command line.