Linux

46 readers
2 users here now

founded 2 years ago
226
 
 

For those making use of the current Linux 6.3 stable series, Linux 6.3.9 is out today and it's particularly important if you make use of the open-source NVIDIA 'Nouveau' kernel graphics driver.

227
 
 

Distrobox is the open-source project for quickly and easily firing up other Linux distributions as containers on your desktop

228
 
 

And it only took 21 hours. Linux 6.4 has a bug where it hangs on boot, but probably only 1 in 1000 boots (and rarer if using Intel hardware for some reason). It’s surprising to me that no one…

229
 
 

This is the BETA release for Linux Mint 21.2 “Victoria” Cinnamon Edition.

230
 
 

Copied from Reddit because r/linux is still down. Reddit post: http://webcache.googleusercontent.com/search?q=cache:https://www.reddit.com/r/linux/comments/13nwha5/how_to_import_ringtones_from_linux_to_iphone_ios/
Required Software: libimobiledevice, ifuse, libplist, ffmpeg
Caveats: The ringtone will play from beginning to end without any time limit and will NOT loop. This is probably fixable but I don't know how. A restart is required to use new ringtone.

This guide describes how to covert a sound file and import it as a ringtone for iOS devices.

  1. Cut your sound file to the desired length. You can use any software for this.
  2. Convert your sound file to AAC and change its extension.
ffmpeg -i soundfile.extension soundfile.m4a
mv soundfile.m4a soundfile.m4r

  1. Connect your iOS device and pair it if necessary. This is usually done via a prompt on your iOS device.
  2. Mount your iOS device.
mkdir ~/ios
ifuse ~/ios

  1. Copy your ringtone to your iOS device.
cp soundfile.m4r ~/ios/iTunes_Control/Ringtones/

  1. Backup ~/ios/iTunes_Control/iTunes/Ringtones.plist and then convert it to plain text. If you don't have the file for some reason, there is an example in step 7.
cp ~/ios/iTunes_Control/iTunes/Ringtones.plist Ringtones.plist.bak
plistutil -i ~/ios/iTunes_Control/iTunes/Ringtones.plist -o Ringtones-text.plist

  1. Add your new ringtone to the plist file. This structure should be followed beneath 2 <dict> entries:
    <key>soundfile.m4r</key>
		<dict>
			<key>Name</key>
			<string>"Song Name Here"</string>
			<key>GUID</key>
			<string>"16 digit string, set to anything"</string>
			<key>Total Time</key>
			<integer>"Has no effect afaik"</integer>
			<key>PID</key>
			<integer>"A random long number"</integer>
			<key>Protected Content</key>
			<false/>
		</dict>

Here is an example with 3 manually added tracks:

    <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>Ringtones</key>
	<dict>
		<key>RDGO.m4r</key>
		<dict>
			<key>Name</key>
			<string>bodies</string>
			<key>GUID</key>
			<string>B9753FD82AE718E2</string>
			<key>Total Time</key>
			<integer>28756</integer>
			<key>PID</key>
			<integer>4918251813855823051</integer>
			<key>Protected Content</key>
			<false/>
		</dict>
		<key>RDGO2.m4r</key>
		<dict>
			<key>Name</key>
			<string>Drowning Pool - Bodies (Full Song)</string>
			<key>GUID</key>
			<string>B9753FD82AE718E3</string>
			<key>Total Time</key>
			<integer>28756</integer>
			<key>PID</key>
			<integer>4918251813855823052</integer>
			<key>Protected Content</key>
			<false/>
		</dict>
		<key>letter.m4r</key>
		<dict>
			<key>Name</key>
			<string>Letter</string>
			<key>GUID</key>
			<string>B9753FD82AE718E4</string>
			<key>Total Time</key>
			<integer>2000</integer>
			<key>PID</key>
			<integer>4918251813855823053</integer>
			<key>Protected Content</key>
			<false/>
		</dict>
	</dict>
</dict>
</plist>

  1. Save file and convert it back to binary. This will overwrite the file in your iOS device.
plistutil -i Ringtones-text.plist -o ~/ios/iTunes_Control/iTunes/Ringtones.plist -f binary

At this point, you feel victorious. You have edited an iOS system file and copied your ringtone. It appears in your library and plays beautifully. You excitedly ask someone to call you and... The default ringtone plays. Because there is one last step.

  1. Reboot your iOS device. Hope this helps, please reply back if it works or doesn't work for you.
231
 
 

Void Linux's average rating soars high on DistroWatch, making it a must-try for advanced users. Learn why it is winning hearts.

232
 
 

Today I talk about the future of Xorg and Wayland.

233
 
 

Actually, the better question is: When will they replace most desktop Linux programs?

234
 
 

Valve released a new stable Steam Client update that that enables hardware acceleration on Linux and brings an overhauled user interface.

235
 
 

Here's why distro hopping can help find the perfect match between the user and the operating system.

236
 
 

If you're looking to enhance the quality of sound you hear on the Linux operating system, EasyEffects is the simplest way to go.

237
 
 

Ok, I'm a bit of a noob when it comes to hardware stuff. I have a Thinkpad T490 with the 1920x1080 non-touch screen. My complaint is that I ended up with the model with only 45% NTSC. I would like to upgrade to something with 72%.

AFAICT, my screen's model # is N140HCA-EAC. 30-pin connector. Is this - https://www.laptopscreen.com/English/model/Lenovo/FRU~01YN154/ compatible?

I already know there's no blocks or whatever in the bios preventing an upgrade, just want to make sure I buy the right thing. Would rather not ship from China so NA sellers are good.

(btw I obtained the model of what I have now by running "edid-decode </sys/class/drm/card0-eDP-1/edid", I'm on Linux Mint 20.1)

238
 
 

What's your favorite Productivity app for Linux?

I'm personally a big fan of Joplin. Even though it's something I tend to go for periods without using, I always come back to it and remember why I started keeping notes with it in the first place: it's a great way to keep my to do lists and thoughts organized, it can be backed up and sync'd easily, it can export to a number of formats, and it's very intuitive (if you're using the desktop app rather than the terminal based one, it has a lovely interface which is Markdown compatible).

#linux

239
 
 

I've had a 3080 GPU on my main PC for a few years and haven't been able to use nightlight in linux since then (Which is why I've been on Windows 11 thus far). Before I spend money on another GPU, do the Intel or AMD GPUs support nightlight mode? I'm referring to this

#linux

240
 
 

At this point you’ve heard a lot about Plasma 6, and each of my weekly “This week in KDE” brings news of a few new features, UI changes, or bugfixes that are only in Plasma 6. But…

241
 
 

NixOS is a Linux distribution that is completely and entirely reproducible. Everything you use is defined in a configuration file that is used to build your system. All the services, packages, options, partition layout, hardware, everything, is in this config file.

If you're a developer, your eyes might be sparkling right now: that's right, one config file to exactly replicate your entire development environment.

You also can never get into dependency hell. Packages all declare exactly which versions of each library they need, and these versions are all installed side by side and kept, not erased by newer versions.

NixOS sounds super cool. Has anyone tried it out on a RaspberryPi for a home server? I might try replacing Ubuntu as my home server.

242
 
 

One hundred weeks ago, on Friday 16 July 2021, “This Week in GNOME” was launched - the first post was "#1 Scrolling in the Dark".

Since then TWIG has grown into a vibrant community, and has become a weekly ritual for many people—both for developers who share their work, and for curious readers who want to follow the development of GNOME.

243
 
 

I'm very beginner of Linux server admin. Few days ago I set up snap version of nextcloud server app on my own Ubuntu VPS server, and I found that Snap system might be focused to build original file system hierarchy in /snap directory, and I felt a little weird about that.

For example, Linux file system hierarchy is defined to set server app config into /etc/app/conf.d or so.
But snap version app tend to set it into /snap/app/current/app/config or so.
It sounds so complicated for me.

So I want to know about how Snap is thought by others. I'm happy if you might tell me something here.

244
 
 

Trying to get this magazine going, and could use some help. Thanks!

I used Arch once, btw

245
 
 

He's short and fat, but he's not supposed to be that short and fat. The image's x-y ratio was altered.

246
 
 

Finally have a linux laptop and it's just great. It just works™

247
 
 

Are there good guides for configuring linux as a router?

#linux

248
 
 

Initial tiling designs + rebasing the widget library = a group of happy System76 engineers.

249
 
 

what do you use to edit a simple screenshot on linux? I don't need Gimp or Krita or Pinta. I just want to add a big red box or arrow to a screenshot I took.

#linux

250
 
 

Yo #linux. I was thinking of switching to Linux sometime soon, but I have to use #Adobe products for my job. How would you use Adobe software on Linux? Do you use a Windows VM or is there a special program to use Adobe products on Linux? If so, how easy is it to set up?

view more: ‹ prev next ›