Ubuntu :: Gnome-schedule Not Triggering - How To Make It Trigger
Aug 1, 2010
Scheduled Tasks is giving me a hard time. I have a command set for 23:00 daily as "gthumb -f ~/Pictures/ScheduledPic.jpg", but when the time rolls around, nothing happens. The strange thing is, it does work when I press "Run scheduled task." I get the same results if I select a different time or change it to "google-chrome ~/Pictures/ScheduledPic.jpg". My other scheduled task, a Perl script, works fine.
I have a keyboard&monitor damaged laptop which I've converted into a media server/HTPC with a large external monitor. I've installed Ubuntu 9.10, and attached an external 1TB HDD with my video collection. As a media player it works perfectly fine. I can connect to it through my home network, both with VNC and with SSH. I can use VNC on my current laptop to access the player's desktop and play video files. However, this is awkward as the screen resolution of the playback monitor is 1920x1080 - much bigger than the laptop's screen - which means I either end up scrolling the viewpoint around, or scaling the virtual screen down to make reading text very difficult.
What I'd like to be able to do is to trigger Gnome applications - specifically the Totem video player - via a SSH session, on the current Gnome desktop. The idea is that I'd like to be able to browse the directories which house my video collection in SSH, launch the player in the session, and have it appear on the monitor. Ultimately, I'd like to be able to invoke this from a PHP script - thus allowing me to create a (simple) web application on a LAMP installation which would allow me to browse & play my video collection. Currently, when I try and invoke totem, it seems to want to connect the invocation of the software to the SSH session, which - of course - it can't do. Where I might start in trying to set this up?
I've scheduled a task in gnome-schedule to run at each reboot. When I click on "preview task" it initiates a one-time run just fine. However, after reboot it just doesn't want to start the task.
How to launch a graphical application using gnome-schedule ? I got some tutorials about cron after googling . But I couldn't understand the stuff about Screen number As an example, please tell what should be typed in "Task:" to launch say, nautilus
Ive tested this on 2 different machines each running Fedora 15. If I try to install gnome-schedule the system reports nothing to do or that the software is already installed. If I try to remove it the system reports that gnome-schedule is available but not installed. Anyone know how to approach this?
Wasn't sure were to put this go here goes.When I plug in my Canon Powershot Digikam starts up, which is great. But... when I plug in my iPod Touch to recharge Digikam also starts up, how can I put a stop to the latter?
I just installed Gnome Shell in Ubuntu 11.04 through UGR Linux and everything works fine! The only problem is that I cannot run make and make install. I get the following errors:
Code: alexandros@Autobot:~/gnome-shell/source/gnome-shell-extensions$ make && make install Making all in extensions make[1]: Entering directory `/home/alexandros/gnome-shell/source/gnome-shell-extensions/extensions'[code]........
When an SD card is inserted before/at boot time, everything works fine, meaning recognized by kernel and mounted to userspace.When an SD card is inserted after boot time, the kernel doesn't 'see' the hardware change not triggered, so no block device /dev/mmcblk0{p1}, so nothing to mount.This behavior is not openSuSE specific, when booting SystemRescueCD-2.0.1, the same behavior is noticed.SD card inserted after booting:
I am learning about linux memory and hugepages, and know that hugepages basically is just memory that manages memory. I thought I'd experiment with the subject, and wrote a very small C program [URL] that basically just eats 20 GB of memory. The idea was that I would use this small C program to see how big the page table would get when handling large areas of memory when I'm not using hugepages. After running the program on my RHEL 5 server I was expecting the PageTable to be huge, but found that it was only about 43 MB. The page size on my RHEL box i 4 kB. Why I'm not getting the major PageTable size issue I was expecting?
just set up a windows server and other windows boxes send alerts to it no problem.Yesterday I configured my linux box (RHEL 5) using /etc/sysconfig/syslog and /etc/syslog.conf so that all alerts would go to the syslog server.There are no external firewalls involved and while the firewall is working on my linux boxI have made sure port 514 TCP/UDP are let through.Ive checked syslogd and klogd are running.I've also applied the '*@10.20.30.40' line in etc/syslog.conf. Basically Id like everything to go to the syslog server.Now if I telnet to the syslog server on port 514 I can type text on the linux box and it comes through on the syslog server. Great - but no syslog alerts seem to come through normally, even when I reboot the box.I've tried *., .*, and * to no avail, ive got an entry in my hosts file for the server 10.20.30.40 and tried using a name instead of an ip address, no luck.
I use gnome-mplayer 1.0.0 and Totem Movie Player 2.30.2 to view videos Both read subtitles well from srt files. But both are not able to read {a6} command in the srt files.
NOTE:- {a6} command serves the purpose of putting the subtitles on top of the screen, making it possible for subbers to display lyrics/additional footnotes on top, while at the same time, having the dialogues to show in their usual position.
Is there are way to force either of them to read the special commands properly?
This has been happening for a while and I can't figure out how to fix it. If I'm surfing the web listening to music, when I type something -- the song will start changing. Has anyone else run into this problem? Does anyone know how to fix it
I use network-manager-pptp to connect to my VPN server. However, occasionally my VPN drops out (although my Internet stays up). I was just wondering how I could make the VPN drop-out trigger a bash script, for example playing a sound to alert me that the VPN has dropped?
I have what I hope someone finds to be a simple problem. I am running a data acquisition computer for a research project, where multiple people use the same non-privileged user account to take data and save it to /incoming. Once the file has been closed, I would like to somehow copy the data into a more permanent location owned by root. Obviously giving the shared user account sudo permission would be a huge security hole.
I know that this should be possible using some sort of client/server connection, but writing my own server just for this little task seems a bit cumbersome, and is something I have no experience with. Nor have I ever written a daemon/init script before.
Does anyone have any ideas on a simple procedure I could use? Very few things are fixed in stone, but the copy operation is necessary - the final location is a RAID5 array, and the write speeds are too slow to keep up with the data stream.
If a client/server type of thing really is the best way to go, anyone have any links to good tutorials to make a simple server and daemonize it?
I wanted to know command to triggered "Safely Remove Drive".So I could implement it on Hardy 8.04 http://ubuntuforums.org/showthread.p...88#post8674988
I wanted to make a simple script that would trigger on certain environment events. For instance, I want the script to trigger whenever a new file gets copied or placed on the Desktop, and cut that file and place it somewhere else. Sort of cleaning the Desktop process. Here's the thing: I want to trigger on it's own, not requiring me to open shell and invoke it from there
I have this basic program that is supposed to scan a string for a delimiter and output which segment of the string the user wants, like awk '{print $2}'. The problem is, I always get a segmentation fault when I run the code and I can't figure out what triggered it.
Here is my code:
Code:
int main(void) { char *string = "my name is joe"; char dlimit = ' ', *good; int index = 2, round = 0; int i, place = 0, t;
[code]....
It keeps track of how many times the delimiter was found with round, and the position of the last found delimiter with place. index is to specify which segment of the string the user wants. One more thing, is it necessary to manually allocate memory with malloc() or calloc() when you can just initialize a variable and it be fine? Like:
I really like that in Ubuntu when you type in a command that's not on the system you get a message saying the package that provides that command. Unfortunately it also slows down my system, so I would like a way to trigger this manually. Something like search-command command-I-dont-have
Is there any way to do this? I'm using Ubuntu 9.04 under andLinux but would also like to use this on a regular Ubuntu 9.04 install.
when I update the ubuntu, I set it shutdown after 60 minutes uisng "sudo shutdown 60",because I think the update will complete in 40 minute. However today when I start the computer, it can not startup the ubuntu. I got a screen which sown the message in the title,after I search it using google, some people have encounted this proble, their solve way is to use a live cd to chroot to the old root and complete the update. However I can not. The following is my suitation:
Is there a way trigger a shell script after my DHCP server successfully gives out, either a specific IP address or to a specific MAC address.I have two Xbox360's in my house that both receive IP address via DHCP reservations from the Ubuntu server.I have come to accept that without having two public IP addresses getting both to have an open NAT will be very difficult. I have decided that I am OK with only one being able to have an Open NAT at a time, but I want to change the firewall rules according to which Xbox 360 turned on first. This way I can move between level in my house and play online without having to modify rules manually.
I'm having a bit of a nightmare with my ubuntu hardy server (using hardware raid 1+0). Following a power cut I get the message "udevadm trigger is not permitted while udev is unconfigured" on boot. Before the power cut the server had been up for ~450 days.
I managed to get access to /boot (which was empty) by using the repair option on the alternate cd and mounting /dev/myserver/root. I've installed the packages linux-headers-server, linux-image-server and linux-server. The various 2.6.24-29 files were installed and update-initramfs was automatically run (I noticed others have used update-initramfs to solve this error when upgrading from 8.04 to 10.04 in some posts I've read). No luck with this though - just the same error booting. I've also tried reinstalling udev, but again with no success.
I rebooted and pressed the Esc key to get the boot menu up. Only options were for kernel 2.6.24-26 (rather than the 2.6.24-29 just installed). I ran the recovery option anyway and got "/dev/mapper/myserver-root does not exist".
I'd like to know if it's possible to automatically mount, and fire up rsync to sync a USB drive with a directory? Specifically, I'd like to copy as much data as the drive can hold and only delete the oldest files if space is needed. I would assume I'd do something like this with a script, but my problem, is where to start.
After restart I cannot login to gnome, when I press ALT + CTRL + F1 it switch to text mode and I'm able to login with the same username and password.
Although when I enter the password on the gnome login it come a black screen for preparation to login but it go back to main login info, Bye the way I saved the username and password to auto login and I surprised after restart didn't login automatically.
I already created a test account adduser test but still not able to login whith the new one and the old.
I use Parallels 5 for Mac (10.6.4). I started my Ubuntu 10.4 virtual machine and it didn't load the Ubuntu Gnome desktop. In stead I did get a command line prompt. I could login with normal username and password, rebooted again, but same result.I tried to update the system with code...
I have CentOS 5.4 running my file server. I finally got proftpd to work. I configured logwatch to send me email on a daily basis however I would like to be sent an email immediately when the proftpd log file changes. Is this possible?
I read some stuff about making Gnome apps fit in with the KDE desktop but not the other way around. I use a few KDE apps and it would be nice to have their themes fit in with my Gnome desktop if possible