So say you bring your snazzy little AAO to a meeting, connect it up to a projector but then you switch modes and the unsightly desktop icons are off to one side. Not a good first impression. Or say you like to use your AAO at home with a much bigger screen (like me, I use a 1280x1024)
Here's a quick tip (my examples are based on a 1280x1024 resolution, but it shouldn't be hard to figure out something for other resolutions)
note: this howto assumes you have configured your Xorg.conf file to accurately reflect the desired resolution of the external monitor.
Step 1
The file you want to modify is /etc/xdg/xfce4/desktop/format.txt. To do that, open a terminal and type
Enter a password if it asks you for one.
It's a simple xml file, with two resolutions already set up by default: 1024x600 and 1280x800 - both widescreen. Tsk tsk. The good thing is all resolutions are independent of each other's settings, so you can have as many as you want in the same text file for as many different possibilities as you may need
Step 2
Create a new section with your desired resolution. In my case it's 1280x1024 so at the top of the format.txt file I write:
Then cut and paste the following section (it has some bugfixes, so it's best to use the one in this post rather than copying the ones inside the file.) The lines in bold need to be adjusted for your desired resolution, you can actually leave the rest as is:
Note: window_back_position_y= and table_padding_top= should be the same for the sake of consistency.
Step 3
Save it, and reboot.
Yes, if you don't want to reboot you could always kill "xfdesktop2" from the Ctrl+Alt+Del menu, and then start it again using Alt+F2 - but that doesn't always work well.
Either way, you're done! Enjoy
Here's a quick tip (my examples are based on a 1280x1024 resolution, but it shouldn't be hard to figure out something for other resolutions)
note: this howto assumes you have configured your Xorg.conf file to accurately reflect the desired resolution of the external monitor.
Step 1
The file you want to modify is /etc/xdg/xfce4/desktop/format.txt. To do that, open a terminal and type
Code:
sudo mousepad /etc/xdg/xfce4/desktop/format.txt
Enter a password if it asks you for one.
It's a simple xml file, with two resolutions already set up by default: 1024x600 and 1280x800 - both widescreen. Tsk tsk. The good thing is all resolutions are independent of each other's settings, so you can have as many as you want in the same text file for as many different possibilities as you may need
Step 2
Create a new section with your desired resolution. In my case it's 1280x1024 so at the top of the format.txt file I write:
Code:
[1280x1024]
Then cut and paste the following section (it has some bugfixes, so it's best to use the one in this post rather than copying the ones inside the file.) The lines in bold need to be adjusted for your desired resolution, you can actually leave the rest as is:
#tag_format
tag_format_border_x=0
tag_format_border_y=0
tag_format_style=italic
tag_format_text_width_in_chars=10
tag_format_font_size=18
tag_format_font_type="Liberation Sans Bold Italic"
tag_format_title_offset_x=20
tag_format_icon_size=10
tag_format_orient=v
tag_format_switch=icon_first
#iconview_format
iconview_format_rows=2
iconview_format_columns=4
iconview_format_font_size=11
iconview_format_icon_size=86
iconview_format_arrow_size=60
iconview_format_font_type=Sans
iconview_format_margin_x_r=0
iconview_format_margin_x_l=100
iconview_format_margin_y=30
iconview_format_row_spacing=2
iconview_format_spacing=2
iconview_format_column_spacing= 10
iconview_format_arc_offset=0
iconview_format_cell_background_color_normal="#5f6d38"
iconview_format_cell_background_color_selected="#1111ff"
iconview_format_text_foreground_color_normal="#ffffff"
iconview_format_text_foreground_color_selected="#000000"
iconview_format_alpha_normal=0
iconview_format_alpha_selected=0
iconview_format_line_width=1.5
iconview_format_line_alpha_normal=0
iconview_format_line_alpha_selected=0
iconview_format_cell_background_line_color_normal="#667788"
iconview_format_cell_background_line_color_selected="#00ffff"
iconview_format_icon_enlarge_factor=1.1
iconview_format_single_click=1
#table
table_padding_top=282
table_padding_bottom=0
table_padding_left=34
table_padding_right=0
resolution_x=1280
resolution_y=1024
home_screen_iconview_width=600
home_screen_iconview_height=230
iconview_format_border_width=0
table_row_spacing=8
table_col_spacing=8
home_window_title_width=600
home_window_title_height=45
setting_help_padding_top = 30
setting_help_padding_bottom = 0
setting_help_back_color = "#000000"
setting_help_back_alpha =50
setting_help_format_font_type="Sans 14"
setting_help_format_font_color="#3c5162"
#backwindow
back_window_tag_width_per_tag=1208
back_window_tag_height_per_tag=50
iconview_back_format_x=1208
iconview_back_format_y=420
iconview_back_format_rows=3
iconview_back_format_columns=7
iconview_back_format_margin_x_r=30
iconview_back_format_margin_x_l=5
iconview_back_format_margin_y=30
iconview_back_format_row_spacing=20
iconview_back_format_spacing=2
iconview_back_format_column_spacing= 20
iconview_back_format_arc_offset=0
window_back_size_x=1208
window_back_size_y=470
window_back_position_x=35
window_back_position_y=282
window_back_title_x=80
#setting_position_x=100
#setting_size_x=90
#setting_size_y=40
Note: window_back_position_y= and table_padding_top= should be the same for the sake of consistency.
Step 3
Save it, and reboot.
Yes, if you don't want to reboot you could always kill "xfdesktop2" from the Ctrl+Alt+Del menu, and then start it again using Alt+F2 - but that doesn't always work well.
Either way, you're done! Enjoy