Use your journeys as a time for listening to the Quran, dhikr, or beneficial reading - instead of listening to music. Imagine your heart is at peace from the remembrance of Allah and that is better for you.
“The sound of the Qur’an brings tranquility to the soul and calms it and makes it dignified, while the sound of music intimidates it, disturbs it and arouses it.” Ibn Al-Qayyim (رحمه الله)