The main thing I want to know is: how to translate my GUI actions into command-line code. I want to know if there is a command that outputs all the commands being made by interaction with my GUI.Say, for example that I type this command and then open a file, the terminal would then print: "gnome-open /{path to file}".(The reason I ask is because I need to know a command to open with a non-default program. I have downloaded MiniCopier, so I want to add a launcher for it to my panel, by figuring out the code to launch it, but the default app to open ".jar" files is archive manager, rather than Java, so "gnome-open" doesn't do the trick. I've even changed the default to Java and still "gnome-open" uses archive manager, while double-clicking will use the new default=java. Weird...)
I'm following this guide : [URL]... to monitor SIP-connections on an Asterisk-server with Nagios. At some point the author mentions adding the following line to /etc/sudoers : nagios ALL= NOPASSWD: /usr/sbin/asterisk
I installed the gnome-gmail-notifier today and I noticed that it wasn't translated. Anyone who knows where to ask for a Swedish translation or how to contribute with one? It's a small application so I figure that it won't be much work to translate it. Not that I need to, but I like to have everything in the same language if possible.
I have 2 machines running under Lucid Lynx (one a 32-bit laptop, the other a 64-bit desktop). I created on both an account for my wife, and she wants a french environment. Now, when I installed the language packs (using Language Support from System), and I logged into her account for the first time, I selected "language = french" on the login screen, and on the desktop, there was a popup window asking me whether I wanted to translate the desktop menus to french. I said yes, and that happened.However, I did more or less the same thing on the laptop, and although the keyboard is french, and the date and so on is french, I didn't get this popup window asking for a menu translation. Changing the login language, and then changing again to french, didn't trigger this.
Is there a way (command line ?) to trigger this automatic menu translation tool?I think that the language packs are all installed.
I have 4 linux nat firewall boxes on 4 seperate networks all plugged into one WRT54G with the wireless function disabled. The WAN port is DHCP to my ISP modem (comcast.) WRT54G is set to gateway mode. WRT54G is not handing out IP's to clients, DHCP set to disable. Modem is a bridge and hands out dynamic internet routable ip addresses. All 4 linux boxes eth0 are static ip's and go to the WRT54g. Each Linux box is a dhcp nat firewalled router to my clients. Problem: DNS is not being resolved to my ISP from my clients. I can ping from a client to any where on the net or through my system. Tried placing the ISP DNS numbers in the /etc/resolv.conf file of servers but did not work.
Question does the WRT54G nat translate the ISP's DNS numbers also and to what? If so placing those numbers in the /etc/resolv.conf might solve the issue. Last bit of info. On one system there is 32 clients using win7 and dhcp. Some clients can surf all the time. Some never, some intermitently. IF I restart the server the above will applies to different clients. The same thing happens on the other 3 server systems. Attaching the Linux box directly to the modem and setting eh0 to DHCP I have no problems. I know it's not the linux boxes. It's placing the WRT54G between the modem and the Linux box that creates the loss of DNS resolution.
I've got a cisco error log which is pulled and mailed out via the following code (values are written to a mysql db). I really need to make the IP's in the second column hostnames,I don't really know how to start.I'll paste the code I've got and someone can come up with a bright idea
Im using bind9 as DNS server on my LAN, but it does not seem to translate its own hostname correctly for some reason. Other hosts is translated correctly, the problem only seems to apply to the DNS host itself. if i "ping <server_hostname>" from the server, it translates correctly. But if i "ping <server_hostname>" from the client it only says "unknown host" The client has the correct DNS-server assigned. How can i start troubleshooting this?
I am setting some environmental variable in my .bashrc , the sample code I was provided with is for CSH but I am using bash, and there are some syntax differences between them ... I got most of the script to work, but I am getting an error at this part :
Code: if ($RMSTREE == $RMANTREE) then set path=($path $RMANTREE/bin) else
title's confusing, but can't edit it. I may not know what I'm talking about, but does anyone want to have a go at translating this suggestion I dug up into one that Mint 7 would act on?
Because my ISP is blocking every IP port under 1000, I'd like my local nat'ed server to be able to translate incoming and outgoing traffic from some port above 1000 to the default server port locally.Example :
To connect to my IMAP server (default port : 143) from the outside,I'd connect to my public IP, port 1143 (opened and nat'ed to the right server on my router) and the server would translate this port to 143 on the same machine.I wish I could simply configure my router to do that but sadly Linksys doesn't permit such setting... I also could modify the listening port of my server but I prefear to keep the default port inside my network.I think that iptables is the right tool to do that and I never used it and I must say that this tool is not so easy to configure at first sigh
As a result of having mixed files from different filesystems, I have, in directory foo/, files with filenames in uppercase and files with filenames in lowercase. If I want to convert them to all uppercase how do I do it? Consider this will be later recorded into optical discs.
Also, the CSV file is updates every few hours and I need to load any new data from the file to the database without creating duplicates of data that has already been loaded to the database.
I have lirc but I haven't got the hang of it yet. Ive have made a lircmap.xml and put that file in /.xbmc/userdata but xbmc still doesn't respond to it. I have even tried /.xbmc/userdata/keymaps and nothing. You can say that I have lost faith in lirc. I there a program that can translate remote control signals to regular keyboard letters?
I have a program which launches by a command but the command is not valid if i dont cd/ to the location of it first, is it possible to make the lancher (terminal) first go; cd /home/user/x then the program?
I would really like to configure compiz to emulate the Windows 7 edge actions. In case you haven't used Windows 7, the actions I'm interested in are: Drag window to top of the screen - maximize Drag window to left side of screen - take up the left half of the screen Drag window to right side of screen - take up the right half of the screen
Those are really the only ones I care about. I know I used to be able to do this in Karmic, but I forgot to back up my compiz settings when installing Lucid, and I can't remember how I had it configured before.
Gnome Power Manager has been giving me problems for a while now, all of which I have at least found a workaround, (sudo gnome-power-manager) with the exception of this one.
Gnome power manager will not make my computer suspend or hibernate on low or critically low battery.
I've installed acpi, configured laptop-mode, and edited the values for GPM in gconf-editor to suspend at 10% battery.
I am installing lucid, have installed nautilus-actions, and am trying to install a "Search for file in the active folder" function into nautilus-actions.. I brought up Nautilus Actions Configuration under System>Preferences and did the following:
Under Action tab Checked Display item in selection context menu Unchecked Display item in location context menu Label: Search For File In Active Folder
[Code]....
when I right click a folder and select "Search For File in Active Folder, it brings up the search tool, but the folder setting is always my home folder--not the active folder. Of course I can change the folder to be searched, but the point was to search in the active folder. I got this Search For File in Active Folder function from an Internet site that I don't remember. However, I thought --path=%M would get me the active folder.
We have a shared directory that is very important, lately strange things have been happening, users claiming file are missing etc. All permissions are OK, and as far as I can see files are not going missing.I look for ether a program out there all ready, or guidlines on a script that will monitor the dates and times a user accesses this directory, if they create a new file, remove an old one etc.
I installed Nautilus-actions, in order to set up some right-click scripts. However, when I click on "nautilus actions configurations" from within the system preferences menu, I receive the following error... "Duplicate object id 'label1' on line 1000 (previously on line 940)".
I am trying to use the Device Actions under System Settings > Advanced to automatically copy image files from my CF-card from my camera. I home someone has a few minutes to help me. I am not sure how do identify my device.
I have watched udevadm monitor, while I insert the card into the card reader. One of the lines that appear is this: UDEV [1274814950.587968] add /devices/pci0000:00/0000:00:1a.7/usb1/1-3/1-3:1.0/host5/target5:0:0/5:0:0:0/block/sdc/sdc1 (block)
I am a newbie to Linux, and so just installed Ubuntu.. for the first week all was fantastic, but now, everything has slowed down. It seems to run fine for a few minutes and then everything slows down. I try and drag a window or open a menu, type, anything, and it takes forever! Also the internet seems to stop working on a regular basis. I have checked processes to see if there was anything happening and one of the processors was sitting at 100%, but no actual processes in the list seemed to be using any processing power at all!
im using "rdesktop -u username ip" in the terminal to connect to a windows machine on another lan. (my local machine is Ubuntu 10 and remote user has Win7)
i can connect and see his desktop, plus i can control the remote mouse, but i cant see what the user is doing and neither can the user see what im doing on his machine.
is there a way with rdesktop or another .deb app that i can use that allows me to control the remote user's machine and at the same time allow him to see what im doing and/or visa versa ?
i also tried VNC veiwer and it too does not give me the required results. is there something that the windows owner need to do ?
i need this for showing users how to do certain tasks on their machines.
I log on to a lot of different servers at work to do some tasks and install new software. However, sometimes I find myself wanting to know what has been done to the computer recently. This usually involves me going through log files and just observing the filesystem for new folders/files (usually in /tmp).
Is there some kind of a master log file which logs all (or nearly all) "activity" on the computer. Even getting a list of most recent command line 'history' from different users would be helpful to see what they did in the last couple hours. I only need to know the big things:
new software installs important files being changed new users/groups being made
Am I asking for too much from my system? If this doesn't exist I might just develop a tool to do it. In that case, which files should I be looking at to extract the information I want?
When I shutdown the PC there is a page of data itemising actions taken, but it is there and gone before I get the chance to read it. Is there any way to preserve this to a txt file to read at the next power up?