Skip to content
This repository has been archived by the owner on Dec 12, 2023. It is now read-only.

Documentation꞉ 4. Advanced

Daniel Chýlek edited this page Jan 3, 2018 · 7 revisions

Advanced Options

Right-click anywhere, and select Options -> Advanced to get access to advanced options:

  • Open Program Folder
    • Opens the installation folder, usually C:\Program Files (x86)\TweetDuck
  • Open Data Folder
    • Opens the data storage folder, usually C:\Users\<user>\AppData\Local\TweetDuck
  • Restart the Program
    • Restarts TweetDuck
  • Restart with Arguments

  • Hardware Acceleration
    • Improves performance by utilizing the GPU, but causes visual glitches on some systems
  • Clear Cache
    • TweetDuck saves resources such as images and scripts into cache, so that it doesn't have to re-download them every time
    • Cache can use several hundred megabytes on your system drive, you can clear it manually or use the option to automatically clear it when it exceeds a set size (enabled by default, with a threshold of 250 MB)

Editing CSS

It is possible to customize the style of both the browser and the notification windows using CSS. To do that, right-click anywhere, select Options -> Advanced, and click Edit CSS. Browser styles are applied as you type, so you can see the result immediately.

You can use Chrome Dev Tools to see TweetDeck's sources and layout, which will help you create the custom CSS. Dev Tools can be enabled by downloading devtools_resources.pak, placing the file in the program folder, and restarting TweetDuck. Then right-click in the browser or notification window (you can use the example notification in Options -> Notifications), and select Open dev tools.

Command Line Arguments

  • -log enables logging of JavaScript console into a debug.txt file in the data folder
  • -datafolder <path> allows changing the storage folder for configuration and cache
    • If the path is a plain folder name, it will be located in AppData\Local\<path>
    • If the path is an absolute path to a folder, the storage folder will be set the exact path (any environment variables such as %LOCALAPPDATA% are automatically expanded)
    • This option is ignored for portable installs
  • -debugupdates allows the update system to detect pre-releases

You can apply these manually using a shortcut or command line, or go into Options -> Advanced and click Restart with Arguments to open a dialog where you can configure all of the listed arguments. The dialog also contains a field called shortcut target that you can use when creating a shortcut in Windows (right-click inside a folder or your desktop, go to New -> Shortcut, and paste the shortcut target there).

Note that clicking Restart the Program in the Options -> Advanced tab lets you quickly restart TweetDuck with the same arguments it was launched with.

Chromium Arguments

TweetDuck is based on Chromium Embedded Framework. To edit arguments used for the browser process, right-click anywhere, select Options -> Advanced, and click Edit CEF Arguments.

You can find a list of arguments on peter.sh but keep in mind that none of them are officially supported - some arguments will not have any effect, and some may break TweetDuck. If you want to experiment anyways, type the arguments exactly as you see them on the website separated by spaces or new lines.