Spot gold was up 0.1 percent at $1,267.74 an ounce at 1005 GMT, with US gold futures for June delivery down 0.1 percent at $1,267.30.
A 0.1 percent retreat in the dollar index underpinned prices, but moves were muted, with traders in the United States, London and China all out for national holidays.
"Potential for prices is limited right now, but with the news from the G7 meeting and the weaker dollar, the gold price has gone up," said LBBW analyst Thorsten Proettel.
Under pressure from Group of Seven allies, Trump on Saturday backed a pledge to fight protectionism but refused to endorse a global accord on climate change, saying he needed more time to decide.
After a nine-day overseas tour, the president returned to Washington to face more questions about alleged communications between his son-in-law Jared Kushner and Russia's ambassador to Washington.
The market is also awaiting next month's Federal Open Market Committee meeting for any clues on the US Federal Reserve's stance on interest rate increases.
Gold is highly sensitive to rising US rates, which increase the opportunity cost of holding non-yielding bullion while boosting the dollar, in which it is priced.
"Market participants will presumably be casting an eye over the labour market report in the US this week," Commerzbank said in a note. "If the data turn out to be positive, there is probably nothing to prevent the (Fed) implementing its next rate hike in mid-June."
Hedge funds and other money managers increased their net long position in COMEX gold for the first time in four weeks in the week to May 23, US Commodity Futures Trading Commission data showed.
Concerns over Italy's banks and Britain's national election campaign dominated European financial markets on Monday, prodding stock markets lower in muted trade.