Damn Small Linux (DSL) Forums
Welcome,
Guest
. Please
login
or
register
.
February 05, 2023, 04:52:03 AM
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
The new DSL forums are now open.
Stats
11609
Posts in
311
Topics by
291
Members
Latest Member:
mik3ca
Search:
Advanced search
Get
The Official Damn Small Linux Book
.
Great VPS hosting provided by
Tektonic
Damn Small Linux (DSL) Forums
Damn Small Linux
User Feedback
I have DSL installed on a Fujitsu Stylistic 1200. How to reset firefox size?
« previous
next »
Pages:
[
1
]
Author
Topic: I have DSL installed on a Fujitsu Stylistic 1200. How to reset firefox size? (Read 11797 times)
sunshine
Newbie
Posts: 2
I have DSL installed on a Fujitsu Stylistic 1200. How to reset firefox size?
«
on:
July 19, 2014, 04:53:24 AM »
I have it running well except Firefox comes up too big on the small screen on this tablet.
It is running at vga=786 using xfdev.
Any ideas?
Thanks
Logged
CNK
Sr. Member
Posts: 269
Re: I have DSL installed on a Fujitsu Stylistic 1200. How to reset firefox size?
«
Reply #1 on:
August 02, 2014, 02:54:59 AM »
If you do "firefox --help" and look under "Mozilla options", there are options "-height" and "-width" to specify window size.
So you just have to use the command "firefox -width <pixels> -height <pixels>" to start it with the size specified in pixels. The height should be a bit less than the screen resolution so that the window doesn't cover the task bar at the bottom.
You can put the full command in a menu item by editing "/home/dsl/.jwmrc", or make a script file with the command and create a link to it on the desktop.
Logged
TaroTaoYin
Newbie
Posts: 2
Re: I have DSL installed on a Fujitsu Stylistic 1200. How to reset firefox size?
«
Reply #2 on:
October 11, 2014, 08:23:23 AM »
Can you help me? I don't understand everything. Can you tell me about that?
Logged
CNK
Sr. Member
Posts: 269
Re: I have DSL installed on a Fujitsu Stylistic 1200. How to reset firefox size?
«
Reply #3 on:
October 11, 2014, 10:45:25 PM »
Well to try starting Firefox full size, open a terminal window and enter the "firefox -width <pixels> -height <pixels>" command with the <pixels> parts near the resolution you have set with your display.
When you work out the window size you want, type "sudo nano .jwmrc" to edit the file that controls the DSL menu. Find the line for Firefox, and after "/usr/local/bin/firefox", add the -width and -height commands with your desired pixel counts. Then save the file by pressing Ctrl-O and close the window (or press Ctrl-X to return to the command line).
If you want an icon on the desktop, make a script by entering the command you used in the terminal ("firefox -width <pixels> -height <pixels>") into a text editor and saving it as something like "firefox.sh" in the "/home/dsl" directory. Open a terminal window and type "sudo chmod a+rwx firefox.sh", then right click on any desktop icon and select "Create > New Program Icon" from the menu. Enter the path "/home/dsl/firefox.sh" in the window that opens and click create.
Now the icon should appear on the desktop and start Firefox at the size desired. You can delete the old icon (right click on it and select "delete"), and set the same name and picture for the new one by right clicking on it and selecting "Options" from the menu.
Logged
Pages:
[
1
]
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Damn Small Linux
-----------------------------
=> Site News
=> Release Candidates
=> User Feedback
=> DSL Tips and Tricks
=> USB booting
=> DSL Ideas and Suggestions
=> DSL Embedded
=> HD Install
=> Laptops
=> Other Help Topics
-----------------------------
MyDSL Extensions
-----------------------------
=> The Testing Area
=> Apps
=> Games
=> Gtk2
=> Multimedia
=> Net
=> System
=> Themes
=> Window Managers
=> Extension Development
-----------------------------
DSL Not
-----------------------------
=> DSL-N
-----------------------------
Non-DSL Topics
-----------------------------
=> water cooler