LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices

Reply
 
Search this Thread
Old 01-01-2008, 03:57 PM   #1
geeyathink
Member
 
Registered: Apr 2006
Distribution: Mandy 2007, Kubuntu
Posts: 56

Rep: Reputation: 15
want app to always start in same place and size on desktop


What is a good way to make an app that doesn't seem to have "built in to the GUI type settings" for saving the view profile, to open in the same place and size every time it starts?

I am working with knewsticker.

This is all I have tried so far:

Set the geometry by starting it from a command line like this:
root@]# appletproxy -geometry 45x100+4+0 knewsticker.desktop
and this:
root@]# appletproxy KDE-geometry 45x100+4+0 knewsticker.desktop

I was not sure from reading the appletproxy -help which is correct (if either)

The first command seems to ignore the geometry option and starts knewsticker in the usual places and size.
The second command does this:

kbuildsycoca running...
DCOP Cleaning up dead connections.
kicker: WARNING: KLocale: trying to look up "" in catalog. Fix the program
kicker: WARNING: cannot open applet: because of Library files for ".la" not found in paths.
kicker: ERROR: Failed to load applet:
[root@]# ICE default IO error handler doing an exit(), pid = 8836, errno = 0

I have read that some desktops wont allow an app to be passed options like this anyway, but that was all the had to say about that.

I got several hits for variations of "Library files for ".la" not found in paths" but they were either vague
(.la files are a part of GNU libtools) or specific about programs other than appletproxy and .desktop stuff.

From what else I have been reading I expect one of the responces to this will be to "just make sure the library files for ".la" are in my path.
but I am having a hard time figuring out how I would go about doing that if indeed that is what I need to do.

Please help me figure this out if possible.

Thanks
 
Old 01-02-2008, 11:27 AM   #2
berbae
Member
 
Registered: Jul 2005
Location: France
Distribution: Arch Linux
Posts: 540

Rep: Reputation: Disabled
Quote:
What is a good way to make an app ..., to open in the same place and size every time it starts?
In KDE I propose that method :
open the app
give the window the size and the position you want on the screen
right-click the title bar of the window and choose Advanced/Special Window Settings...
enter the Geometry tab
check Position and choose Apply Initially
check Size and choose Apply Initially
click the OK button.

That should open the app at the same place and with the same size the next time you open it.
I use that and it works for me like that.

Greetings.
 
Old 01-02-2008, 07:02 PM   #3
geeyathink
Member
 
Registered: Apr 2006
Distribution: Mandy 2007, Kubuntu
Posts: 56

Original Poster
Rep: Reputation: 15
Thank you extremely,

How cool is that extremly good config options right there for the asking.

For obviously no reason I assumed the only gui place that would have settings would be in the drop down menu.

Once again I feel like such a tard. Oh well, mabe this post will help future searchers that are as clueless as me.

Linux and berbae Rock!

Thanks again
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Need a place to start....... digitalmastermind Linux - Networking 1 11-12-2007 04:14 PM
how to place a desktop icon ashmita04 Linux - General 2 07-12-2007 09:15 PM
Best place to start? SteveC33603 Linux - Newbie 2 01-06-2006 09:16 PM
The best place to start. Markness Linux - Newbie 12 04-27-2005 01:30 PM
How do you start an app on a specific virtual desktop? Nightblade_oz Linux - General 4 04-23-2005 05:19 AM


All times are GMT -5. The time now is 05:04 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration