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


ADVERTISEMENT

OpenSUSE Install :: Network Started In The Background?

Apr 7, 2011

to start the network in the background, would checking the box B of the service network in yast? What is the utility network-remotefs service?

View 1 Replies View Related

Debian Multimedia :: Desktop Background Lost After Sleep - Random Color Blocks

May 21, 2015

Just upgraded to Debian Jessie. I'm having a problem with the desktop and lockscreen that I never had before in Debian 7. Whenever I open the laptop to wake it up, there is very bad discoloration of the background. (screenshot : [URL] ..... )

Hardware is an IBM Lenovo T410 with no customizations. The graphics are factory nvidia. 3D acceleration works flawlessly, and I have no other issues except this background problem.

------------------------
HARDWARE

$ nvidia-detect
Detected NVIDIA GPUs:
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GT218M [NVS 3100M] [10de:0a6c] (rev a2)
Your card is supported by the default drivers and legacy driver series 304.

View 6 Replies View Related

General :: Fedora 12 Installation / Change The Installation Background Not Desktop Background?

Feb 16, 2010

I want to change installation background image in fedora 12.

How to change the installation background not desktop background.

View 2 Replies View Related

SUSE / Novell :: OpenSuse 11.1 KDE Different Desktop Background Image For Each Of The 4 Desktop?

Jul 23, 2009

Up until KDE4 I could select a different image for each of the 4 virtual desktops. Now I tried Suse11.1 KDE and it seems like there is no such option. I can change the background image allright, but all 4 desktops have the SAME image.

View 4 Replies View Related

Ubuntu :: Desktop Locks Up When Try To Change Desktop Background?

Jan 4, 2011

After installing gnome-color-chooser for Ubuntu 10.10, I followed all the steps to enable transparent gnome menu. When I logged out and logged back into my user, the gnome panel menu was transparent as It should be however, the desktop background changed color and I cannot change the desktop by right clicking the desktop. If I do right click and try to, the entire desktop and all programs freeze. The mouse works but that is it. Whenever I try to open gnome-color-chooser, I get this error message : ERROR Could not open or create file /home/User/.gtkrc-2.0-gnome-color-chooser. I have uninstalled and reinstalled both gnome color chooser and gnome panel with no luck.

View 1 Replies View Related

Ubuntu :: Server Or Desktop Getting Started?

Sep 19, 2010

Is the Server or Desktop version of Ubuntu a better choice for a home file (and possibly a media) server?

To explain a little, I currently have a WinXP Pro pc that provides file storage for the users in our home (spouse, kids, self). On this pc I have a windows program ACRONIS running to perform automatic backup of every ones stuff. This has saved me many hours of headaches when someone has a HDD or PC failure. Everyone in the household directs all of their downloading activities to a download partition where I have an anti-virus & anti-malware program monitoring all new entries. This too seems to have been a good decision over the years. I'm trying to sort out which version of Ubuntu will be the most logical entry point.

I expect the questions I am seeking insight for are the normal getting started stuff. Using several different search criteria, I did not hit upon existing threads for the topic If there is a more appropriate forum / sub-forum, please let me know and I will take this question (thread) there.

View 2 Replies View Related

OpenSUSE :: Display A Different Desktop Background For Each Desktop?

May 23, 2011

How do I get it to display a different desktop background for each desktop? I'm sure I saw this option somewhere, but I can't find it again.

Secondly, it defaults with 4 desktops in a 2X2 grid layout. I changed it to 2, then back to 4 and now it has 4 desktops in a linear layout (1x4). How can I change it back to 2X2?

View 5 Replies View Related

Programming :: Make System Call From An Automatically Started Daemon?

Apr 2, 2011

i've written small tool in C which makes measurements on my router (OpenWrt White Russian).

It is working as a deamon. If the tool is started manually, everything works fine. If it is started per script on startup, the following system call doesn't work :

Code: sprintf(command,"/bin/cat /root/%s%s | /usr/bin/ssh -p2222 user(at)host -i /root/.ssh/id_rsa "/bin/cat >> result/%s%s"", apmac, source, apmac, dest);

rc = system (command); the returned rc in this case is 256.

first i thought it is a problems with the user rights for the tool, so i have added +s to it. but that didn't help. as i said, when the daemon is started by hand, the system call works fine.

View 1 Replies View Related

OpenSUSE :: Plasma Desktop Is Loaded Automatically After KDE 3.5 Has Started?

Aug 22, 2010

I just updated both my KDE 3.5.10 and KDE 4.5 today (OpenSuse 1.11). The problem that I have now is that the Plasma Desktop is loaded automatically after KDE 3.5 has started. So, depending on where I click or what I do, plasma and kdesktop fight for the control of my desktop.

I searched in every corners of my KDE 3.5 --and a bit in KDE 4 since somebody forced kdm4 on me-- but I haven't found who or what starts "plasma-desktop". Definitively not me! I can kill it safely but that's very irritating.

View 3 Replies View Related

General :: Control In KDE On Which Desktop An Application Started From Commandline Will Appear?

Jul 13, 2010

I am using a script to start an application (with GUI, i.e. windows) in KDE. However, the window will always appear on the currently used desktop. I would like to define which desktop the application will appear to be able to just run in invisible in the background. How can I do this for KDE?

View 1 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 :: *.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 View Related

General :: Make The Start Window Located In The Center Of Screen When Ther Are Started?

Jan 7, 2010

I'd like to make all window of of all applications are located in the center of screen when they are started every single time, is there any way to do that ? of course,what i am saying that they are GUI apps, and when they are not started as maximum size window

View 2 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

Ubuntu :: No Sound In KDE When Started By Startx While Working Fine When Started By Kdm/gdm

Dec 14, 2010

I recently installed KDE in my ubuntu 10.10. To access KDE, I want to use
startx /usr/bin/startkdeBut using it disables sound in KDE (Sound is working fine in GNOME). It doesn't sound for anything like login sound, totem, mplayer or any other playerBut when I press Alt+Ctrl+F1 to change to virtual console, the playback resumes from where it was in time and when coming back Alt+Ctrl+F7 and the time in totem (or any other player) doesn't move. While log out also it doesn't play logout sound and doesn't logout, so I have to press Ctrl+Alt+F1 so that logout sound play then it exits.When starting KDE by kdm or gdm, the sound works normally. But I don't want to login again using kdm or gdm and not to use root user to start kdm or gdm.I don't know what is the difference between when KDE is started by startx or by kdm/gdm where the same user login in kdm/gdm as that for startx

View 2 Replies View Related

Ubuntu :: Make Evolution Run In Background?

Feb 2, 2010

How do I make Evolution run in the background like Pidgin and Skype? I've looked on Google and all around in preferences, but I can't find anything to make it run in the background!

View 4 Replies View Related

Ubuntu :: Make A Changeable Background In My System?

Sep 1, 2010

How can I make a changeable background in my ubuntu?

View 5 Replies View Related

OpenSUSE :: Can't Set Any Jpg/png As Desktop Background?

Feb 11, 2010

I've had this problem for a long time (since I first installed 11.2) but I hoped KDE SC 4.4 would fix it for me. Since it didn't, I decided to make a thread about it. I have a really weird problem ─ I can only set svg graphics as desktop backgrounds. I can't put any kind of png/jpg (haven't tried others) picture as a wallpaper. All I get is a black background. The weather backgrounds etc. work perfectly fine. I can create a svgz file in Inkscape and insert a png image in it but that's kind of a stupid workaround for a problem. Has anyone encountered a problem like this?

View 5 Replies View Related

Ubuntu :: Desktop Background Dim?

Jun 20, 2011

AAO D255, all updates, Ununtu 11.04My desktop background and folder icons are dim in comparison to the slider and any program I open. I also notice that when I run a program that installs anything that screen dims (gets like this grey opacity I guess) after a period of time. I am plugged into the wall so the laptop is NOT running on battery.Is there some setting I need to tweak after this latest install? This did NOT occur prior to samesaid.

View 3 Replies View Related

General :: Mac OS X Terminal: Make The Background Black, Not White?

Jan 25, 2010

All I want to do is make the background for Mac OS X's Terminal Black so that I can run a Perl script with Terminal and have the background black for that.How would I do this for Mac OS X?How would I do this for an average Linux?

View 3 Replies View Related

Ubuntu :: Make A Background Set Like The Space Pictures Set In Karmic?

Jan 22, 2010

I like the background set in Karmic with the space pictures--it rotates the background every so often. How do I make a set like that with my own pictures?

View 2 Replies View Related

Ubuntu :: Make Background Image In Terminal Non-transparent

Jun 6, 2011

Does anyone know how to set the background of a terminal to be an image, and not have it slightly transparent? I've set an image as my Terminal background, but now when I open a terminal over other applications I can see those applications through my Terminal background. Is there any way to stop this from happening?

View 9 Replies View Related

OpenSUSE :: Kde 4.4.4 Desktop Background Is Floating?

Jan 31, 2011

I found that my backgrounds (6 virtual dekstops) can float around if you click on them(grab) and move mouse cursor around. This is something ugly to me and I would like to request your to make my backgrounds fixed and stable.

View 8 Replies View Related

Ubuntu :: Change Desktop Background?

Mar 30, 2010

I am trying to change the Desktop Background on my Ubuntu 9.1 PC and am getting nothing but a black baxckground. I have tried the right click --> change desktop background --> and then double clicking on the desired background image but it does not work

View 3 Replies View Related

Ubuntu :: Login And All See Is The Desktop Background?

Apr 2, 2010

I just restarted my computer, tried to login and all i see is the blue Kubuntu wallpaper, the desktop items never load, i can run terminal by pressing ctrl+alt+f2 however? This happened before and i just reinstalled the kde, but i really need to find out why this keeps happening.

View 1 Replies View Related

Ubuntu :: Terminal As Desktop Background?

Jun 11, 2010

I would like to set a permanent, transparentmmovable terminal over my desktop background. I've tried various out-of-date guides to doing this, but all of them left me with a border around my window (I think Emerald caused this)letely mobile terminals. It is as if my terminal background has just been turned completely transparent. I would like to have it so that it looks like the one in this video:HTML Code:

View 4 Replies View Related

Ubuntu :: Slideshow For A Desktop Background

Sep 7, 2010

A good app that would allow me to select some pics (like of the Christchurch earthquake) that would make up a slideshow for a desktop background, instead of a static pic? I know Mac's have the ability to do this, and am curious as to what is available for Ubuntu.

View 2 Replies View Related

Ubuntu :: Where Is Desktop Background Directory

Mar 25, 2011

I want to add and remove pictures to use as a background ... I know I can do this by right clicking on the desktop but I am looking for the actual file where the backgrounds are stored.

View 9 Replies View Related







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