Debian :: Could Not Launch Application 'user-dirs-update-gtk.desktop'
May 2, 2011
I have this message in the syslog from squeeze:
Code:
May 2 21:18:19 squeeze x-session-manager[1732]: WARNING: Could not launch application 'user-dirs-update-gtk.desktop': Unable to start application: Failed to execute child process "xdg-user-dirs-gtk-update" (No such file or directory)
As a long time FreeBSD user, I consider give Debian a try upon the arrival of my new laptop. However, seems I couldn't launch desktop environment by simply typing startx on console as on FreeBSD. I can start desktop through a display manager like lightdm on Stretch, which is quite easy and straightforward, but I still prefer the "startx way".
I setup Debian Stretch on Virtualbox (4.3.43) using official debian-installer, login as a normal user, and install xfce4 via Code: Select allsudo apt-get install xfce4. The installation of xfce4 was very fast and it also introduced xorg related packages here. Then I edit my $HOME/.xinitrc as follows:
Code: Select allexec startxfce4
I typed startx to expect Xfce desktop but got the errors complained instead: [URL]....
while the xorg.0.log had the following contents: [URL]....
So, I failed to start xfce4 by startx as a normal user and had to install and start lightdm to go into desktop, but when I login as root, it worked and launched Xfce4 by startx without any problem. I couldn't figure it out now.
I created a bash script which when executed as a desktop application modifies its own application icon. This is done my altering the Icon= line in the application's .desktop file.
Here is a gif of the application in action: [URL] ..... As you can tell, there is an approximately two second delay before the icon changes. I was wondering if there was a way of making the icon change immediately.
For completeness sake here is the script I am using:
if [ ! -z $(grep "Icon=$PLAY_ICON" $LAUNCHER) ]; then sed -i -e "s/Icon=$PLAY_ICON/Icon=$PAUSE_ICON/g" $LAUNCHER elif [ ! -z $(grep "Icon=$PAUSE_ICON" $LAUNCHER) ]; then sed -i -e "s/Icon=$PAUSE_ICON/Icon=$PLAY_ICON/g" $LAUNCHER fi
This has probably been asked about before.... I would like to start apps in desktop 2, 3 and 4. To start apps during boot, I use two different methods: The .xinitrc file in /home/dan works fine under: "Add your own lines here..." Startup Applications in Gnome | System works well as well. Here, I can enter nautilus /dir and nautilus starts up just fine in that directory. But as I mentioned, I have yet to find a way to direct the program to run in a different desktop other than #1.
I have a java program that needs to be launched with root privileges (from an account that doesn't have root privileges) from a desktop shortcut. The command would look something like this: java -jar /file/location/whatever.jar I've searched and searched and can't figure out how to do this. EDIT*** I would like it to pop up and ask for the root password before it launches the application.
How do I make an application launcher in the panel launch more than one application? Is there some sort of a symbol I type between the apps in the command line? Like ;
Non-root user cannot launch "shortcuts" (sorry I grew up on windows, don't know the right term) from the file manager or plasma desktop manager.They have full permissions to the shortcuts, even ones they create do not work.If I log in with root permissions they work fine
I downloaded the tar ball of seamonkey, copy it to Document folder, unzip it and get a folder named seamonkey. Everytime to launch it, i open the terminal windows, cd to that directory and type ./seamonkey. My question is, how to launch it from any where? Just type ./seamonkey and it will run?
I have downloaded Ubuntu within windows 7, with wubi. It shows itself as Ubuntu 10.10, though I had selected 11.04, not to worry, this is for information only. I downloaded Q Cad, a drawing programme from the Ubuntu software centre and it shows in the list but I do not know how to launch it.I will have to down load some more applications and I think I will run into this wall again. I can enter CLI through Ctrl+Alt+F1 to F7 and probably do nothing more.
am using a PC104 with Linux and i need to control it with a controller that is connected via RS-232 or USB port. I need to launch one or more application some specific message come through RS-232 port. Is that doable? If yes how? I am beginner with C++ on Linux so i don't really know specif libraries. If possible i would like to use pure C and not C++.
I use Firestarter, seems to be a good firewall. But it is a desktop/GUI application, and it requires root access, or rather sudo in Ubuntu. Every time I launch it, I am required to type in my user (not root) password. How can I make it run automatically at startup (KDE) without prompting for a password?
I would like to configure visudo to authorize user to start only one application with sudo on one peculiar host and forbid everything else so, after reading the man, I came up with :
Code:
Select alluser ALL = (ALL:ALL) !ALL user host_name = /usr/bin/application
I use TextMate on Mac OS X to develop. The files I need to edit are on a Linux machine, and I have the Linux filesystem mounted on my Mac OS X. Opening the files and saving them in TextMate is not a problem.What I want to do (from my Mac OS X) is be able to...SSH <linux>cd <folder>mate <filename>I want that to open up the file in TextMate on my Mac OS X (thus, shifting focus from my Terminal.app to TextMate.app). How can I achieve this effect?
I'm new here, but certainly not new to Linux. Some of you may recognise my screen handle from other forum groups. Sadly my other communities seem to be dying and this one is going strong so here I am! I'm sure there's something I'm doing incorrectly, but here's my scenario:
I have a pair of shell scripts that launch SSH sessions with different forwarded ports, and use them multiple times each day. I'd like to drag the shell script directly onto the top Ubuntu Bar where shortcuts go and be able to use it. Or, even better, put all of my frequently used shell scripts in a "drawer". I know that I used to be able to make a shortcut, and set its path to "gnome-terminal -e file://xx.sh" and the script would run in a new terminal window. When I try to do this, a terminal opens with an error dialog that reads "There was an error creating the child process for this terminal". Permissions?
I run 10.10, netbook. Fine so far. I don't manage to call an application that I added manually, though. I have created a menu item, with all subdetails, a proper command, icon, everything. And I can see it in the menu editor, and it is there, even after a reboot. But: How to launch it?? It never shows up under applications, it doesn't show up in Searches, I can't type it in. It does work fine, though, when I open a terminal and add the proper command. It then also shows in the launcher list (left column). But it can't make it 'stick' there, the right-click option does not show in this case.
how to *start* an application that I have added to the menu? Why would a menu item never show as an available application?
I installed Crossover Office Pro (full release) which I used on previous version of opensuse, but now it is installed on opensuse 11.4 64 bits. The installation is fine, but the problems begin when I try to launch the application to install windows software.
I get this output:
alienware:/opt/cxoffice/bin # ./cxinstaller Traceback (most recent call last): File "./cxinstaller", line 85, in <module> import gtk ImportError: No module named gtk
It has something to do with python I guess but I tried about every possible solution I could find on the internet but nothing works. Any idea's how to fix this error? I tried all option, but no luck so far.
I'm trying to launch CoverGloobus (a fantastic little album art and current song display) and Rhythmbox simultaneously through a BASH script. Problem is that when I attempt to run the script the first time, CoverGloobus doesn't launch, but Rhythmbox does. Here's my script as it is right now:
Code:
#! /bin/bash #Opens Rhythmbox and CoverGloobus rhythmbox && covergloobus done
I've double-checked the commands in gnome-terminal, and they're the right ones for launching the applications. Here's where it gets odd, though. The second time I run the script, CoverGloobus and Rhythmbox launch simultaneously. I've reproduced this scenario multiple times.
I have a laptop running Ubuntu hooked up to a TV via a VGA to S-Video converter with the VGA-out through an external monitor, and I am trying to find a way to set vlc or mplayer to open fullscreen in the external monitor by default. Eventually I want to be able to hit enter on a video file and have it play on the TV without any dragging to the external monitor. I have googled around a bit, checked the monitor settings options, and looked through the media player options but so far can't find anything.
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
When I try to launch it from the System Tools sub folder, I see it appear for a second and then it disappears. What should I do? This is the code displayed when I try running it from the Terminal.
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 just installed Natty, its ok so far. How can I keep applications from launching full screen? I know if I resize the window below 75% or some thing like that it does not start full screen however I need the window to launch at like 85% and not full screen. This is the most frustrating thing I don't know what Canonical was thinking. I put it in if you have to however make it easy to undo..
Is there a way to find out the currently installed packages and the corresponding command line to launch the package from a terminal. For example, I know that I have openoffice installed but I do not know how to find the command line to launch it.