Debian :: *.desktop File To Make Execute Start.sh?

Dec 17, 2010

Can i make a .desktop file taht it executes autostart.sh script or any other script?
like xmonad.desktop od dwm.desktop?so that when gdm or any other gui login manager loads autostart apps in xmonad?

View 4 Replies


ADVERTISEMENT

Ubuntu :: Make With Make File Yields Error - /usr/bin/javac: Cannot Execute Binary File

Nov 17, 2010

When I try to compile some Java code on Ubuntu 10.10 (kernel 2.6+) using make and a Makefile.

I get an error indicating that the make utility cannot execute the java compile command (javac).

The error reads: /bin/bash: line 6: .: /usr/local/jdk1.5.0_18/bin/javac: cannot execute binary file

I am executing make as root. I have enabled permissions on all directories in the path /usr/local/jdk1.5.0_18/bin/javac and on javac itself.

I get this error whether using a jdk installed via ubuntu apt-get, or whether I install the jdk myself. And I get it using either Java 1.5 or 1.6

My machine has an 80386 processor. I notice the make utility is built for i686-pc-linux-gnu

However, I can manually compile using javac.

I can compile calling javac from within a bash script.

I can compile using the java compiler gcj from the command line: gcj --main=HelloWorld HelloWorld.java -o HelloWorld.exe

But I cannot compile java code from the makefile. Any reasons why I might be getting this error?

View 4 Replies View Related

Programming :: Start Up Script To Execute AFTER Desktop Loads

Oct 22, 2010

I need one, cause I know this is "So easy, a cave-man could do it" (and I can't) yikes.

I need a start up script to execute AFTER my desktop loads. It's for display resolution. I've added the same script in 3 places, and all will execute, but not until I do it manually. It's being over-written by another function...

1 script in /etc/gdm/Init/Default (as per Wiki page, which has a syntax error I found yesterday):

Quote:

#!/bin/sh
# Stolen from the debian kdm setup, aren't I sneaky
# Plus a lot of fun stuff added
# -George

[Code]....

Can I create a run level 7, like rc7.d, that will execute after the desktop loads (and everything else)? I symlinked the second script to level 5 rd5.d, and it didn't go through. I haven't tried level 6.

View 10 Replies View Related

General :: Changing Directory - Saved File On The Desktop - Cannot Seem To Get That File To Execute It

Mar 10, 2011

I was doing a tutorial on scripting in bash. I saved my file on the desktop and I cannot seem to get to that file to execute it. Here is what I have been using:

I try cd Desktop says that there is no such directory.

I tried /home/me/Desktop same thing.

View 5 Replies View Related

Ubuntu :: Init: Failed To Spawn Ufw Pre-start Process: Unable To Execute: No Such File Or Directory

Jun 12, 2010

I am using Ubuntu 10.04 LTS. Two days ago I updated using update manager. After that I can not boot Ubuntu. When I trying to boot system showing message " Ubuntu is running in low-graphics mode Your screen, graphics card and input device settings could not be detected correctly. You will need to configure these yourself" But I can not configure it.I can not boot to 'recovery mode' also

/var/log/boot.log

Code:

fsck from util-linux-ng 2.17.2
/dev/sda6: clean, 304282/1680960 files, 2964945/6723194 blocks
init: Failed to spawn ufw pre-start process: unable to execute: No such file or directory

[code]....

Now I am using Live CD.

View 3 Replies View Related

Debian :: Use Screen To Execute A File With A Certain Session Name Instead Of Just Numbers?

Feb 11, 2011

I'd like to use screen to execute a file with a certain session name instead of just numbers... or at least have a more permanent name, I'd like to be able to use it all in one command though. So I can put it into a script.Also: is there a way I can remove or change what comes up at the debian login screen so instead of debain 5.0 I can make it say something else? Also when I login the message that comes up is a little annoying, is there a way I could remove or change that too?

View 7 Replies View Related

Debian Multimedia :: Can't Run Mojosetup - Unable To Execute SH File

Dec 7, 2015

I'm not so expert using Debian (3.2.68), especially when it comes to install stuff... I tried to execute for the first time a *.sh 451mb file, but it displayed that:

Code: Select allroot@Poulpe:/home/ambroise# sh gog_hatoful_boyfriend_2.0.0.2.sh
Verifying archive integrity... All good.
Uncompressing Hatoful Boyfriend (GOG.com) 100%
Collecting info for this system...
Operating system: linyx
CPU Arch: x86_64
trying mojosetup in bin/linux/x86_64
USING

PANIC
    Initial setup failed. Cannot continue.

Error: Couldn't run mojosetup

It seems that mojosetup is an open software included for all recent GOG games, but maybe it can't run on Debian ? Or could it be more a directory issue ?

View 4 Replies View Related

Debian Programming :: Script To Execute String From Text File

Sep 24, 2014

I am having trouble writing a script that monitors a text file. When the file contains number 1 (or any other string that is not a command) it does nothing, but when it is something different from 1, it executes that command.

So, there are 2 files: monitor.mon - this is the file that will be checked constanlty; and test.sh - the script that does the job. The monitor.mon file will have its content modified by php. This means a web page will have a form where I input commands and writes does commands in the file. Test.sh will watch when the file's content changes from character 1 to a command, execute that command and write back a 1 so it will not execute it more times.

I tried combining while and if but with no success. Tried reading the file with cat and grep -e but it doesn't seem to recognize when content changes.

View 4 Replies View Related

CentOS 5 :: Can't Execute Things In /tmp Now But Is There A Way To Execute Only One File And No More?

Feb 17, 2011

i created a /tmp partition amd mounted it like this:" mount -o loop,noexec,nosuid,rw /usr/tmpDSK /tmp"
I know i can't execute things in /tmp now but is there a way to execute only one file and no more???

View 1 Replies View Related

Debian :: Execute Command Mactime In Order To Control Changes Made To The File System?

Apr 23, 2011

I am trying to execute command mactime in order to control changes made to the file system, but I am getting an error. I am running the shell as root, and it is the first time I run the command in this system - Debian Squeeze up to date. The I/O is as follows:

# mactime 3/1/2011
cannot exec /bin/date: No such file or directory
cannot exec /bin/hostname: No such file or directory
cannot exec /bin/uname -n: No such file or directory
Cannot open /var/cache/tct/data/Amnesiac/body: No such file or directory

The first three lines of output are the ones that are worrying at the moment; I am not concerned with the last. Although error messages suggest the programs date, hostname and uname do not exist in /bin directory, they are available as shown by

[Code]...

View 3 Replies View Related

OpenSUSE :: Make: *** /lib/modules/2.6.31.5-0.1-desktop/build: No Such File Or Directory

Feb 17, 2010

I'm attempting to install a WLAN card driver from source, as that's all that's available.I'm getting:

make: *** /lib/modules/2.6.31.5-0.1-desktop/build: No such file or directory

Build appears to be a link pointing to "/usr/src/linux-2.6.31.5-0.1-obj/x86_64/desktop"."linux-2.6.31.5-0.1-obj" doesn't exist.

View 4 Replies View Related

Debian Multimedia :: How To Make Terminal Start Maximized

Jun 25, 2010

How do I make Terminal start maximized?gnome-terminal --maximizedoesn't work.gnome-terminal --full-screen makes it fullscreen and I don't need that.

View 7 Replies View Related

Debian Installation :: Desktop Does Not Start?

Apr 19, 2010

I have just installed Debian Sqeeze with xfce4 desktop and when i boot, i just get a terminal prompt ... and so i have to manually type startxfce to start the desktop ...

How do i do this automatically at boot?

View 2 Replies View Related

OpenSUSE :: Error:make: *** /lib/modules/2.6.31.5-0.1-desktop/build: No Such File Or Directory?

Oct 6, 2010

I've downloaded a linux driver for my wireless card (Realtek 8191SE), and whenever I try to make it it gives me the following error:make: *** /lib/modules/2.6.31.5-0.1-desktop/build: No such file or directory. Stop.
make: *** [all] Error 2I have installed make, pattern devel_basis devel_C_C++, kernel-source, linux-kernel-headers, gcc43, etc.I also tried linking them:# ln -s /usr/src/kernel-headers-2.6.31.5-0.1-desktop /lib/modules/2.6.31.5-0.1-desktop/buildln: creating symbolic link `./build': File existslinux-ynct:/lib/modules # ls2.6.31.14-0.1-debug 2.6.31.14-0.1-desktop 2.6.31.5-0.1-desktop2.6.31.14-0.1-default 2.6.31.14-0.1-xen

View 9 Replies View Related

Software :: Make OpenProj Use The Desktop File Open/save Dialogs

May 6, 2010

I'm just starting with OpenProj and wonder if anyone has any tips to speed my progress.

I've netsearched for introductions, tutorials, HOWTOs etc. and found very little.

Importantly I'd like to change the default font used on the display, to make the characters larger and bolder; the default is a strain to read.

Less importantly is there any way to make OpenProj use the desktop file open/save dialogs, rather than its own?

View 1 Replies View Related

Debian Configuration :: Make Vino Start At Boot Time?

Jan 5, 2010

so as my title implies I like to login to my headless debian box after it reboots yet havent found any info on that. Can someone please tell me of script which I suppose would be used to make vino start as a process right after boot

View 2 Replies View Related

Debian Configuration :: How To Make Vino Start At Boot Time

Mar 3, 2010

I like to login to my headless debian box after it reboots yet havent found any info on that. Can someone please tell me of script which I suppose would be used to make vino start as a process right after boot.

View 3 Replies View Related

Debian :: Automatic Login To Desktop After Start Of PC

Nov 17, 2015

How to enable automatic logon to the desktop Debian after turning on the computer?

View 2 Replies View Related

Debian :: How To Make Shortcut On Desktop From Applications Menu

Jul 9, 2015

How can i make shortcut on desktop from Applications menu? If i right click an application from Applications menu, the application launches, Can't make shortcut.

View 5 Replies View Related

Debian :: Make A Script Run When X Is Started To Set The Desktop Background Using Xloadimage

May 27, 2010

I'm trying to make a script run when x is started (to set the desktop background using xloadimage, run xcompmgr, and make one change with xmodmap [I suspect there is a better way to change this]). The wiki says (on the subject of .xinitrc) "If you want the script to be called when ever an X Session is started, then you should instead use ~/.xsession" I had no default ~/.xsession file. I believed that it would be checked for, so created a minimal file

#!/bin/sh
touch /home/user/this-script-ran
exec /usr/bin/xmonad
and gave it executable permissions (744).
"allow-user-xsession" is present in /etc/X11/Xsession.options.
However, ~/.xsession does not run when x starts.

1) Should I be using something other than .xsession for this?

2) If not, how do I enable it? Or am I making some error that prevents it from running?

View 5 Replies View Related

Debian Configuration :: How To Make Desktop Full Screen In Vmware

Feb 6, 2016

How to make debian desktop full screen in vmware? I am using vmware workstation ...

View 1 Replies View Related

Debian Multimedia :: How To Make Desktop Application Update Immediately

Jul 5, 2015

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:

Code: Select all#!/bin/bash

LAUNCHER=/home/alessandro/.config/xfce4/panel/launcher-29/14360293821.desktop
PLAY_ICON=media-playback-start-symbolic
PAUSE_ICON=media-playback-pause-symbolic

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

View 1 Replies View Related

Debian Configuration :: How To Start Script After User Logs Into Desktop

Jun 22, 2015

So the question is simple what I need is to run file.sh after user logs into desktop LXDE.

Ive been trying whole day tried to put my file.sh into /etc/init.d and ever created symbolic link to /etc/rc4.d etc..

BUT after I log into desktop nothing happens?

I am coming from ubntu there it was easy just add that script into startup applications.

View 14 Replies View Related

Debian :: Execute "caGrid-installer-1.3.jar" File - Can't Load Library

Mar 11, 2011

I am trying to execute "caGrid-installer-1.3.jar" file. But its giving me the following error.

Exception in thread "main" java.lang.UnsatisfiedLinkError: Can't load library: /usr/lib/jvm/java-6-openjdk/jre/lib/i386/xawt/libmawt.so
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1649)
at java.lang.Runtime.load0(Runtime.java:787)

[code].....

View 1 Replies View Related

Debian Configuration :: Configure Vino Remote Desktop To Start At Boot?

Jan 29, 2011

Kernel: Linux 2.6.26-2-686 (i686)
Compiled: #1 SMP Thu Nov 25 01:53:57 UTC 2010
C Library: GNU C Library version 2.7 (stable)
Distribution: Debian GNU/Linux 5.0.8
Desktop Environment: GNOME 2.20

Gnome comes with Vino Remote Desktop as part of it's package. I want Vino to run at boot so that I can login remotely.I am using VNC-4.1.3 for remote viewing. However, I can only view remotely once I have logged-in locally

View 5 Replies View Related

Debian :: Gnome-volume-manager.desktop - Unable To Start Application

Apr 25, 2011

I've done an Upgrade from Lenny to Squeeze and I get these warning messages in syslog:

Code:

But gnome-volume-manager is not installed:

Code:

Maybe this is a reason, my Gnome Desktop from time to time is completely freezing.

View 5 Replies View Related

Debian :: Failed To Execute Child Process "gnome-screenshot" (No Such File Or Directory)?

May 11, 2011

When I press )print screen button ) it says ....here was an error running gnome-screenshot:Failed to execute child process "gnome-screenshot" (No such file or directory)

View 4 Replies View Related

Server :: Execute Scripts At The Start-up?

Mar 10, 2010

I had some command lines that I want to execute them with the server goes up. how can I do that?

View 2 Replies View Related

Slackware :: How To Execute Pppoe Start On Startup

May 4, 2010

how can I execute pppoe-start on Slackware during startup or reboot? What is the proper way? Should I add a script on rc.d directory?

View 2 Replies View Related

General :: Make And Sh Commands - Make A File Called File Roller For Ubuntu 9.10

Apr 6, 2010

I want to make a file called file roller for Ubuntu 9.10. The folder has a file called install.sh and some others that are make.

I figure first I need to make a file and then run install.sh to install. But I don't know how to do this.

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved