LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 06-14-2011, 11:53 PM   #1
Gerardo Zamudio
Member
 
Registered: Jan 2011
Distribution: Slackware
Posts: 30

Rep: Reputation: 10
Adding --geometry parameter to launcher not working Xfce 4.6.2 on Slackware 13.37


Hi everyone

I'm finally getting around to configuring my Xfce desktop environment and I'm having a lot of trouble having applications remember their last position. I did some Googling and found this is either not a supported feature or it depends on the application if they want to support it or not.

I'm trying to make my default terminal start in the center of the screen. I found that you can add the command line parameter
Code:
--geometry=70x20+30+200
for example and it should open at a 70x20 size in the 20+30 position. I added that to my panel launcher's command and ended up with
Code:
exo-open --launch TerminalEmulator --geometry=70x20+30+200
however the terminal isn't opening at all.

Does anyone have any suggestions? I looked at this thread but it's basically the same thing I'm already doing.

EDIT:
After further reading, I discovered the default launchers use your preferred applications so I just used replaced the launch command with the following and it worked perfectly:
Code:
terminal --geometry=70x20+30+200

Last edited by Gerardo Zamudio; 06-15-2011 at 12:00 AM. Reason: Issue resolved by myself
 
Old 06-15-2011, 12:17 PM   #2
Woodsman
Senior Member
 
Registered: Oct 2005
Distribution: Slackware 14.0/14.1
Posts: 3,482

Rep: Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533
You can add the same information to $HOME/.config/Terminal/terminalrc:

MiscDefaultGeometry=70x20+30+200
 
1 members found this post helpful.
Old 06-16-2011, 09:17 PM   #3
Gerardo Zamudio
Member
 
Registered: Jan 2011
Distribution: Slackware
Posts: 30

Original Poster
Rep: Reputation: 10
Quote:
Originally Posted by Woodsman View Post
You can add the same information to $HOME/.config/Terminal/terminalrc:

MiscDefaultGeometry=70x20+30+200
Does that work for any application? I read that it was only for X. I want Firefox to start in the center of the screen and Mousepad on the lower left hand side.
 
Old 06-17-2011, 12:58 AM   #4
Woodsman
Senior Member
 
Registered: Oct 2005
Distribution: Slackware 14.0/14.1
Posts: 3,482

Rep: Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533
Quote:
Does that work for any application?
My post was only for the Xfce Terminal.

Mousepad has its own configuration file in $HOME/.config.

If you want apps to open centered in Xfce, open the Xfce Settings Manager, select Window Manager Tweaks, then select the Placement tab.
 
Old 06-17-2011, 12:18 PM   #5
Gerardo Zamudio
Member
 
Registered: Jan 2011
Distribution: Slackware
Posts: 30

Original Poster
Rep: Reputation: 10
Quote:
Originally Posted by Woodsman View Post
My post was only for the Xfce Terminal.

Mousepad has its own configuration file in $HOME/.config.

If you want apps to open centered in Xfce, open the Xfce Settings Manager, select Window Manager Tweaks, then select the Placement tab.
I I have the option to center windows when opening already set in the Xfce Settings Manager but it's not working which is why I was looking for alternatives. I'll try out the Mousepad tip when I'm off work.

Thanks a lot for all your help!
 
Old 06-17-2011, 12:48 PM   #6
Woodsman
Senior Member
 
Registered: Oct 2005
Distribution: Slackware 14.0/14.1
Posts: 3,482

Rep: Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533
Quote:
I I have the option to center windows when opening already set in the Xfce Settings Manager but it's not working which is why I was looking for alternatives
I'm not a daily Xfce user, but in that same section I think the slider has to be moved all the way to the right (Large).
 
  


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
create app launcher and change icon on xfce desktop cccc Debian 3 02-03-2011 03:40 PM
xfce launcher & inherit env cmk77 Slackware 5 11-26-2009 02:19 AM
xfce launcher always maximised windows geokker Linux - General 0 12-19-2007 03:05 AM
XFCE 2 state launcher conundrum Galik Linux - Software 2 08-04-2004 08:12 PM
poweroff reboot launcher for xfce w/ KDM? r_jensen11 Linux - Software 2 01-17-2004 04:00 PM


All times are GMT -5. The time now is 12:41 AM.

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